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

Bjørn Mork bjorn at mork.no
Tue Nov 8 08:19:09 PST 2022


David Bauer <mail at david-bauer.net> writes:

> I have a patch for that prepared in my staging tree, I will re-test it on
> my unit. My proposed "append DTB to kernel" worked, so we have a fallback
> in case the DTB load-addr does not solve the issue.

Tried it now.  Looks fine.

With

        pr_info("fdt is at %px (mapped to %pK)\n", bph, bph);

added to  arch/mips/kernel/prom.c:__dt_setup_arch() I get

root at u6-2:~# dmesg|grep fdt
[    0.000000] fdt is at 87000000 (mapped to (ptrval))


That "%pK" format isn't very useful at this stage of the boot :-)


Bjørn



More information about the openwrt-devel mailing list