aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-01 09:23:31 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-01 09:23:31 +0000
commitf40557a692349f487ad94f1096b4f3b6e72749a2 (patch)
tree8c27bca182927c0605ac50ac159238dd897f2ad0 /target/linux/ar71xx/base-files
parentdf4579dc6471ca32ccee9f1b8be43fd98565a70c (diff)
downloadupstream-f40557a692349f487ad94f1096b4f3b6e72749a2.tar.gz
upstream-f40557a692349f487ad94f1096b4f3b6e72749a2.tar.bz2
upstream-f40557a692349f487ad94f1096b4f3b6e72749a2.zip
ar71xx/all0258n: add default config
This adds default network and uboot-env settings for the ALL0258N. Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 28699
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/all0258n/network12
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/all0258n/ubootenv5
2 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/all0258n/network b/target/linux/ar71xx/base-files/etc/defconfig/all0258n/network
new file mode 100644
index 0000000000..81ddd9fb29
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/defconfig/all0258n/network
@@ -0,0 +1,12 @@
+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 eth1'
+ option type bridge
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/all0258n/ubootenv b/target/linux/ar71xx/base-files/etc/defconfig/all0258n/ubootenv
new file mode 100644
index 0000000000..31af7266e4
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/defconfig/all0258n/ubootenv
@@ -0,0 +1,5 @@
+config ubootenv
+ option dev /dev/mtd1
+ option offset 0x0
+ option envsize 0x10000
+ option secsize 0x10000