[PATCH] ARM: ti: Increase the allocated size for MLO.raw

Aswath Govindraju a-govindraju at ti.com
Mon Apr 19 08:50:27 CEST 2021


From: Faiz Abbas <faiz_abbas at ti.com>

MLO has increased to a size greater than the allocated
128 kB in dfu_alt_info_emmc and _mmc.

Therefore, double the allocated size for MLO.raw in
the default environment.

Signed-off-by: Faiz Abbas <faiz_abbas at ti.com>
Signed-off-by: Aswath Govindraju <a-govindraju at ti.com>
---
 include/environment/ti/dfu.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/environment/ti/dfu.h b/include/environment/ti/dfu.h
index 720c3453af0e..3c90570107e4 100644
--- a/include/environment/ti/dfu.h
+++ b/include/environment/ti/dfu.h
@@ -13,7 +13,7 @@
 	"boot part 0 1;" \
 	"rootfs part 0 2;" \
 	"MLO fat 0 1;" \
-	"MLO.raw raw 0x100 0x100;" \
+	"MLO.raw raw 0x100 0x200;" \
 	"u-boot.img.raw raw 0x300 0x1000;" \
 	"u-env.raw raw 0x1300 0x200;" \
 	"spl-os-args.raw raw 0x1500 0x200;" \
@@ -29,7 +29,7 @@
 	"boot part 1 1;" \
 	"rootfs part 1 2;" \
 	"MLO fat 1 1;" \
-	"MLO.raw raw 0x100 0x100;" \
+	"MLO.raw raw 0x100 0x200;" \
 	"u-boot.img.raw raw 0x300 0x1000;" \
 	"u-env.raw raw 0x1300 0x200;" \
 	"spl-os-args.raw raw 0x1500 0x200;" \
-- 
2.17.1



More information about the U-Boot mailing list