mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
c16b2293fe
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>
25 lines
834 B
Diff
25 lines
834 B
Diff
From 2792791a19f90b0141ed2e781599ba0a42a8cfd5 Mon Sep 17 00:00:00 2001
|
|
From: Linus Walleij <linus.walleij@linaro.org>
|
|
Date: Mon, 29 May 2023 23:32:44 +0200
|
|
Subject: [PATCH] ARM: dts: ixp4xx: Boot NSLU2 from harddrive
|
|
|
|
This enforces harddrive boot on the NSLU2. The flash is too small
|
|
to hold any rootfs these days.
|
|
|
|
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|
|
---
|
|
arch/arm/boot/dts/intel-ixp42x-linksys-nslu2.dts | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/arch/arm/boot/dts/intel-ixp42x-linksys-nslu2.dts
|
|
+++ b/arch/arm/boot/dts/intel-ixp42x-linksys-nslu2.dts
|
|
@@ -21,7 +21,7 @@
|
|
};
|
|
|
|
chosen {
|
|
- bootargs = "console=ttyS0,115200n8 root=/dev/mtdblock2 rw rootfstype=squashfs,jffs2 rootwait";
|
|
+ bootargs = "console=ttyS0,115200n8 root=/dev/sda1 rw rootwait";
|
|
stdout-path = "uart0:115200n8";
|
|
};
|
|
|