All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] smegw01: Allow booting the Yocto image by default
@ 2021-06-15 23:38 Fabio Estevam
  2021-06-15 23:38 ` [PATCH 2/3] smegw01: Re-sync the defconfig Fabio Estevam
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Fabio Estevam @ 2021-06-15 23:38 UTC (permalink / raw)
  To: sbabic; +Cc: u-boot, Fabio Estevam

On the Yocto image there is a single partition and the kernel
and dtb are present in the 'boot' directory.

Change it accordingly so that the board can boot the Yocto
image by default.

Use the generic 'load' command instead, which is able to
read from an ext4 partition.

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

diff --git a/include/configs/smegw01.h b/include/configs/smegw01.h
index 50f00136ac46..a92c583c8669 100644
--- a/include/configs/smegw01.h
+++ b/include/configs/smegw01.h
@@ -29,11 +29,11 @@
 	"bootm_size=0x10000000\0" \
 	"mmcdev=0\0" \
 	"mmcpart=1\0" \
-	"mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
+	"mmcroot=/dev/mmcblk0p1 rootwait rw\0" \
 	"mmcargs=setenv bootargs console=${console},${baudrate} " \
 		"root=${mmcroot}\0" \
-	"loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
-	"loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdtfile}\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 ...; " \
 		"run mmcargs; " \
 		"if run loadfdt; then " \
-- 
2.25.1


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

end of thread, other threads:[~2021-07-12 11:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-15 23:38 [PATCH 1/3] smegw01: Allow booting the Yocto image by default Fabio Estevam
2021-06-15 23:38 ` [PATCH 2/3] smegw01: Re-sync the defconfig Fabio Estevam
2021-06-16  3:18   ` Tom Rini
2021-06-15 23:38 ` [PATCH 3/3] smegw01: Select the CMD_UNZIP option Fabio Estevam
2021-07-10 15:53   ` sbabic
2021-07-10 19:35   ` sbabic
2021-06-16  3:17 ` [PATCH 1/3] smegw01: Allow booting the Yocto image by default Tom Rini
2021-07-12 11:19   ` Stefano Babic
2021-07-10 15:52 ` sbabic
2021-07-10 19:34 ` sbabic

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.