summaryrefslogtreecommitdiff
path: root/target/linux/ifxmips/nfs
diff options
context:
space:
mode:
authorThomas Langer <thomas.langer@lantiq.com>2008-11-20 18:31:00 +0000
committerThomas Langer <thomas.langer@lantiq.com>2008-11-20 18:31:00 +0000
commit1bc6841c8dff78e1b8bafb53dbea352b56a56d65 (patch)
treecb679195b46e22f043b2b7a51d4f3187bacfee12 /target/linux/ifxmips/nfs
parent88dd88931466259ca3b785de42f8088274348081 (diff)
downloadmtk-20170518-1bc6841c8dff78e1b8bafb53dbea352b56a56d65.zip
mtk-20170518-1bc6841c8dff78e1b8bafb53dbea352b56a56d65.tar.gz
mtk-20170518-1bc6841c8dff78e1b8bafb53dbea352b56a56d65.tar.bz2
some cleanups: - fix CPUID detection - update MTD map for checks and sysupgrade - enable subtargets (Generic&NFS) for simpler development - generic cleanups (e.g. from linux checkpatch.pl)
SVN-Revision: 13295
Diffstat (limited to 'target/linux/ifxmips/nfs')
-rw-r--r--target/linux/ifxmips/nfs/base-files/etc/config/network7
-rwxr-xr-xtarget/linux/ifxmips/nfs/base-files/etc/preinit.arch3
-rw-r--r--target/linux/ifxmips/nfs/config-2.6.2616
-rw-r--r--target/linux/ifxmips/nfs/target.mk8
4 files changed, 34 insertions, 0 deletions
diff --git a/target/linux/ifxmips/nfs/base-files/etc/config/network b/target/linux/ifxmips/nfs/base-files/etc/config/network
new file mode 100644
index 0000000..f2e8a5e
--- /dev/null
+++ b/target/linux/ifxmips/nfs/base-files/etc/config/network
@@ -0,0 +1,7 @@
+# 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
diff --git a/target/linux/ifxmips/nfs/base-files/etc/preinit.arch b/target/linux/ifxmips/nfs/base-files/etc/preinit.arch
new file mode 100755
index 0000000..61662bc
--- /dev/null
+++ b/target/linux/ifxmips/nfs/base-files/etc/preinit.arch
@@ -0,0 +1,3 @@
+
+echo "- init nfs -"
+exec /sbin/init
diff --git a/target/linux/ifxmips/nfs/config-2.6.26 b/target/linux/ifxmips/nfs/config-2.6.26
new file mode 100644
index 0000000..137af82
--- /dev/null
+++ b/target/linux/ifxmips/nfs/config-2.6.26
@@ -0,0 +1,16 @@
+CONFIG_CRYPTO_ALGAPI=y
+CONFIG_CRYPTO_BLKCIPHER=y
+CONFIG_CRYPTO_CBC=y
+CONFIG_CRYPTO_DES=y
+CONFIG_CRYPTO_MANAGER=y
+CONFIG_CRYPTO_MD5=y
+CONFIG_IP_PNP=y
+# CONFIG_IP_PNP_BOOTP is not set
+# CONFIG_IP_PNP_DHCP is not set
+# CONFIG_IP_PNP_RARP is not set
+CONFIG_LOCKD=y
+CONFIG_NFS_FS=y
+CONFIG_ROOT_NFS=y
+CONFIG_RPCSEC_GSS_KRB5=y
+CONFIG_SUNRPC=y
+CONFIG_SUNRPC_GSS=y
diff --git a/target/linux/ifxmips/nfs/target.mk b/target/linux/ifxmips/nfs/target.mk
new file mode 100644
index 0000000..8d454e2
--- /dev/null
+++ b/target/linux/ifxmips/nfs/target.mk
@@ -0,0 +1,8 @@
+BOARDNAME:=NFS Root
+FEATURES:=tgz
+DEVICE_TYPE:=modem
+
+define Target/Description
+ Build images for Infineon CPE devices for NFS boot
+endef
+