[U-Boot] Compiling Uboot error:too many arguments

Zhang Heron qianlong2006 at gmail.com
Sun Jul 8 16:04:52 CEST 2012


Hi,
    I met a problem when I compiled the Uboot source code for board
trimslice as follows:


arm-none-linux-gnueabi-objcopy -O srec u-boot u-boot.srec
arm-none-linux-gnueabi-objcopy --gap-fill=0xff -O binary u-boot u-boot.bin
make -C dts binary
make[1]: Entering directory `/home/zql/u-boot-arm/dts'
rc=$( cat /home/zql/u-boot-arm/board/compulab/dts/tegra2-trimslice.dts |
arm-none-linux-gnueabi-gcc -E -P -DARCH_CPU_DTS=\"/home- | { { dtc -R 4 -p
0x1000 -O dtb -o dt.dtb - 2>&1 ; echo $? >&3 ; } | grep -v '^DTC: dts->dtb
 on file' ; } 3>&1 ) ; \
exit $rc
/bin/sh: line 1: exit: too many arguments
make[1]: *** [dt.dtb] Error 1
make[1]: Leaving directory `/home/zql/u-boot-arm/dts'
make: *** [u-boot.dtb] Error 2

    linux kernel:2.6.18-308.4.1.el5xen
    OS:centos 5.5
    gcc:gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70)
arm-none-linux-gnueabi,(problem is the same with arm-linux-gcc 4.3.3 )

    I had searched a similar problem about compilng Uboot  about
trimslice_config(
http://www.mail-archive.com/u-boot@lists.denx.de/msg85352.html),but I can
not solve that problem by the approach mentioned in that website,actually,I
do not understand what the website mean.Is it a bug of Uboot for
trimslice?So,is there any solution for that bug?Any reply will be
appreciated.Thanks a lot.


More information about the U-Boot mailing list