[PATCH] ramips: fix Unifi 6 Lite boot failure with v5.15 kernels

Bjørn Mork bjorn at mork.no
Sun Nov 6 03:49:54 PST 2022


Jonas Gorski <jonas.gorski at gmail.com> writes:

> An option is also to set a load address for the dtb in the FIT image,
> then U-Boot will relocate it before passing it to the kernel.

Yes, that is worth trying.  I thought this would be part of the fdt
relocation step, but I see that the "load" property is used before the
final relocation.

I'll test this when I have console again.  Or earlier if someone can
tell me how to calculate a semi-safe load address.  Will the kernel
$loadaddr + aligned(8, 32, 512. 4096?) kernelsize be ok?

And how do I figure out where in memory the fdt ended up, without seeing
the console output from u-boot?  Can't see anything obvious in dmesg or
in sysfs.  Do I need to enable a memory debug device, or is this address
directly available somewhere?



Bjørn



More information about the openwrt-devel mailing list