[U-Boot] [STATUS] ARM - many build problems
Thierry Reding
thierry.reding at avionic-design.de
Mon Jul 9 08:10:04 CEST 2012
On Mon, Jul 09, 2012 at 12:25:27AM +0200, Wolfgang Denk wrote:
> Hi all,
>
> after merging the latest ARM pull request, a large number of boards is
> broken:
>
> --------------------- SUMMARY ----------------------------
> Boards compiled: 302
> Boards with errors: 6 ( harmony seaboard ventana whistler paz00
> trimslice )
> Boards with warnings but no errors: 49 ( ca9x4_ct_vxp am335x_evm
> highbank efikamx efikasb mx51evk mx53ard mx53evk mx53loco mx53smd
> ima3-mx53 vision2 mx6qarm2 mx6qsabrelite cm_t35 omap3_overo
> omap3_pandora dig297 igep0020 igep0030 am3517_evm mt_ventoux
> omap3_zoom1 omap3_zoom2 omap3_logic omap3_mvblx am3517_crane
> omap3_beagle omap3_evm omap3_evm_quick_mmc omap3_evm_quick_nand
> omap3_sdp3430 devkit8000 mcx tricorder twister omap4_panda
> omap4_sdp4430 omap5_evm s5p_goni smdkc100 origen s5pc210_universal
> smdk5250 smdkv310 trats u8500_href plutux medcom )
> ----------------------------------------------------------
>
> The hard errors (harmony seaboard ventana whistler paz00 trimslice )
> all look like this - mind the "/bin/sh: line 1: exit: too many
> arguments" error:
>
>
> Configuring for harmony board...
> make[1]: *** [/work/wd/tmp-arm/dts/dt.dtb] Error 1
> make: *** [/work/wd/tmp-arm/u-boot.dtb] Error 2
> text data bss dec hex filename
> 225114 4264 278692 508070 7c0a6 /work/wd/tmp-arm/u-boot
> cpu.c: In function 'save_boot_params_default':
> cpu.c:48:1: warning: -fstack-usage not supported for this target
> [enabled by default]
> /bin/sh: line 1: exit: too many arguments
> make[1]: *** [/work/wd/tmp-arm/dts/dt.dtb] Error 1
> make: *** [/work/wd/tmp-arm/u-boot.dtb] Error 2
> make: *** Waiting for unfinished jobs....
These have been fixed in tegra/master by the following commit:
commit 329b71b234fd2dcc60a1369d411e4b55a8117df9
Author: Stephen Warren <swarren at nvidia.com>
Date: Fri Jun 8 12:28:17 2012 +0000
fdt: send all dtc output to stderr
Commit 896bbb5 "fdt: avoid bad MAKEALL status" added logic to capture
the result code from dtc by echoing $? to stdout and capturing it using
$(). However, dtc emits some diagnostics to stderr and some to stdout.
The diagnostics send to stdout ended up getting captured via $() rather
than being echo'd to the user. This caused those diagnostics to be passed
to the exit command, which would then fail with the following cryptic
error message:
/bin/sh: line 1: exit: too many arguments
Solve this by redirecting all dtc output to stderr so that $() does not
capture it. This allows the user to see the actual error message from dtc.
Cc: Wolfgang Denk <wd at denx.de>
Cc: Simon Glass <sjg at chromium.org>
Cc: albert.u.boot at aribaud.net
Cc: Tom Warren <twarren at nvidia.com>
Signed-off-by: Stephen Warren <swarren at nvidia.com>
Acked-by: Simon Glass <sjg at chromium.org>
Signed-off-by: Tom Warren <twarren at nvidia.com>
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120709/57dc44c8/attachment.pgp>
More information about the U-Boot
mailing list