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

Finn Thain fthain at linux-m68k.org
Thu Jul 7 20:16:27 PDT 2022


On Tue, 28 Dec 2021, Linus Walleij wrote:

> The version we can support (because of access to the hardware)
> is WG302v1, so rename the file and make the following
> modifications:
> 
> - We have 32MB memory not 16MB
> - The default console speed is 9600 baud so use this
> - The device has no ATA disk nor USB so drop the /dev/sda1
>   default mount, this needs to mount ramdisk or NFS
> - Both serial0 and serial1 cannot be assigned with aliases,
>   just assign serial0
> - The Flash is just 8MB so augment the size
> - The Flash FIS index is at eraseblock 0x3f
> - The PHY is at MDIO address 30
> 
> Tested by bringing the Netgear WG302v1 up to userspace using
> initramfs appended to the kernel and downloaded over TFTP,
> then ifconfig to bring up eth0 and pinging the host. All
> works fine including SSH into the device from the host.
> 

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.

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.



More information about the linux-arm-kernel mailing list