summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base-files/base-files/nslu2/fstab5
-rw-r--r--classes/nslu2_flashimg.oeclass0
-rw-r--r--conf/anyu2.conf2
-rw-r--r--conf/nslu2.conf18
-rw-r--r--conf/unslung.conf5
5 files changed, 27 insertions, 3 deletions
diff --git a/base-files/base-files/nslu2/fstab b/base-files/base-files/nslu2/fstab
index e69de29bb2..133f27e26c 100644
--- a/base-files/base-files/nslu2/fstab
+++ b/base-files/base-files/nslu2/fstab
@@ -0,0 +1,5 @@
+/dev/ram0 / ext2 defaults 1 1
+proc /proc proc defaults 0 0
+tmpfs /var tmpfs defaults 0 0
+tmpfs /mnt/ram tmpfs defaults 0 0
+usbdevfs /proc/bus/usb usbdevfs noauto 0 0
diff --git a/classes/nslu2_flashimg.oeclass b/classes/nslu2_flashimg.oeclass
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/classes/nslu2_flashimg.oeclass
diff --git a/conf/anyu2.conf b/conf/anyu2.conf
index efd341927c..567e104947 100644
--- a/conf/anyu2.conf
+++ b/conf/anyu2.conf
@@ -2,6 +2,6 @@
#@NAME: AnyU2
#@DESCRIPTION: AnyU2 Linux Distribution configuration
-INHERIT += " package_ipk debian"
+INHERIT += " package_ipk debian nslu2_flashimg"
IMAGE_FSTYPE = "ext2.gz"
diff --git a/conf/nslu2.conf b/conf/nslu2.conf
index e69de29bb2..191224efaa 100644
--- a/conf/nslu2.conf
+++ b/conf/nslu2.conf
@@ -0,0 +1,18 @@
+#@TYPE: Machine
+#@NAME: Linksys NSLU2
+#@DESCRIPTION: Machine configuration for the Linksys NSLU2 product
+
+TARGET_ARCH = "armeb"
+IPKG_ARCHS = "all ${TARGET_ARCH} armv5te ${MACHINE}"
+PREFERRED_PROVIDER_xserver ?= "xserver-kdrive"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-nslu2"
+BOOTSTRAP_EXTRA_DEPENDS += "virtual/kernel"
+
+IMAGE_ROOTFS_SIZE_ext2 = "8192"
+IMAGE_ROOTFS_SIZE_ext2.gz = "8192"
+
+include tune-xscale.conf
+
+SERIAL_CONSOLE = "115200 ttyS0"
+KERNEL_CONSOLE = "ttyS0,115200n8"
+USE_VT = "0"
diff --git a/conf/unslung.conf b/conf/unslung.conf
index fb71f80f3a..331ce2d3f9 100644
--- a/conf/unslung.conf
+++ b/conf/unslung.conf
@@ -2,7 +2,8 @@
#@NAME: Unslung Linux
#@DESCRIPTION: Distribution for packages to be run on the Linksys firmware in the NSLU2
-INHERIT += " package_ipk debian"
+INHERIT += " package_ipk debian nslu2_flashimg"
+IMAGE_FSTYPE = "ext2.gz"
+
PREFERRED_VERSION_glibc ?= "2.2.5"
PREFERRED_VERSION_glibc-initial ?= "2.2.5"
-IMAGE_FSTYPE = "ext2.gz"