Fwd: Re: create_uboot dependencies?

Martin Stein martin.stein at ...1...
Fri Aug 18 15:58:19 CEST 2017


Hi Steven,

Thank you for this hint!
It's obviously a bug in the 'create_uboot' tool. The tool uses the Genode tool
chain and since the last update of this tool cain I didn't test whether they're
still fine with each other.

One quick work-around for you would be to download the 16.05 toolchain [1],
unpack it to an individual directory (no 'P' flag) [2], and adapt your
create_uboot to use the other tool chain [3].

I will have a more detailed look at the problem these days and provide a
long-term fix as soon as possible.

I hope this helped?

Cheers,
Martin

[1] https://sourceforge.net/projects/genode/files/genode-toolchain/16.05/
[2] tar xfj genode-toolchain-<version>-<arch>.tar.bz2
[3]
diff --git a/tool/create_uboot b/tool/create_uboot
index f52d8e0..0e6490c 100755
--- a/tool/create_uboot
+++ b/tool/create_uboot
@@ -59,7 +59,7 @@ endif

 UBOOT_MAKE := \
        $(VERBOSE)make ARCH=$(ARCH) \
-                      CROSS_COMPILE=/usr/local/genode-gcc/bin/genode-$(ARCH)- \
+                      CROSS_COMPILE=<YOUR_GENODE_GCC_16_05_DIR>/bin/genode-$(ARCH)- \
                       O=$(UBOOT_BUILD_DIR) \
                       -j4

Am 16.08.2017 um 19:53 schrieb Steven Harp:
> 
> In genode 17.05, I'm having difficulties with tool "create_uboot".
> Perhaps there are some preparatory steps or usage guidelines
> that I am missing....  The error manifests as (below).
> Any suggestions about what might be amiss?  (Goal is preparing an
> image for wand quad.)
> 
> 
> $ ~/genode/tool/create_uboot wand_quad
> Already on 'genode_wand_quad'
> Your branch is up-to-date with 'origin/genode_wand_quad'.
> Building U-Boot config...
> make[1]: Entering directory '/home/user/genode/contrib/uboot'
> make[2]: Entering directory '/home/user/genode/contrib/uboot/build/wand_quad'
>   GEN     ./Makefile
> #
> # configuration written to .config
> #
> make[2]: Leaving directory '/home/user/genode/contrib/uboot/build/wand_quad'
> make[1]: Leaving directory '/home/user/genode/contrib/uboot'
> Building U-Boot images...
> make[1]: Entering directory '/home/user/genode/contrib/uboot/build/wand_quad'
>   GEN     ./Makefile
> scripts/kconfig/conf  --silentoldconfig Kconfig
>   CHK     include/config.h
>   GEN     include/autoconf.mk
>   GEN     include/autoconf.mk.dep
>   GEN     spl/include/autoconf.mk
> In file included from /home/user/genode/contrib/uboot/include/linux/compiler.h:54:0,
>                  from /home/user/genode/contrib/uboot/include/linux/byteorder/little_endian.h:12,
>                  from /home/user/genode/contrib/uboot/arch/arm/include/asm/byteorder.h:29,
>                  from /home/user/genode/contrib/uboot/include/compiler.h:125,
>                  from /home/user/genode/contrib/uboot/include/image.h:19,
>                  from /home/user/genode/contrib/uboot/include/common.h:82:
> /home/user/genode/contrib/uboot/include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc6.h: No such file or directory
>  #include gcc_header(__GNUC__)
>                               ^
> compilation terminated.
> 
> ... Repeats ...





More information about the users mailing list