2009-08-12 01:53:20     u-boot compile error!!

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

2009-08-12 01:53:20     u-boot compile error!!

steven O (AFGHANISTAN)

Message: 78706   

 

when compiling the u-boot, error occured as following , Somebody can help me !

 

make[1]: Leaving directory `/home/dvr/hh/HHBF531-R1/u-boot/common'

UNDEF_SYM=`bfin-uclinux-objdump -x lib_generic/libgeneric.a board/hhbf531/libhhbf531.a cpu/bf533/libbf533.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/sk98lin/libsk98lin.a drivers/nand/libnand.a drivers/nand_legacy/libnand_legacy.a post/libpost.a post/cpu/libcpu.a common/libcommon.a |sed  -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\

        bfin-uclinux-ld -Bstatic -T /home/dvr/hh/HHBF531-R1/u-boot/board/hhbf531/u-boot.lds -Ttext 0x01FC0000  $UNDEF_SYM cpu/bf533/start.o cpu/bf533/start1.o cpu/bf533/interrupt.o cpu/bf533/cache.o cpu/bf533/cplbhdlr.o cpu/bf533/cplbmgr.o cpu/bf533/flush.o cpu/bf533/init_sdram.o \

                --start-group lib_generic/libgeneric.a board/hhbf531/libhhbf531.a cpu/bf533/libbf533.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/sk98lin/libsk98lin.a drivers/nand/libnand.a drivers/nand_legacy/libnand_legacy.a post/libpost.a post/cpu/libcpu.a common/libcommon.a --end-group -L /home/dvr/hh/HHBF531-R1/toolchains/gcc-bfin-3.4-uclinux/bin/../lib/gcc/bfin-uclinux/3.4.5 -lgcc \

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

drivers/nand/libnand.a(nand_base.o)(.text+0x210): In function `nand_block_bad':

/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_base.c:431: undefined reference to `_ashrdi3'

drivers/nand/libnand.a(nand_base.o)(.text+0x21e):/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_base.c:432: undefined reference to `_ashrdi3'

drivers/nand/libnand.a(nand_base.o)(.text+0x2fa): In function `nand_write_oob':

/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_base.c:1773: undefined reference to `_ashrdi3'

drivers/nand/libnand.a(nand_base.o)(.text+0x308):/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_base.c:1774: undefined reference to `_ashrdi3'

drivers/nand/libnand.a(nand_base.o)(.text+0x790): In function `nand_wait':

/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_base.c:850: undefined reference to `reset_timer'

drivers/nand/libnand.a(nand_base.o)(.text+0x874): In function `nand_read_ecc':

/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_base.c:1150: undefined reference to `_ashrdi3'

drivers/nand/libnand.a(nand_base.o)(.text+0x88a):/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_base.c:1154: undefined reference to `_ashrdi3'

drivers/nand/libnand.a(nand_base.o)(.text+0xcbc): In function `nand_read_oob':

/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_base.c:1386: undefined reference to `_ashrdi3'

drivers/nand/libnand.a(nand_base.o)(.text+0xcca):/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_base.c:1387: undefined reference to `_ashrdi3'

drivers/nand/libnand.a(nand_base.o)(.text+0xde8): In function `nand_read_raw':

/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_base.c:1474: undefined reference to `_ashrdi3'

drivers/nand/libnand.a(nand_base.o)(.text+0xdf6):/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_base.c:1475: more undefined references to `_ashrdi3' follow

drivers/nand/libnand.a(nand_base.o)(.text+0x144e): In function `nand_erase_nand':

/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_base.c:2154: undefined reference to `_ashldi3'

drivers/nand/libnand.a(nand_bbt.o)(.text+0xb0): In function `read_bbt':

/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_bbt.c:133: undefined reference to `_ashldi3'

drivers/nand/libnand.a(nand_bbt.o)(.text+0x776): In function `write_bbt':

/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_bbt.c:501: undefined reference to `_ashldi3'

drivers/nand/libnand.a(nand_bbt.o)(.text+0x820):/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_bbt.c:520: undefined reference to `_ashrdi3'

drivers/nand/libnand.a(nand_bbt.o)(.text+0xaa0): In function `nand_update_bbt':

/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_bbt.c:876: undefined reference to `_ashrdi3'

drivers/nand/libnand.a(nand_bbt.o)(.text+0x103e): In function `nand_isbad_bbt':

/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_bbt.c:1038: undefined reference to `_ashrdi3'

drivers/nand/libnand.a(nand_util.o)(.text+0x1ea): In function `nand_erase_opts':

/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_util.c:211: undefined reference to `_udivdi3'

drivers/nand/libnand.a(nand_util.o)(.text+0x59c): In function `nand_write_opts':

/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_util.c:478: undefined reference to `_udivdi3'

drivers/nand/libnand.a(nand_util.o)(.text+0x7f8): In function `nand_read_opts':

/home/dvr/hh/HHBF531-R1/u-boot/drivers/nand/nand_util.c:654: undefined reference to `_udivdi3'

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

QuoteReplyEditDelete

 

 

2009-08-12 02:08:44     Re: u-boot compile error!!

Yi Li (CHINA)

Message: 78710   

 

Please do not post the same question three times.

 

And it looks you are not using u-boot and toolchain downloaded from blackfin.uclinux.org? If so we cannot help you.

 

-Yi

QuoteReplyEditDelete

 

 

2009-08-12 02:23:36     Re: u-boot compile error!!

Mike Frysinger (UNITED STATES)

Message: 78711   

 

you are using a very old release from the HHCN guys.  you can either use the latest releases from us, or go ask them for help.

QuoteReplyEditDelete

 

 

2009-08-12 02:46:45     Re: u-boot compile error!!

steven O (AFGHANISTAN)

Message: 78716   

 

before using this version , i had used the u-boot-1.1.6-2008R1. when using the u-boot-1.1.6-2008R1 with 64M SDRAM, it works well. But when i changed the SDRAM to 32M, it can't  work well anymore.  iI had changed the CONFIG_MEM_SIZE and CONFIG_MEM_ADD_WDTH.  When out of reset interrupt, the IVG15 is not functioning correctly. So i used the current  u-boot to test .

 

Someone  can tell me why the IVG 15 not to function correctly or how to the problem in compiling this u-boot ? Thanks

QuoteReplyEditDelete

 

 

2009-08-12 02:52:55     Re: u-boot compile error!!

Mike Frysinger (UNITED STATES)

Message: 78717   

 

you will get no support for the HHCN sources here.  as for the IVG15 issue, you already have a thread for that, so do not try to create a new one.

Attachments

    Outcomes