diff mbox series

[v1,05/13] colibri-imx6ull/imx7: define bootubipart for distro boot

Message ID 1592335211-5998-6-git-send-email-igor.opaniuk@gmail.com
State New
Headers show
Series This patch-series includes updates for Toradex modules: | expand

Commit Message

Igor Opaniuk June 16, 2020, 7:20 p.m. UTC
From: Stefan Agner <stefan.agner at toradex.com>

When using distro boot to boot from UBI volumes the boot partition
has been hardcoded to "UBI" (capital letters). However, our default
MTD layout uses "ubi" (lower case letter). Define "ubi" as the
default UBI partition for distro boot for Toradex. This allows to
use distro boot without having to redefine the MTD partition layout
which is useful for TorizonCore.

Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
---

 include/configs/colibri-imx6ull.h | 1 +
 include/configs/colibri_imx7.h    | 1 +
 2 files changed, 2 insertions(+)

Comments

Stefano Babic June 23, 2020, 7:50 a.m. UTC | #1
> From: Stefan Agner <stefan.agner at toradex.com>
> When using distro boot to boot from UBI volumes the boot partition
> has been hardcoded to "UBI" (capital letters). However, our default
> MTD layout uses "ubi" (lower case letter). Define "ubi" as the
> default UBI partition for distro boot for Toradex. This allows to
> use distro boot without having to redefine the MTD partition layout
> which is useful for TorizonCore.
> Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/include/configs/colibri-imx6ull.h b/include/configs/colibri-imx6ull.h
index 2d3b4c1..c80fb96 100644
--- a/include/configs/colibri-imx6ull.h
+++ b/include/configs/colibri-imx6ull.h
@@ -88,6 +88,7 @@ 
 	NFS_BOOTCMD \
 	UBI_BOOTCMD \
 	UBOOT_UPDATE \
+	"bootubipart=ubi\0" \
 	"console=ttymxc0\0" \
 	"defargs=user_debug=30\0" \
 	"dfu_alt_info=" DFU_ALT_NAND_INFO "\0" \
diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h
index b550bc6..b3f660b 100644
--- a/include/configs/colibri_imx7.h
+++ b/include/configs/colibri_imx7.h
@@ -169,6 +169,7 @@ 
 	MODULE_EXTRA_ENV_SETTINGS \
 	UBOOT_UPDATE \
 	"boot_file=zImage\0" \
+	"bootubipart=ubi\0" \
 	"console=ttymxc0\0" \
 	"defargs=\0" \
 	"fdt_board=eval-v3\0" \