[PATCH v4 5/7] ixp4xx: Resurrect IXP4xx support using device tree
Tomasz Maciej Nowak
tmn505 at gmail.com
Tue Oct 24 13:41:08 PDT 2023
W dniu 23.10.2023 o 08:43, Linus Walleij pisze:
> 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 at magicandroidapps.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
Thank You for following suggestions, with that:
Reviewed-by: Tomasz Maciej Nowak <tmn505 at gmail.com>
> ---
> ChangeLog v2->v3:
> - Don't add the apex package on the NSLU2, the dependency
> is resolved in the other direction, apex should only build
> itself for the targets that need it.
> - Alter the path for the apex binaries slightly.
> - Split out resurrection of the microcode package to its
> own patch.
> - Use only the ip command and not both ip and ifconfig in
> the MAC setup script.
> - Drop unsupported device from the MAC setup script.
> - Name devices with device tuples like gateworks_avila.
> - Fix name confusion Gateway -> Gateworks.
> ChangeLog v1->v2:
> - Have NSLU2 select the apex boot loader instead of having
> it default built for all targets.
> - SPDX header for the microcode package.
> - Set microcode package version back to 1.
> - Split the microcode firmware package in two, one for
> just regular ethernet, one for WAN/HSS and select the
> right package for each device, ridding us one useless
> firmware file per device.
> - Cleanup Kconfig using make kernel_oldconfig.
> - Remove several surplus kernel Kconfig options, some
> pointless 8250 extensions for example.
> - Drop all the RTCs from the Kconfig and use the corresponding
> kernel modules for each device instead, saving space.
> - Drop all the HWMON drivers from the Kconfig and use the
> corresponding kernel modules for each device instead.
> - Use a kernel module for EEPROM access on Gateworks devices.
> - Fold in an ethernet numbering fix from Howard Harte
> - Activate Marvell MV88E6060 DSA switch as used by
> USRobotics USR8200.
> ---
> target/linux/ixp4xx/Makefile | 27 +++
> .../linux/ixp4xx/base-files/etc/board.d/02_network | 21 ++
> .../base-files/lib/preinit/05_set_ether_mac_ixp4xx | 38 ++++
> target/linux/ixp4xx/config-6.1 | 252 +++++++++++++++++++++
> target/linux/ixp4xx/image/Makefile | 77 +++++++
> ...01-mtd-cfi_cmdset_0001-Byte-swap-OTP-info.patch | 74 ++++++
> ...-ARM-dts-ixp4xx-Boot-NSLU2-from-harddrive.patch | 24 ++
> 7 files changed, 513 insertions(+)
[...]
--
TMN
More information about the openwrt-devel
mailing list