[U-Boot] Cannot build Wandboard SPL

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Dec 9 15:55:21 UTC 2017


On 12/09/2017 03:51 PM, Heinrich Schuchardt wrote:
> 
> 
> make mrproper
> make wandboard_defconfig
> make SPL
> 
> leads to an error
> 
>    OBJCOPY spl/u-boot-spl-nodtb.bin
>    COPY    spl/u-boot-spl.bin
>    CFGS    .cfgtmp
> gcc: error: FORCE: Datei oder Verzeichnis nicht gefunden
> gcc: warning: ‘-x c’ after last input file has no effect
> gcc: fatal error: no input files
> compilation terminated.
> 
> Bisection leads to this patch:
> 
> commit 6e6cf015e7cdd7ca83a933320a81201972bd5e5e
> Merge: 0931b6f20e 5451ca4da9
> Author: Tom Rini <trini at konsulko.com>
> Date:   Mon Nov 27 07:22:11 2017 -0500
> 
>      Merge git://www.denx.de/git/u-boot-imx
> 
>      Signed-off-by: Tom Rini <trini at konsulko.com>

You have been trying to resolve a merge conflict. In the course of the 
resolution you deleted a line:

--- configs/wandboard_defconfig 2017-12-09 16:21:01.096360604 +0100
+++ configs/wandboard_defconfig 2017-12-09 16:20:47.886050332 +0100
@@ -10,7 +10,7 @@
  CONFIG_SPL_WATCHDOG_SUPPORT=y
  CONFIG_CMD_HDMIDETECT=y
  CONFIG_DISTRO_DEFAULTS=y
+CONFIG_BOOTCOMMAND="run findfdt; run finduuid; run distro_bootcmd"
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
  # CONFIG_CONSOLE_MUX is not set
  CONFIG_SYS_CONSOLE_IS_IN_ENV=y
  CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y

If I add the line
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg
again I am able to build SPL.

This seems to be the only CONFIG_SYS_EXTRA_OPTIONS that deleted by mistake.

I will send a patch for the Wandboard.

Best regards

Heinrich

> 
> My build-system is a Wandboad Quad with Debian Stretch
> gcc (Debian 6.3.0-18) 6.3.0 20170516
> 
> Best regards
> 
> Heinrich Schuchardt
> 
> 



More information about the U-Boot mailing list