From 4f73acfa652ad189cf5741a3fa6841f3c6b76484 Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Mon, 20 Sep 2010 19:45:24 +0200 Subject: [PATCH] openwrt: adapt console patches for 2.6.30 kernel in backfire --- .../openwrt/patches/100.disable.console.patch | 12 +++++------ .../110.set.console.baud.to.4800.patch | 20 +++++++++---------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/mote/v1/openwrt/patches/100.disable.console.patch b/mote/v1/openwrt/patches/100.disable.console.patch index 487bddf..9f6426e 100644 --- a/mote/v1/openwrt/patches/100.disable.console.patch +++ b/mote/v1/openwrt/patches/100.disable.console.patch @@ -1,13 +1,13 @@ -Index: target/linux/generic-2.6/config-2.6.26 +Index: target/linux/generic-2.6/config-2.6.30 =================================================================== ---- target/linux/generic-2.6/config-2.6.26 (revision 16491) -+++ target/linux/generic-2.6/config-2.6.26 (working copy) -@@ -1359,7 +1359,7 @@ +--- target/linux/generic-2.6/config-2.6.30 (revision 23099) ++++ target/linux/generic-2.6/config-2.6.30 (working copy) +@@ -1964,7 +1964,7 @@ + # CONFIG_SENSORS_W83793 is not set # CONFIG_SENSORS_W83L785TS is not set # CONFIG_SENSORS_W83L786NG is not set - CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y +# CONFIG_SERIAL_8250_CONSOLE is not set - CONFIG_SERIAL_8250_CS=m + # CONFIG_SERIAL_8250_CS is not set CONFIG_SERIAL_8250_NR_UARTS=2 # CONFIG_SERIAL_8250_PCI is not set diff --git a/mote/v1/openwrt/patches/110.set.console.baud.to.4800.patch b/mote/v1/openwrt/patches/110.set.console.baud.to.4800.patch index 3a2c510..59e98e1 100644 --- a/mote/v1/openwrt/patches/110.set.console.baud.to.4800.patch +++ b/mote/v1/openwrt/patches/110.set.console.baud.to.4800.patch @@ -1,13 +1,13 @@ -Index: target/linux/atheros/config-2.6.26 +Index: target/linux/atheros/config-2.6.30 =================================================================== ---- target/linux/atheros/config-2.6.26 (revision 16491) -+++ target/linux/atheros/config-2.6.26 (working copy) -@@ -20,7 +20,7 @@ - # CONFIG_BT is not set +--- target/linux/atheros/config-2.6.30 (revision 23099) ++++ target/linux/atheros/config-2.6.30 (working copy) +@@ -21,7 +21,7 @@ + # CONFIG_CAVIUM_OCTEON_SIMULATOR is not set CONFIG_CEVT_R4K=y - CONFIG_CLASSIC_RCU=y --CONFIG_CMDLINE="console=ttyS0,9600 rootfstype=squashfs,jffs2 init=/etc/preinit" -+CONFIG_CMDLINE="console=ttyS0,4800 rootfstype=squashfs,jffs2 init=/etc/preinit" + CONFIG_CEVT_R4K_LIB=y +-CONFIG_CMDLINE="console=ttyS0,9600 rootfstype=squashfs,jffs2" ++CONFIG_CMDLINE="console=ttyS0,4800 rootfstype=squashfs,jffs2" + # CONFIG_COMPAT_NET_DEV_OPS is not set CONFIG_CPU_BIG_ENDIAN=y - CONFIG_CPU_HAS_LLSC=y - CONFIG_CPU_HAS_PREFETCH=y + # CONFIG_CPU_CAVIUM_OCTEON is not set