All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/3] LEGO MINDSTORMS EV3 updates
@ 2017-05-23 18:04 David Lechner
  2017-05-23 18:04 ` [Buildroot] [PATCH 1/3] lego: ev3: Bump U-Boot version David Lechner
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: David Lechner @ 2017-05-23 18:04 UTC (permalink / raw)
  To: buildroot

Here are a few more updates for LEGO MINDSTORMS EV3 based on feedback from my
recent patch to use the mainline kernel [1].

I have boot-tested both the flash image and the SD card image.


[1]: http://patchwork.ozlabs.org/patch/762767/

David Lechner (3):
  lego: ev3: Bump U-Boot version
  lego: ev3: Use genimage to rename uImage file
  lego: ev3: Use ext4 file system

 board/lego/ev3/genimage.cfg  | 4 ++--
 board/lego/ev3/post-image.sh | 2 --
 configs/lego_ev3_defconfig   | 4 ++--
 3 files changed, 4 insertions(+), 6 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/3] lego: ev3: Bump U-Boot version
  2017-05-23 18:04 [Buildroot] [PATCH 0/3] LEGO MINDSTORMS EV3 updates David Lechner
@ 2017-05-23 18:04 ` David Lechner
  2017-05-23 18:04 ` [Buildroot] [PATCH 2/3] lego: ev3: Use genimage to rename uImage file David Lechner
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: David Lechner @ 2017-05-23 18:04 UTC (permalink / raw)
  To: buildroot

This bumps U-Boot to the current stable version (2017.05).

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

diff --git a/configs/lego_ev3_defconfig b/configs/lego_ev3_defconfig
index 4d764c5..0c1ab01 100644
--- a/configs/lego_ev3_defconfig
+++ b/configs/lego_ev3_defconfig
@@ -36,7 +36,7 @@ BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.05"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="legoev3"
 
 # host
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/3] lego: ev3: Use genimage to rename uImage file
  2017-05-23 18:04 [Buildroot] [PATCH 0/3] LEGO MINDSTORMS EV3 updates David Lechner
  2017-05-23 18:04 ` [Buildroot] [PATCH 1/3] lego: ev3: Bump U-Boot version David Lechner
@ 2017-05-23 18:04 ` David Lechner
  2017-05-23 18:04 ` [Buildroot] [PATCH 3/3] lego: ev3: Use ext4 file system David Lechner
  2017-05-31 21:03 ` [Buildroot] [PATCH 0/3] LEGO MINDSTORMS EV3 updates Thomas Petazzoni
  3 siblings, 0 replies; 5+ messages in thread
From: David Lechner @ 2017-05-23 18:04 UTC (permalink / raw)
  To: buildroot

This uses a genimage feature to rename the uImage file instead
of manually creating a symlink in the post-image script.

Signed-off-by: David Lechner <david@lechnology.com>
---
 board/lego/ev3/genimage.cfg  | 4 ++--
 board/lego/ev3/post-image.sh | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/board/lego/ev3/genimage.cfg b/board/lego/ev3/genimage.cfg
index 3568295..0ec580c 100644
--- a/board/lego/ev3/genimage.cfg
+++ b/board/lego/ev3/genimage.cfg
@@ -34,8 +34,8 @@ image flash.bin {
 
 image boot.vfat {
 	vfat {
-		files = {
-			"uImage"
+		file uImage {
+			image = "uImage.da850-lego-ev3"
 		}
 	}
 	size = 16M
diff --git a/board/lego/ev3/post-image.sh b/board/lego/ev3/post-image.sh
index 553d27a..81626dc 100755
--- a/board/lego/ev3/post-image.sh
+++ b/board/lego/ev3/post-image.sh
@@ -4,8 +4,6 @@ BOARD_DIR="$(dirname $0)"
 GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
 GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
 
-ln -sf "uImage.da850-lego-ev3" "${BINARIES_DIR}/uImage"
-
 rm -rf "${GENIMAGE_TMP}"
 
 genimage \
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 3/3] lego: ev3: Use ext4 file system
  2017-05-23 18:04 [Buildroot] [PATCH 0/3] LEGO MINDSTORMS EV3 updates David Lechner
  2017-05-23 18:04 ` [Buildroot] [PATCH 1/3] lego: ev3: Bump U-Boot version David Lechner
  2017-05-23 18:04 ` [Buildroot] [PATCH 2/3] lego: ev3: Use genimage to rename uImage file David Lechner
@ 2017-05-23 18:04 ` David Lechner
  2017-05-31 21:03 ` [Buildroot] [PATCH 0/3] LEGO MINDSTORMS EV3 updates Thomas Petazzoni
  3 siblings, 0 replies; 5+ messages in thread
From: David Lechner @ 2017-05-23 18:04 UTC (permalink / raw)
  To: buildroot

Change from using ext3 to ext4.

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

diff --git a/configs/lego_ev3_defconfig b/configs/lego_ev3_defconfig
index 0c1ab01..dea84d9 100644
--- a/configs/lego_ev3_defconfig
+++ b/configs/lego_ev3_defconfig
@@ -27,7 +27,7 @@ BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/lego/ev3/busybox.fragment"
 
 # filesystem
 BR2_TARGET_ROOTFS_EXT2=y
-BR2_TARGET_ROOTFS_EXT2_3=y
+BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_ROOTFS_SQUASHFS=y
 BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y
 # BR2_TARGET_ROOTFS_TAR is not set
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 0/3] LEGO MINDSTORMS EV3 updates
  2017-05-23 18:04 [Buildroot] [PATCH 0/3] LEGO MINDSTORMS EV3 updates David Lechner
                   ` (2 preceding siblings ...)
  2017-05-23 18:04 ` [Buildroot] [PATCH 3/3] lego: ev3: Use ext4 file system David Lechner
@ 2017-05-31 21:03 ` Thomas Petazzoni
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2017-05-31 21:03 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue, 23 May 2017 13:04:03 -0500, David Lechner wrote:

> David Lechner (3):
>   lego: ev3: Bump U-Boot version
>   lego: ev3: Use genimage to rename uImage file
>   lego: ev3: Use ext4 file system

Series applied to next. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-31 21:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-23 18:04 [Buildroot] [PATCH 0/3] LEGO MINDSTORMS EV3 updates David Lechner
2017-05-23 18:04 ` [Buildroot] [PATCH 1/3] lego: ev3: Bump U-Boot version David Lechner
2017-05-23 18:04 ` [Buildroot] [PATCH 2/3] lego: ev3: Use genimage to rename uImage file David Lechner
2017-05-23 18:04 ` [Buildroot] [PATCH 3/3] lego: ev3: Use ext4 file system David Lechner
2017-05-31 21:03 ` [Buildroot] [PATCH 0/3] LEGO MINDSTORMS EV3 updates Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.