ixp4xx: Resurrect IXP4xx support using device tree
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 23 Oct 2023 06:43:07 +0000 (08:43 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 25 Oct 2023 09:28:38 +0000 (11:28 +0200)
commitc16b2293fe71e2753058fa9b653869b763e6fdc0
tree5c6dd3550d0fb16a20c8a23e6ef90a1fd261bc21
parent0be0b357b2642222e877a7191583d615aa4ed8c0
ixp4xx: Resurrect IXP4xx support using device tree

This resurrects the support for IXP4xx using device tree
rather than the old (deleted) board files. The final pieces
of IXP4xx board files were deleted in Linux v5.19.

Ext4 root filesystems on CF and USB are supported by the
default config.

We support these three initial targets:

- The Gateworks Avila GW2348 reference design has 64MB of RAM
  and 32MB of flash and also supports USB and CompactFlash.

- The Gateworks Cambria GW2358 reference design has 128MB of
  RAM and 32MB of flash and also supports USB and CompactFlash.

- The old and stable Linksys NSLU2 works fine as well, albeit
  it only has 32MB of RAM so it has been marked as non-default.
  The 8MB of flash can only fit the kernel, so it has been
  patched to boot from exteral media on USB. I have used
  it successfully as a NAS with ksmbd and LUCI web API, see:
  https://dflund.se/~triad/krad/ixp4xx/

Signed-off-by: Howard Harte <hharte@magicandroidapps.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Tomasz Maciej Nowak <tmn505@gmail.com>
target/linux/ixp4xx/Makefile [new file with mode: 0644]
target/linux/ixp4xx/base-files/etc/board.d/02_network [new file with mode: 0644]
target/linux/ixp4xx/base-files/lib/preinit/05_set_ether_mac_ixp4xx [new file with mode: 0644]
target/linux/ixp4xx/config-6.1 [new file with mode: 0644]
target/linux/ixp4xx/image/Makefile [new file with mode: 0644]
target/linux/ixp4xx/patches-6.1/0001-mtd-cfi_cmdset_0001-Byte-swap-OTP-info.patch [new file with mode: 0644]
target/linux/ixp4xx/patches-6.1/301-ARM-dts-ixp4xx-Boot-NSLU2-from-harddrive.patch [new file with mode: 0644]