[Buildroot] [PATCH 2/4] board/lego/ev3: Create images using genimage
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Nov 1 15:04:43 UTC 2016
Hello,
On Sun, 30 Oct 2016 18:32:24 -0500, David Lechner wrote:
> This adds a script to create SD card and flash images for LEGO MINDSTORMS
> EV3 using the genimage tool.
>
> The default kernel config had to be modifed to add support for squashfs
> and to add a ram disk.
>
> Signed-off-by: David Lechner <david at lechnology.com>
In addition to the comment made by Baruch about using a defconfig
fragment for Linux, I have another comment, see below.
> # U-Boot
> BR2_TARGET_UBOOT=y
> BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
> BR2_TARGET_UBOOT_BOARD_DEFCONFIG="legoev3"
> +BR2_PACKAGE_HOST_GENIMAGE=y
This line probably need an additional comment above it, as it's not
U-Boot related.
But more importantly, since you're building a FAT filesystem image, you
also need:
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_MTOOLS=y
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list