DSPRelated.com
Forums

uboot on bf561-error on compiling(create:unrecognized option `--bmode)

Started by mahendra varman August 12, 2008
Hi all

We are working here to port u-boot on a BF561 based board
while compiling u-boot-1.1.6-2008R1.5 with the latest toolchain iam getting the following error.
Please help me to resolve the issue
I have posted the error below
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 bf561-0.3 -f -c u-boot.ldr u-boot --bmode para --use-vmas --initcode cpu/blackfin/initcode.o --punchit $(((0x20004000 - 0x20000000))):$((0x2000)):env-ldr.o --bits 16
create: unrecognized option `--bmode'
bfin-uclinux-ldr: Unknown option '?' or argument missing
Backtrace:
bfin-uclinux-ldr[0x8049c6a]
bfin-uclinux-ldr[0x804a5c2]
bfin-uclinux-ldr[0x804abed]
/lib/libc.so.6(__libc_start_main+0xe0)[0x805390]
bfin-uclinux-ldr(read+0x49)[0x8049471]
make: *** [u-boot.ldr] Error 1
If you are using the R1.5 u-boot source, you need to install the R1.5 toolchain. I've recently done this myself, and it now works fine.
>We are working here to port u-boot on a BF561 based board
>while compiling u-boot-1.1.6-2008R1.5 with the latest toolchain iam getting the following error.
...
>create: unrecognized option `--bmode'