2008-04-14 16:39:46     uImage not found after make

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

2008-04-14 16:39:46     uImage not found after make

andy (UNITED STATES)

Message: 54212    Hi After make, uImage is not formed. I have linux.ext2, rootfs.ext2, vmImage, vmlinux. What should I do get uImage after make? thanks Andy

QuoteReplyEditDelete

 

 

2008-04-14 17:27:33     Re: uImage not found after make

Mike Frysinger (UNITED STATES)

Message: 54214    please describe your actual setup.  what version of toolchain/distribution are you using ?

 

post the output from `make image`

QuoteReplyEditDelete

 

 

2008-04-14 17:54:14     Re: uImage not found after make

andy (UNITED STATES)

Message: 54216    The toolchain and uclinux-dist are 2008R1_RC8.

This is the output of make image:

 

[root@localhost uClinux-dist-2008R1-RC8]# make image

[ -d /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/images ] || mkdir /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/images

make ARCH=blackfin   -C vendors image

make[1]: Entering directory `/home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/vendors'

make -C /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/vendors/Bluetechnix/CM-BF537E/. dir_v=/home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/vendors/Bluetechnix/CM-BF537E/. -f /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/vendors/vendors-common.mak image

make[2]: Entering directory `/home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/vendors/Bluetechnix/CM-BF537E'

mkdir -p /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/images

rm -rf /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/images/*

rm -rf /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/romfs/dev

cp /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/linux-2.6.x/linux /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/images/vmlinux

bfin-uclinux-strip -g /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/images/vmlinux

set -e ; \

        if [ -x /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/user/mtd-utils/build/mkfs.jffs2 ] && [ -n "" -o -n "" ]; then \

                /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/user/mtd-utils/build/mkfs.jffs2 -l -d /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/romfs -D device_table-min.txt -o /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/images/rootfs.jffs2; \

        fi

bfin-uclinux-genext2fs -m 0 -i 1024 -b 5120 -d /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/romfs -D device_table-min.txt /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/images/rootfs.ext2

bfin-uclinux-objcopy --add-section .romfs=/home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/images/rootfs.ext2 \

                --adjust-section-vma .romfs=$(bfin-uclinux-readelf -s /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/images/vmlinux | awk '$NF == "__end" {print "0x"$2}') --no-adjust-warnings \

                --set-section-flags .romfs=alloc,load,data /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/images/vmlinux /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/images/linux.ext2

BFD: /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/images/linux.ext2: warning: allocated section `.romfs' not in segment

cp /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/linux-2.6.x/arch/blackfin/boot/vmImage /home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/images/vmImage

make[2]: Leaving directory `/home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/vendors/Bluetechnix/CM-BF537E'

make[1]: Leaving directory `/home/arvind/uClinux-dist/uClinux-dist-2008R1-RC8/vendors'

 

[root@localhost uClinux-dist-2008R1-RC8]# cd images/

[root@localhost images]# ls

linux.ext2*  rootfs.ext2  vmImage  vmlinux*

QuoteReplyEditDelete

 

 

2008-04-14 17:59:43     Re: uImage not found after make

Mike Frysinger (UNITED STATES)

Message: 54217    most likely the Bluetechnix vendor files will need to be updated

Attachments

    Outcomes