[#3830] get warning when build cramfs images

Document created by Aaronwu Employee on Aug 28, 2013
Version 1Show Document
  • View in full screen mode

[#3830] get warning when build cramfs images

Submitted By: Yi Li

Open Date

2008-01-15 02:46:14     Close Date

2008-04-01 17:01:22

Priority:

Very Low     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

svn trunk

Category:

Make Errors     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

2008-01-07

App binary format:

N/A     

Summary: get warning when build cramfs images

Details:

 

bfin-linux-uclibc-mkcramfs -z -r -D device_table-min.txt /home/adam/workspace/local_svn/kernel_svn/linphone/uclinux-dist/romfs /home/adam/workspace/local_svn/kernel_svn/linphone/uclinux-dist/images/rootfs.cramfs

bfin-linux-uclibc-mkcramfs: invalid option -- r

bfin-linux-uclibc-objcopy --add-section .romfs=/home/adam/workspace/local_svn/kernel_svn/linphone/uclinux-dist/images/rootfs.cramfs \

                --adjust-section-vma .romfs=$(echo $(($(bfin-linux-uclibc-objdump -h /home/adam/workspace/local_svn/kernel_svn/linphone/uclinux-dist/images/vmlinux | awk '/.bss/ {print "0x"$4}') + $(bfin-linux-uclibc-objdump -h /home/adam/workspace/local_svn/kernel_svn/linphone/uclinux-dist/images/vmlinux | awk '/.bss/ {print "0x"$3}')))) --no-adjust-warnings \

                --set-section-flags .romfs=alloc,load,data /home/adam/workspace/local_svn/kernel_svn/linphone/uclinux-dist/images/vmlinux /home/adam/workspace/local_svn/kernel_svn/linphone/uclinux-dist/images/linux.cramfs

BFD: /home/adam/workspace/local_svn/kernel_svn/linphone/uclinux-dist/images/linux.cramfs: warning: allocated section `.romfs' not in segment

cp /home/adam/workspace/local_svn/kernel_svn/linphone/uclinux-dist/linux-2.6.x/arch/blackfin/boot/vmImage /home/adam/workspace/local_svn/kernel_svn/linphone/uclinux-dist/images/vmImage

 

Follow-ups

 

--- Mike Frysinger                                           2008-01-15 05:10:10

the "allocated section" warning has always been there and it shows up

for any rootfs that gets attached externally, not just cramfs (romfs/ext2 have

same thing).  it is non-fatal and can be ignored.

 

dont know what's up with the "invalid -r option" though

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes