* 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
+/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
#@NAME: AnyU2
#@DESCRIPTION: AnyU2 Linux Distribution configuration
-INHERIT += " package_ipk debian"
+INHERIT += " package_ipk debian nslu2_flashimg"
IMAGE_FSTYPE = "ext2.gz"
+#@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"
#@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"