From 49b34728f956238c5fdbec568be0247fb8be95c6 Mon Sep 17 00:00:00 2001 From: thl Date: Thu, 20 Nov 2008 18:31:00 +0000 Subject: [ifxmips] 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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13295 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ifxmips/nfs/base-files/etc/config/network | 7 +++++++ target/linux/ifxmips/nfs/base-files/etc/preinit.arch | 3 +++ target/linux/ifxmips/nfs/config-2.6.26 | 16 ++++++++++++++++ target/linux/ifxmips/nfs/target.mk | 8 ++++++++ 4 files changed, 34 insertions(+) create mode 100644 target/linux/ifxmips/nfs/base-files/etc/config/network create mode 100755 target/linux/ifxmips/nfs/base-files/etc/preinit.arch create mode 100644 target/linux/ifxmips/nfs/config-2.6.26 create mode 100644 target/linux/ifxmips/nfs/target.mk (limited to 'target/linux/ifxmips/nfs') 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 000000000..f2e8a5ecd --- /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 000000000..61662bc21 --- /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 000000000..137af82d4 --- /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 000000000..8d454e279 --- /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 + -- cgit v1.2.3