aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rdc
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-04-24 12:30:31 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-04-24 12:30:31 +0000
commit528f64fd496b0c9596decf866d51240bd95b4b94 (patch)
treeb0d0bae2913f116560afe9c9e84b026651b99555 /target/linux/rdc
parentcaeafc290acf6f5c0013bef5208d3af5aca8fd1a (diff)
downloadupstream-528f64fd496b0c9596decf866d51240bd95b4b94.tar.gz
upstream-528f64fd496b0c9596decf866d51240bd95b4b94.tar.bz2
upstream-528f64fd496b0c9596decf866d51240bd95b4b94.zip
[rdc] 2.6.27 also needs to hack the command line passed to the kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15381 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc')
-rw-r--r--target/linux/rdc/patches-2.6.27/002-cmdline_setup.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/rdc/patches-2.6.27/002-cmdline_setup.patch b/target/linux/rdc/patches-2.6.27/002-cmdline_setup.patch
new file mode 100644
index 0000000000..ee36576d2c
--- /dev/null
+++ b/target/linux/rdc/patches-2.6.27/002-cmdline_setup.patch
@@ -0,0 +1,10 @@
+--- a/arch/x86/kernel/setup.c 2009-04-24 11:37:41.000000000 +0200
++++ b/arch/x86/kernel/setup.c 2009-04-24 11:38:43.000000000 +0200
+@@ -701,6 +701,7 @@
+ bss_resource.start = virt_to_phys(&__bss_start);
+ bss_resource.end = virt_to_phys(&__bss_stop)-1;
+
++ strcat(boot_command_line, " init=/etc/preinit console=ttyS0,38400");
+ strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE);
+ *cmdline_p = command_line;
+