summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-03 22:29:32 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-03 22:29:32 +0000
commit70892bea5f7cc00ca2f4d51b4ac3604ef3c6d78f (patch)
treee36c3e22dfe097aa57e33da5f788bd415dcc34df
parent2a63954abc085ab8d6c38a9b70acdeeaec653a75 (diff)
several changes to the basefiles for cris target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7484 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/etrax-2.6/Makefile2
-rw-r--r--target/linux/etrax-2.6/base-files.mk5
-rw-r--r--target/linux/etrax-2.6/base-files/default/etc/config/network13
-rw-r--r--target/linux/etrax-2.6/base-files/default/etc/inittab5
-rw-r--r--target/linux/etrax-2.6/base-files/default/etc/passwd2
-rw-r--r--target/linux/etrax-2.6/config/default9
6 files changed, 30 insertions, 6 deletions
diff --git a/target/linux/etrax-2.6/Makefile b/target/linux/etrax-2.6/Makefile
index ab63ff619..7c9b76fa6 100644
--- a/target/linux/etrax-2.6/Makefile
+++ b/target/linux/etrax-2.6/Makefile
@@ -31,6 +31,8 @@ define Kernel/Prepare
$(call Kernel/Prepare/Fox)
endef
+DEFAULT_PACKAGES += foxboard-utils
+
$(eval $(call RequireCommand,/usr/local/cris/gcc-cris, \
Please install the binary cris toolchain. \
))
diff --git a/target/linux/etrax-2.6/base-files.mk b/target/linux/etrax-2.6/base-files.mk
new file mode 100644
index 000000000..de72e4dd6
--- /dev/null
+++ b/target/linux/etrax-2.6/base-files.mk
@@ -0,0 +1,5 @@
+define Package/base-files/install-target
+ mkdir $(1)/root
+endef
+
+
diff --git a/target/linux/etrax-2.6/base-files/default/etc/config/network b/target/linux/etrax-2.6/base-files/default/etc/config/network
new file mode 100644
index 000000000..50daf5c3f
--- /dev/null
+++ b/target/linux/etrax-2.6/base-files/default/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.0.90
+ option netmask 255.255.255.0
diff --git a/target/linux/etrax-2.6/base-files/default/etc/inittab b/target/linux/etrax-2.6/base-files/default/etc/inittab
deleted file mode 100644
index dfcf1de05..000000000
--- a/target/linux/etrax-2.6/base-files/default/etc/inittab
+++ /dev/null
@@ -1,5 +0,0 @@
-::sysinit:/etc/init.d/rcS S boot
-::shutdown:/etc/init.d/rcS K stop
-console::askfirst:/bin/ash --login
-tts/0::askfirst:/bin/ash --login
-tty1::askfirst:/bin/ash --login
diff --git a/target/linux/etrax-2.6/base-files/default/etc/passwd b/target/linux/etrax-2.6/base-files/default/etc/passwd
new file mode 100644
index 000000000..c5c9e46cc
--- /dev/null
+++ b/target/linux/etrax-2.6/base-files/default/etc/passwd
@@ -0,0 +1,2 @@
+root:$1$6upaSrHM$W/0IQ8kf7IYxCxEkJQ2D60:0:0:root:/root:/bin/ash
+nobody:*:65534:65534:nobody:/var:/bin/false
diff --git a/target/linux/etrax-2.6/config/default b/target/linux/etrax-2.6/config/default
index 39e4572b5..29f18d678 100644
--- a/target/linux/etrax-2.6/config/default
+++ b/target/linux/etrax-2.6/config/default
@@ -1,5 +1,6 @@
CONFIG_BASE_SMALL=0
# CONFIG_BLK_DEV_INITRD is not set
+CONFIG_BLK_DEV_SD=y
CONFIG_CRIS=y
# CONFIG_ETRAX100LX is not set
CONFIG_ETRAX100LX_V2=y
@@ -143,6 +144,7 @@ CONFIG_GENERIC_IOMAP=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_IRQ_PER_CPU=y
CONFIG_JFFS2_FS_DEBUG=0
+CONFIG_MSDOS_FS=y
CONFIG_MTD=y
CONFIG_MTDRAM_ABS_POS=0x0
CONFIG_MTDRAM_ERASE_SIZE=128
@@ -192,10 +194,13 @@ CONFIG_MTD_PARTITIONS=y
# CONFIG_MTD_REDBOOT_PARTS is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_SLRAM is not set
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_ISO8859_1=y
# CONFIG_OOM_REBOOT is not set
# CONFIG_OVERRIDE_SCHED_STARVATION_LIMIT is not set
# CONFIG_RTC is not set
CONFIG_RWSEM_GENERIC_SPINLOCK=y
+CONFIG_SCSI=y
# CONFIG_SERIAL_8250 is not set
# CONFIG_SMP is not set
# CONFIG_SOFT_WATCHDOG is not set
@@ -211,4 +216,6 @@ CONFIG_USB=y
# CONFIG_USB_ARCH_HAS_HCD is not set
# CONFIG_USB_ARCH_HAS_OHCI is not set
# CONFIG_USB_SERIAL_IR is not set
-# CONFIG_BLK_DEV_INITRD is not set
+CONFIG_USB_STORAGE=y
+CONFIG_VFAT_FS=y
+# CONFIG_VLAN_8021Q is not set