All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: ti: Increase the allocated size for MLO.raw
@ 2021-04-19  6:50 Aswath Govindraju
  2021-05-27 11:14 ` Lokesh Vutla
  0 siblings, 1 reply; 4+ messages in thread
From: Aswath Govindraju @ 2021-04-19  6:50 UTC (permalink / raw)
  To: u-boot

From: Faiz Abbas <faiz_abbas@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@ti.com>
Signed-off-by: Aswath Govindraju <a-govindraju@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

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

* Re: [PATCH] ARM: ti: Increase the allocated size for MLO.raw
  2021-04-19  6:50 [PATCH] ARM: ti: Increase the allocated size for MLO.raw Aswath Govindraju
@ 2021-05-27 11:14 ` Lokesh Vutla
  0 siblings, 0 replies; 4+ messages in thread
From: Lokesh Vutla @ 2021-05-27 11:14 UTC (permalink / raw)
  To: u-boot, Aswath Govindraju; +Cc: Lokesh Vutla

On Mon, 19 Apr 2021 12:20:27 +0530, Aswath Govindraju wrote:
> 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.
 
Applied to https://source.denx.de/u-boot/custodians/u-boot-ti.git for-rc, thanks!
[1/1] ARM: ti: Increase the allocated size for MLO.raw
      https://source.denx.de/u-boot/custodians/u-boot-ti/-/commit/fed603f868
 
--
Thanks and Regards,
Lokesh

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

* [PATCH] ARM: ti: Increase the allocated size for MLO.raw
  2020-02-07 10:39 Faiz Abbas
@ 2020-02-07 16:03 ` Tom Rini
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2020-02-07 16:03 UTC (permalink / raw)
  To: u-boot

On Fri, Feb 07, 2020 at 04:09:06PM +0530, Faiz Abbas wrote:

> 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@ti.com>

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.

-- 
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>

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

* [PATCH] ARM: ti: Increase the allocated size for MLO.raw
@ 2020-02-07 10:39 Faiz Abbas
  2020-02-07 16:03 ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Faiz Abbas @ 2020-02-07 10:39 UTC (permalink / raw)
  To: u-boot

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@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 720c3453af..3c90570107 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.19.2

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

end of thread, other threads:[~2021-05-27 11:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-19  6:50 [PATCH] ARM: ti: Increase the allocated size for MLO.raw Aswath Govindraju
2021-05-27 11:14 ` Lokesh Vutla
  -- strict thread matches above, loose matches on Subject: below --
2020-02-07 10:39 Faiz Abbas
2020-02-07 16:03 ` Tom Rini

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.