NSLU2 updates:
authorChris Larson <clarson@kergoth.com>
Sat, 18 Sep 2004 06:14:44 +0000 (06:14 +0000)
committerChris Larson <clarson@kergoth.com>
Sat, 18 Sep 2004 06:14:44 +0000 (06:14 +0000)
  * New nslu2 specific fstab.
  * Add nslu2_flashing.oeclass, which does the work of packing a linksys
    firmware image, suitable for flashing.
  * Ensure that the AnyU2 and Unslung distributions INHERIT this oeclass.
  * nslu2.conf: setup serial console, disable use of VTs, set image rootfs
    size for the ext2 and ext2.gz image types.

BKrev: 414bd254N1gTtvslWXciKcY5qjdBDQ

base-files/base-files/nslu2/fstab
classes/nslu2_flashimg.oeclass [new file with mode: 0644]
conf/anyu2.conf
conf/nslu2.conf
conf/unslung.conf

index e69de29..133f27e 100644 (file)
@@ -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 (file)
index 0000000..e69de29
index efd3419..567e104 100644 (file)
@@ -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"
index e69de29..191224e 100644 (file)
@@ -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"
index fb71f80..331ce2d 100644 (file)
@@ -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"