public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix boot regressions on at least TI am62x
@ 2023-01-19  8:38 Sjoerd Simons
  2023-01-19  8:38 ` [PATCH 1/3] Bump LMB_MAX_REGIONS default to 16 Sjoerd Simons
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Sjoerd Simons @ 2023-01-19  8:38 UTC (permalink / raw)
  To: u-boot
  Cc: Ashok Reddy Soma, Heinrich Schuchardt, Ilias Apalodimas,
	Kautuk Consul, Leo Yu-Chi Liang, Michal Simek, Patrice Chotard,
	Philippe Reynes, Rasmus Villemoes, Simon Glass, Sughosh Ganu


When booting a recent u-boot master on TI am62x with the distro boot
sequence it fails loading the FDT:

   Booting using the fdt blob at 0x88000000
Working FDT set to 88000000
   Loading Ramdisk to 8d711000, end 8ffffd95 ... OK
ERROR: reserving fdt memory region failed (addr=9e780000 size=80000 flags=4)
ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000 flags=4)
ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000 flags=4)
ERROR: Failed to allocate 0x8f58 bytes below 0x90000000.
device tree - allocation error
FDT creation failed!
resetting ...

It turns out that this is caused by commit 06d514d77c37 ("lmb: consider EFI
memory map") due to injecting both extra and some similar memory regions
via a different path into the lmb. The following series fixes the
apparent fallout from that ;)


Sjoerd Simons (3):
  Bump LMB_MAX_REGIONS default to 16
  lmb: Set correct lmb flags for EFI memory map entries
  lmb: Treat a region which is a subset as equal

 lib/Kconfig |  2 +-
 lib/lmb.c   | 15 +++++++++------
 2 files changed, 10 insertions(+), 7 deletions(-)

-- 
2.39.0


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

end of thread, other threads:[~2023-02-08 20:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-19  8:38 [PATCH 0/3] Fix boot regressions on at least TI am62x Sjoerd Simons
2023-01-19  8:38 ` [PATCH 1/3] Bump LMB_MAX_REGIONS default to 16 Sjoerd Simons
2023-01-26 18:28   ` Tom Rini
2023-01-27  7:55     ` Sjoerd Simons
2023-01-27 13:22       ` Tom Rini
2023-02-08 20:00   ` Tom Rini
2023-01-19  8:38 ` [PATCH 2/3] lmb: Set correct lmb flags for EFI memory map entries Sjoerd Simons
2023-02-07 16:49   ` Tom Rini
2023-01-19  8:38 ` [PATCH 3/3] lmb: Treat a region which is a subset as equal Sjoerd Simons
2023-02-06 18:04   ` Tom Rini
2023-02-08  7:37     ` Sjoerd Simons
2023-02-08 14:55       ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox