Skip to contentSkip to conversation

ARM: ti: Increase the allocated size for MLO.raw

PATCH New Faiz Abbas 2 participants 2 messages Feb 7, 2020

lore
Share & tools
lore

Faiz Abbas

author
#0 lore raw

PATCH 1/1 ARM: ti: Increase the allocated size for MLO.raw

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.

---
 include/environment/ti/dfu.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/environment/ti/dfu.h +2 -2
index 720c3453af..3c90570107 100644
@@ -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;" \
Signature · 1 line
2.19.2
#1 lore raw

PATCH 1/1 ARM: ti: Increase the allocated size for MLO.raw

Quoted 7 lines · Faiz Abbas

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.

128KiB was chosen as it's also a ROM-enforced max size for some locations on (at least) am335x and older SoCs. Possibly am43xx. NAK.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200207/56388cad/attachment.sig>