Root/package/apex/patches/120-openwrt_nslu2_16mb_armeb_config.patch

1--- a/src/mach-ixp42x/slugos-nslu2-16mb-armeb_config
2+++ b/src/mach-ixp42x/slugos-nslu2-16mb-armeb_config
3@@ -17,7 +17,7 @@ CONFIG_EXPERIMENTAL=y
4 #
5 # General Setup
6 #
7-CONFIG_TARGET_DESCRIPTION="SlugOS NSLU2/BE (16MiB Flash)"
8+CONFIG_TARGET_DESCRIPTION="OpenWRT NSLU2 (16MiB Flash)"
9 CONFIG_CROSS_COMPILE=""
10 CONFIG_AEABI=y
11 CONFIG_CC_OPTIMIZE_FOR_SIZE=y
12@@ -150,9 +150,9 @@ CONFIG_ENV_REGION_KERNEL_ALT="fis://kern
13 # Overrides
14 #
15 CONFIG_ENV_DEFAULT_CMDLINE_OVERRIDE=y
16-CONFIG_ENV_DEFAULT_CMDLINE="root=/dev/mtdblock4 rootfstype=jffs2 console=ttyS0,115200"
17+CONFIG_ENV_DEFAULT_CMDLINE="root=/dev/mtdblock4 rootfstype=squashfs,jffs2 console=ttyS0,115200 init=/etc/preinit noinitrd"
18 CONFIG_ENV_DEFAULT_CMDLINE_ALT_P=y
19-CONFIG_ENV_DEFAULT_CMDLINE_ALT="root=/dev/mtdblock4 rootfstype=jffs2 console=ttyS0,115200"
20+CONFIG_ENV_DEFAULT_CMDLINE_ALT="root=/dev/mtdblock4 rootfstype=squashfs,jffs2 console=ttyS0,115200 init=/etc/preinit noinitrd"
21 # CONFIG_ENV_DEFAULT_STARTUP_OVERRIDE is not set
22 # CONFIG_ENV_DEFAULT_STARTUP_ALT_P is not set
23 CONFIG_USES_NOR_BOOTFLASH=y
24

Archive Download this file



interactive