All apex patches are now upstream
[nslu2-linux/kernel.git] / patches / apex / fsg3-rootfs.patch
blob8d489e74564860a87e1a667bfcfdb68872e79b2d
1 From: Rod Whitby <rod@whitby.id.au>
2 Subject: Fix the FSG-3 kernel command line root
4 In recent FSG-3 kernels, the hard disk is /dev/sda, not /dev/hda.
6 Signed-off-by: Rod Whitby <rod@whitby.id.au>
7 --
9 Index: apex/src/mach-ixp42x/slugos-fsg3-arm_config
10 ===================================================================
11 --- apex.orig/src/mach-ixp42x/slugos-fsg3-arm_config 2008-05-28 10:53:07.000000000 +0930
12 +++ apex/src/mach-ixp42x/slugos-fsg3-arm_config 2008-05-28 10:53:11.000000000 +0930
13 @@ -147,9 +147,9 @@
14 # Overrides
16 CONFIG_ENV_DEFAULT_CMDLINE_OVERRIDE=y
17 -CONFIG_ENV_DEFAULT_CMDLINE="root=/dev/hda1 rootdelay=10 console=ttyS0,115200"
18 +CONFIG_ENV_DEFAULT_CMDLINE="root=/dev/sda1 rootdelay=10 console=ttyS0,115200"
19 CONFIG_ENV_DEFAULT_CMDLINE_ALT_P=y
20 -CONFIG_ENV_DEFAULT_CMDLINE_ALT="root=/dev/hda2 rootdelay=10 console=ttyS0,115200"
21 +CONFIG_ENV_DEFAULT_CMDLINE_ALT="root=/dev/sda2 rootdelay=10 console=ttyS0,115200"
22 # CONFIG_ENV_DEFAULT_STARTUP_OVERRIDE is not set
23 # CONFIG_ENV_DEFAULT_STARTUP_ALT_P is not set
24 CONFIG_USES_NOR_BOOTFLASH=y
25 Index: apex/src/mach-ixp42x/slugos-fsg3-armeb_config
26 ===================================================================
27 --- apex.orig/src/mach-ixp42x/slugos-fsg3-armeb_config 2008-05-28 10:53:07.000000000 +0930
28 +++ apex/src/mach-ixp42x/slugos-fsg3-armeb_config 2008-05-28 10:53:11.000000000 +0930
29 @@ -147,9 +147,9 @@
30 # Overrides
32 CONFIG_ENV_DEFAULT_CMDLINE_OVERRIDE=y
33 -CONFIG_ENV_DEFAULT_CMDLINE="root=/dev/hda1 rootdelay=10 console=ttyS0,115200"
34 +CONFIG_ENV_DEFAULT_CMDLINE="root=/dev/sda1 rootdelay=10 console=ttyS0,115200"
35 CONFIG_ENV_DEFAULT_CMDLINE_ALT_P=y
36 -CONFIG_ENV_DEFAULT_CMDLINE_ALT="root=/dev/hda2 rootdelay=10 console=ttyS0,115200"
37 +CONFIG_ENV_DEFAULT_CMDLINE_ALT="root=/dev/sda2 rootdelay=10 console=ttyS0,115200"
38 # CONFIG_ENV_DEFAULT_STARTUP_OVERRIDE is not set
39 # CONFIG_ENV_DEFAULT_STARTUP_ALT_P is not set
40 CONFIG_USES_NOR_BOOTFLASH=y