[PATCH] ARM: dts: ixp4xx: Fix up the Netgear WG302 device tree

Linus Walleij linus.walleij at linaro.org
Fri Jul 8 06:07:09 PDT 2022


On Fri, Jul 8, 2022 at 5:16 AM Finn Thain <fthain at linux-m68k.org> wrote:

> Does anyone still have the configs for that test? Here's what I see when I
> build and boot ixp4xx_defconfig.
>
>     RedBoot> load -r -b 0x01600000 zImage
>     Using default protocol (TFTP)
>     Raw file loaded 0x01600000-0x018a4087, assumed entry at 0x01600000
>     RedBoot> exec 0x01600000
>     Using base address 0x01600000 and length 0x002a4088
>
>     Error: invalid dtb and unrecognized/unsupported machine ID
>       r1=0x000000f5, r2=0x00000000
>     Available machine support:
>
>     ID (hex)        NAME
>     ffffffff        Generic DT based system
>     ffffffff        IXP4xx (Device Tree)
>
>     Please check your kernel config and/or bootloader.

Usually this is because the DTB is corrupt.

> It would be great to have a working mainline build because without it this
> router is just more e-waste. Any help would be appreciated.

I just test-booted it using v5.19-rc5. I can't mount root but
otherwise it works.
All info here:
https://dflund.se/~triad/krad/netgear-wg302/

A typical problem would be that the kernel gets too big because you use
something like initramfs.

My idea to use this is configure RedBoot to boot the kernel from TFTP
or flash then mount root using NFS to avoid using memory for initramfs.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list