Skip to contentSkip to conversation

mx6cuboxi: use load instead of fatload

PATCH New Thomas Bechtold 2 participants 2 messages Nov 14, 2015 – Dec 7, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mx6cuboxi: use load instead of fatload

From: Thomas Bechtold <[email protected]>

That way the FS can also be ext2/3/4 .

---
 include/configs/mx6cuboxi.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/configs/mx6cuboxi.h +3 -3
index 6e89dd1..690e6b0 100644
@@ -114,11 +114,11 @@
 	"mmcargs=setenv bootargs console=${console},${baudrate} " \
 		"root=${mmcroot}\0" \
 	"loadbootscript=" \
-		"fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
+		"load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
 	"bootscript=echo Running bootscript from mmc ...; " \
 		"source\0" \
-	"loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
-	"loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}\0" \
+	"loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
+	"loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}\0" \
 	"mmcboot=echo Booting from mmc ...; " \
 		"run mmcargs; " \
 		"if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
Signature · 1 line
2.6.2
#1 lore raw

PATCH 1/1 mx6cuboxi: use load instead of fatload

Quoted 17 lines · Thomas Bechtold

From: Thomas Bechtold <[email protected]>

That way the FS can also be ext2/3/4 .

---
 include/configs/mx6cuboxi.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/configs/mx6cuboxi.h +0 -1
index 6e89dd1..690e6b0 100644
@@ -114,11 +114,11 @@
 	"mmcargs=setenv bootargs console=${console},${baudrate} " \
 		"root=${mmcroot}\0" \
 	"loadbootscript=" \
-		"fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \

include/configs/mx6cuboxi.h line 124

Quoted 10 lines
include/configs/mx6cuboxi.h +3 -2
+		"load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
 	"bootscript=echo Running bootscript from mmc ...; " \
 		"source\0" \
-	"loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
-	"loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}\0" \
+	"loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
+	"loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}\0" \
 	"mmcboot=echo Booting from mmc ...; " \
 		"run mmcargs; " \
 		"if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \

mx6cuboxi switched to distro environment. This is not valid anymore.

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================