public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/3] smegw01: Pass 'mmcpart' to the kernel command line
@ 2021-08-24 10:58 Fabio Estevam
  2021-08-24 10:58 ` [PATCH 2/3] smegw01: Add redundant environment support Fabio Estevam
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Fabio Estevam @ 2021-08-24 10:58 UTC (permalink / raw)
  To: sbabic; +Cc: u-boot, Fabio Estevam

When using SWUpdate, it is necessary to toggle between partitions.

Use the 'mmcpart' environment variable to accomplish that.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 include/configs/smegw01.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/configs/smegw01.h b/include/configs/smegw01.h
index 6f7b46e49b..e66047acbd 100644
--- a/include/configs/smegw01.h
+++ b/include/configs/smegw01.h
@@ -29,9 +29,8 @@
 	"bootm_size=0x10000000\0" \
 	"mmcdev=0\0" \
 	"mmcpart=1\0" \
-	"mmcroot=/dev/mmcblk0p1 rootwait rw\0" \
 	"mmcargs=setenv bootargs console=${console},${baudrate} " \
-		"root=${mmcroot}\0" \
+		"root=/dev/mmcblk0p${mmcpart} rootwait rw\0" \
 	"loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} boot/${image}\0" \
 	"loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr} boot/${fdtfile}\0" \
 	"mmcboot=echo Booting from mmc ...; " \
-- 
2.25.1


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

end of thread, other threads:[~2021-10-20 12:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-24 10:58 [PATCH 1/3] smegw01: Pass 'mmcpart' to the kernel command line Fabio Estevam
2021-08-24 10:58 ` [PATCH 2/3] smegw01: Add redundant environment support Fabio Estevam
2021-10-20 12:21   ` sbabic
2021-08-24 10:58 ` [PATCH 3/3] smegw01: Select IMX_HAB Fabio Estevam
2021-10-20 12:20   ` sbabic
2021-10-20 12:20 ` [PATCH 1/3] smegw01: Pass 'mmcpart' to the kernel command line sbabic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox