[#4198] Build uboot 2008R1.5-RC1 failed by 2008R1.5-RC12 toolchain.

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

[#4198] Build uboot 2008R1.5-RC1 failed by 2008R1.5-RC12 toolchain.

Submitted By: Vivi Li

Open Date

2008-06-25 02:45:37     Close Date

2008-06-26 02:19:34

Priority:

High     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

N/A     Processor:

N/A

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: Build uboot 2008R1.5-RC1 failed by 2008R1.5-RC12 toolchain.

Details:

 

Build uboot 2008R1.5-RC1 failed with latest 08r1 toolchain 08r1.5-12.

 

--

bfin-uclinux-gcc  -D__ASSEMBLY__ -g  -Os   -ffixed-P5 -fomit-frame-pointer -mcpu=bf527-0.0 -D__KERNEL__ -I/home/test/work/cruise/checkouts/u-boot/u-boot-1.1.6/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.2/include -pipe  -DCONFIG_BLACKFIN -I. -DSYM_FILE='".syms.u-boot.S"' -c cpu/blackfin/system_map.S -o cpu/blackfin/system_map.o

UNDEF_SYM=`bfin-uclinux-objdump -x lib_generic/libgeneric.a board/bf527-ezkit/libbf527-ezkit.a cpu/blackfin/libblackfin.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/test/work/cruise/checkouts/u-boot/u-boot-1.1.6 && bfin-uclinux-ld -Bstatic -T /home/test/work/cruise/checkouts/u-boot/u-boot-1.1.6/board/bf527-ezkit/u-boot.lds  $UNDEF_SYM cpu/blackfin/start.o --start-group lib_generic/libgeneric.a board/bf527-ezkit/libbf527-ezkit.a cpu/blackfin/libblackfin.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 /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.2 -lgcc -Map u-boot.map -o u-boot cpu/blackfin/system_map.o

bfin-uclinux-objcopy --gap-fill=0xff -O srec u-boot u-boot.srec

bfin-uclinux-objcopy --gap-fill=0xff -O ihex u-boot u-boot.hex

bfin-uclinux-objcopy --gap-fill=0xff -O binary u-boot u-boot.bin

./tools/envcrc --binary > env-ldr.o

bfin-uclinux-ldr -T bf527-0.0 -f -c u-boot.ldr u-boot --bmode para --use-vmas --initcode cpu/blackfin/initcode.o --punchit $(((0x20004000 - 0x20000000))):$((0x2000)):env-ldr.o

create: unrecognized option `--bmode'

bfin-uclinux-ldr: Unknown option '?' or argument missing

 

Backtrace:

bfin-uclinux-ldr[0x8049caa]

bfin-uclinux-ldr[0x804a612]

bfin-uclinux-ldr[0x804ac3d]

/lib/libc.so.6(__libc_start_main+0xdc)[0x40065f9c]

bfin-uclinux-ldr(alarm+0x35)[0x80494a1]

make: *** [u-boot.ldr] Error 1

--

 

Follow-ups

 

--- Sonic Zhang                                              2008-06-25 03:58:07

Which toolchain do you use when building 2008R1.5-RC1 uboot?

 

--- Mike Frysinger                                           2008-06-25 14:15:37

backported the relevant ldr-utils changes to the branch

 

--- Vivi Li                                                  2008-06-26 03:19:34

Now it's OK with latest toolchain in branch.

Close it.

 

--- Rutger Hofman                                            2008-08-06 10:43:48

Uhmmm... I would like to build u-boot from svn (I'm interested in the latest

BF548 NAND boot goodies). Which toochain should I use? I get this same error

(unregocnized option '--bmode') with the stable toolchain, and also with the

snapshot toolchain.

Where can I get a toolchain that speaks with u-boot from svn?

Should I build the toolchain from source? If yes, which branch? And any tips on

building/managing the toolchain (I'm on Ubuntu Linux)?

 

Thanks,

 

Rutger Hofman

VU Amsterdam

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes