summaryrefslogtreecommitdiff
path: root/target/linux/brcm2708/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-07-24 20:39:17 +0000
committerJohn Crispin <john@openwrt.org>2012-07-24 20:39:17 +0000
commit0e9e7dcd10c4f0653252076ccc4289cfcf55c4b4 (patch)
treefe70556f494b2d1d5e055d43a38735f073a5f608 /target/linux/brcm2708/base-files
parent25482a60b34d4c4c2d6ad1dd3c65bf1e8be79472 (diff)
downloadmtk-20170518-0e9e7dcd10c4f0653252076ccc4289cfcf55c4b4.zip
mtk-20170518-0e9e7dcd10c4f0653252076ccc4289cfcf55c4b4.tar.gz
mtk-20170518-0e9e7dcd10c4f0653252076ccc4289cfcf55c4b4.tar.bz2
adds target used by rapsberry pi
Add support for Raspberry Pi / brcm2708 / 2835 Signed-off-by: Ian Ridge <ianridge [at] gmail.com> SVN-Revision: 32825
Diffstat (limited to 'target/linux/brcm2708/base-files')
-rw-r--r--target/linux/brcm2708/base-files/etc/config/network13
-rw-r--r--target/linux/brcm2708/base-files/etc/inittab5
2 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/brcm2708/base-files/etc/config/network b/target/linux/brcm2708/base-files/etc/config/network
new file mode 100644
index 0000000..1d5ded3
--- /dev/null
+++ b/target/linux/brcm2708/base-files/etc/config/network
@@ -0,0 +1,13 @@
+# 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 eth0
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
diff --git a/target/linux/brcm2708/base-files/etc/inittab b/target/linux/brcm2708/base-files/etc/inittab
new file mode 100644
index 0000000..d9d571e
--- /dev/null
+++ b/target/linux/brcm2708/base-files/etc/inittab
@@ -0,0 +1,5 @@
+::sysinit:/etc/init.d/rcS S boot
+::shutdown:/etc/init.d/rcS K shutdown
+tts/0::askfirst:/bin/ash --login
+ttyAMA0::askfirst:/bin/ash --login
+tty1::askfirst:/bin/ash --login