summaryrefslogtreecommitdiff
path: root/target/linux/omap35xx/gumstix/base-files
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2011-08-19 12:00:08 +0000
committerHamish Guthrie <hcg@openwrt.org>2011-08-19 12:00:08 +0000
commit048d4aca762c0b7e0e1ed1c55cc6502a30d9be59 (patch)
tree4a4cfd772a83e47449e0c81b186968636c23f420 /target/linux/omap35xx/gumstix/base-files
parent464539b074c43483df2c613f0bf609933000014c (diff)
downloadmtk-20170518-048d4aca762c0b7e0e1ed1c55cc6502a30d9be59.zip
mtk-20170518-048d4aca762c0b7e0e1ed1c55cc6502a30d9be59.tar.gz
mtk-20170518-048d4aca762c0b7e0e1ed1c55cc6502a30d9be59.tar.bz2
omap35xx: Add 3.0.3 kernel support for Gumstix
SVN-Revision: 28047
Diffstat (limited to 'target/linux/omap35xx/gumstix/base-files')
-rw-r--r--target/linux/omap35xx/gumstix/base-files/etc/config/network15
-rw-r--r--target/linux/omap35xx/gumstix/base-files/etc/inittab2
-rw-r--r--target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho2
3 files changed, 17 insertions, 2 deletions
diff --git a/target/linux/omap35xx/gumstix/base-files/etc/config/network b/target/linux/omap35xx/gumstix/base-files/etc/config/network
new file mode 100644
index 0000000..bcb4c4b
--- /dev/null
+++ b/target/linux/omap35xx/gumstix/base-files/etc/config/network
@@ -0,0 +1,15 @@
+# Copyright (C) 2006 OpenWrt.org
+
+config interface loopback
+ option ifname lo
+ option proto static
+ option ipaddr 127.0.0.1
+ option netmask 255.0.0.0
+
+config interface lan
+ option ifname wlan0
+ option proto dhcp
+
+config interface wan
+ option ifname eth0
+ option proto dhcp
diff --git a/target/linux/omap35xx/gumstix/base-files/etc/inittab b/target/linux/omap35xx/gumstix/base-files/etc/inittab
index f739373..be8fba1 100644
--- a/target/linux/omap35xx/gumstix/base-files/etc/inittab
+++ b/target/linux/omap35xx/gumstix/base-files/etc/inittab
@@ -1,5 +1,5 @@
# inittab for Gumstix board
::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K stop
-ttyS2::askfirst:/bin/ash --login
+ttyO2::askfirst:/bin/ash --login
tty1::askfirst:/bin/ash --login
diff --git a/target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho b/target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho
index 66b0bf9..319f513 100644
--- a/target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho
+++ b/target/linux/omap35xx/gumstix/base-files/lib/preinit/95_ttyS1_noecho
@@ -2,7 +2,7 @@
# Copyright (C) 2010 OpenWrt.org
ttyS1_noecho() {
- stty -echo < /dev/ttyS1
+ stty -echo < /dev/ttyO1
}
boot_hook_add preinit_main ttyS1_noecho