aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
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
commit4a1af8218a5070960387f2b0616fbe9ba3da69ab (patch)
tree0a32806525882be053626b76c2b204de0f6cf963 /target/linux/ar71xx
parentab7bb7c461105bc921c6d697949cc9cdefde0714 (diff)
downloadupstream-4a1af8218a5070960387f2b0616fbe9ba3da69ab.tar.gz
upstream-4a1af8218a5070960387f2b0616fbe9ba3da69ab.tar.bz2
upstream-4a1af8218a5070960387f2b0616fbe9ba3da69ab.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28699 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-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