Hello Genodeans
I'm currently porting Genode to the Apalis iMX6 board of Toradex. As a starting point I used the wand_quad. Currently I'm able to build run/log for both base-hw and base-sel4.
My problem arises when I run tool/create_uboot I get the following error:
In file included from /var/cache/genode_contrib/uboot/include/linux/compiler.h:54:0, from /var/cache/genode_contrib/uboot/include/linux/byteorder/little_endian.h:12, from /var/cache/genode_contrib/uboot/arch/arm/include/asm/byteorder.h:29, from /var/cache/genode_contrib/uboot/include/compiler.h:125, from /var/cache/genode_contrib/uboot/include/image.h:19, from /var/cache/genode_contrib/uboot/include/common.h:82: /var/cache/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__) ^ I have a work around, for compiling Uboot. By using the uboot tree provided by Toradex (see: https://github.com/trimpim/genode/blob/apalis_imx6/tool/create_uboot) the Image is created.
Does Martin's uboot tree do some special configuration things? the only change I see is that it adds an empty file.
Best regards,
Pirmin
Hi Pirmin,
My u-boot repo is merely a very old clone of http://git.denx.de/u-boot.git (www.denx.de) and the only thing I changed was relaxing the file size limit of the unzip implementation and adding a dummy file. But nothing substantial. I assume the biggest diff between your Toradex version and mine would be the commits that were added to the mainline over the years. Please note that the create_uboot script is not tested on a regular basis. I haven't used it for at least one year now and it might be that it doesn't work at all anymore.
Cheers, Martin
El 20/1/19 a las 11:21, Pirmin Duss escribió:
Hello Genodeans
I'm currently porting Genode to the Apalis iMX6 board of Toradex. As a starting point I used the wand_quad. Currently I'm able to build run/log for both base-hw and base-sel4.
My problem arises when I run tool/create_uboot I get the following error:
In file included from /var/cache/genode_contrib/uboot/include/linux/compiler.h:54:0, from /var/cache/genode_contrib/uboot/include/linux/byteorder/little_endian.h:12, from /var/cache/genode_contrib/uboot/arch/arm/include/asm/byteorder.h:29, from /var/cache/genode_contrib/uboot/include/compiler.h:125, from /var/cache/genode_contrib/uboot/include/image.h:19, from /var/cache/genode_contrib/uboot/include/common.h:82: /var/cache/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__) ^ I have a work around, for compiling Uboot. By using the uboot tree provided by Toradex (see: https://github.com/trimpim/genode/blob/apalis_imx6/tool/create_uboot) the Image is created.
Does Martin's uboot tree do some special configuration things? the only change I see is that it adds an empty file.
Best regards,
Pirmin
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users