v2023.07-rc5 regression: Image overlaps SPL

Fabio Estevam festevam at gmail.com
Fri Jun 30 16:11:42 CEST 2023


On Fri, Jun 30, 2023 at 11:05 AM Tom Rini <trini at konsulko.com> wrote:

> I think this breaks x86, without updating their linker scripts at least.

What about this instead?

--- a/common/spl/spl_legacy.c
+++ b/common/spl/spl_legacy.c
@@ -19,7 +19,7 @@
 static void spl_parse_legacy_validate(uintptr_t start, uintptr_t size)
 {
  uintptr_t spl_start = (uintptr_t)_start;
- uintptr_t spl_end = (uintptr_t)__bss_end;
+ uintptr_t spl_end = (uintptr_t)_image_binary_end;
  uintptr_t end = start + size;


More information about the U-Boot mailing list