2008-03-13 02:54:03     u-boot2007 compile problem with 2008R1toolchain

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

2008-03-13 02:54:03     u-boot2007 compile problem with 2008R1toolchain

new kernel (CHINA)

Message: 52428    I can compile the u-boot(2007R1) with 2008R1-toolchain in the suse host,but i can't compile the same u-boot(2007R1) with the same 2008R1-toolchain in ubuntu host.

 

   UNDEF_SYM=`bfin-uclinux-objdump -x lib_generic/libgeneric.a board/bf536-Emerald/libbf536-Emerald.a cpu/bf537/libbf537.a lib_blackfin/libblackfin.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/nand/libnand.a drivers/nand_legacy/libnand_legacy.a drivers/sk98lin/libsk98lin.a common/libcommon.a |sed  -n -e 's/.*\(___u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\

                cd /home/josh/Work/SVN-Emerald/trunk/u-boot && bfin-uclinux-ld -Bstatic -T /home/josh/Work/SVN-Emerald/trunk/u-boot/board/bf536-Emerald/u-boot.lds  $UNDEF_SYM cpu/bf537/start.o cpu/bf537/start1.o cpu/bf537/interrupt.o cpu/bf537/cache.o cpu/bf537/flush.o cpu/bf537/init_sdram.o \

                        --start-group lib_generic/libgeneric.a board/bf536-Emerald/libbf536-Emerald.a cpu/bf537/libbf537.a lib_blackfin/libblackfin.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/nand/libnand.a drivers/nand_legacy/libnand_legacy.a drivers/sk98lin/libsk98lin.a common/libcommon.a --end-group -L /home/josh/Work/toolchain-app/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.2 -lgcc \

                        -Map u-boot.map -o u-boot

/home/josh/Work/toolchain-app/bfin-uclinux/bin/bfin-uclinux-ld.real: 区域 ram 满了(u-boot section .bss)

/home/josh/Work/toolchain-app/bfin-uclinux/bin/bfin-uclinux-ld.real: 区域 ram 满了(u-boot section .bss)

make: *** [u-boot] 错误 1

QuoteReplyEditDelete

 

 

2008-03-13 03:42:00     Re: u-boot2007 compile problem with 2008R1toolchain

Mike Frysinger (UNITED STATES)

Message: 52430    if you want to build the 2007R1 release of u-boot, use the 2007R1 release of the toolchain

QuoteReplyEditDelete

 

 

2008-03-13 09:52:19     Re: u-boot2007 compile problem with 2008R1toolchain

Robin Getz (UNITED STATES)

Message: 52452    This is covered in the faq:

 

http://docs.blackfin.uclinux.org/doku.php?id=faq

 

Why do I need to use the same version of toolchain/kernel/uClibc/U-boot/uClinux-dist

QuoteReplyEditDelete

 

 

2008-03-13 21:21:54     Re: u-boot2007 compile problem with 2008R1toolchain

new kernel (CHINA)

Message: 52494    Thanks,  Mike and Robin.

Attachments

    Outcomes