Skip to content

Fix boot regressions on at least TI am62x

Sjoerd Simons u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 3 repliesIn review
  2. v13 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- Adjust calculation to prevent integer overview (fixes lmb tests)
- Drop first 2 patches as they were applied already

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1lmb: Treat a region which is a subset as equallib/lmb.c+3 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/1] Fix boot regressions on at least TI am62x

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

Changes in v2:
- Adjust calculation to prevent integer overview (fixes lmb tests)
- Drop first 2 patches as they were applied already

Sjoerd Simons (1):
lmb: Treat a region which is a subset as equal

 lib/lmb.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
2.39.1