several changes to the basefiles for cris target
authorJohn Crispin <john@openwrt.org>
Sun, 3 Jun 2007 22:29:32 +0000 (22:29 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 3 Jun 2007 22:29:32 +0000 (22:29 +0000)
SVN-Revision: 7484

target/linux/etrax-2.6/Makefile
target/linux/etrax-2.6/base-files.mk [new file with mode: 0644]
target/linux/etrax-2.6/base-files/default/etc/config/network [new file with mode: 0644]
target/linux/etrax-2.6/base-files/default/etc/inittab [deleted file]
target/linux/etrax-2.6/base-files/default/etc/passwd [new file with mode: 0644]
target/linux/etrax-2.6/config/default

index ab63ff619f1d3a12648982e6b9b5c1227bc0787a..7c9b76fa65a32a82f39686e2d52607e1abbc6967 100644 (file)
@@ -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 (file)
index 0000000..de72e4d
--- /dev/null
@@ -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 (file)
index 0000000..50daf5c
--- /dev/null
@@ -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 (file)
index dfcf1de..0000000
+++ /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 (file)
index 0000000..c5c9e46
--- /dev/null
@@ -0,0 +1,2 @@
+root:$1$6upaSrHM$W/0IQ8kf7IYxCxEkJQ2D60:0:0:root:/root:/bin/ash
+nobody:*:65534:65534:nobody:/var:/bin/false
index 39e4572b544c39e5230c1ae79e3477bc497b2ca3..29f18d67838a6c1c322878c753d6096cc8295bef 100644 (file)
@@ -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