diff mbox

[1/4] configs/lego_ev3: add U-Boot support

Message ID 1477870346-4941-2-git-send-email-david@lechnology.com
State Changes Requested
Headers show

Commit Message

David Lechner Oct. 30, 2016, 11:32 p.m. UTC
This adds U-Boot configuration for LEGO MINDSTORMS EV3. U-Boot has
had support for LEGO MINDSTORMS EV3 since v2016.05.

Signed-off-by: David Lechner <david@lechnology.com>
---
 configs/lego_ev3_defconfig | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Thomas Petazzoni Nov. 1, 2016, 3:02 p.m. UTC | #1
Hello,

Thanks for this patch series updating the lego_ev3 support, much appreciated!

On Sun, 30 Oct 2016 18:32:23 -0500, David Lechner wrote:
> This adds U-Boot configuration for LEGO MINDSTORMS EV3. U-Boot has
> had support for LEGO MINDSTORMS EV3 since v2016.05.
> 
> Signed-off-by: David Lechner <david@lechnology.com>
> ---
>  configs/lego_ev3_defconfig | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/configs/lego_ev3_defconfig b/configs/lego_ev3_defconfig
> index 1ddc4f9..bf425f1 100644
> --- a/configs/lego_ev3_defconfig
> +++ b/configs/lego_ev3_defconfig
> @@ -24,3 +24,8 @@ BR2_LINUX_KERNEL_UIMAGE=y
>  BR2_TARGET_ROOTFS_EXT2=y
>  BR2_TARGET_ROOTFS_EXT2_3=y
>  # BR2_TARGET_ROOTFS_TAR is not set
> +
> +# U-Boot
> +BR2_TARGET_UBOOT=y
> +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
> +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="legoev3"

You should use a specific U-Boot version, so that we're sure we'll
continue to use the same tested version over time. See other defconfigs:

wandboard_defconfig:BR2_TARGET_UBOOT=y
wandboard_defconfig:BR2_TARGET_UBOOT_BOARDNAME="wandboard"
wandboard_defconfig:BR2_TARGET_UBOOT_CUSTOM_VERSION=y
wandboard_defconfig:BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01"

Thanks!

Thomas
diff mbox

Patch

diff --git a/configs/lego_ev3_defconfig b/configs/lego_ev3_defconfig
index 1ddc4f9..bf425f1 100644
--- a/configs/lego_ev3_defconfig
+++ b/configs/lego_ev3_defconfig
@@ -24,3 +24,8 @@  BR2_LINUX_KERNEL_UIMAGE=y
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_3=y
 # BR2_TARGET_ROOTFS_TAR is not set
+
+# U-Boot
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="legoev3"