aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2010-10-19 12:03:21 +0000
committerKhem Raj <raj.khem@gmail.com>2010-10-20 18:30:23 -0700
commit32938da897ecaa13bfa0c58c5f74e4c819ac9c08 (patch)
tree305cb2263ad68189c15a666d21ccbc0e22cd3bdb /conf
parentf698175c2909a3df957ae12e86b61828400f9708 (diff)
downloadopenembedded-32938da897ecaa13bfa0c58c5f74e4c819ac9c08.tar.gz
openembedded-32938da897ecaa13bfa0c58c5f74e4c819ac9c08.tar.bz2
openembedded-32938da897ecaa13bfa0c58c5f74e4c819ac9c08.zip
ts72xx: update machine config
- add autoloading of common modules - specify parameters for UBIFS image - move CMDLINE to kernel - update MACHINE_FEATURES - specify KERNEL_IMAGETYPE Signed-off-by: Petr Štetiar <ynezz@true.cz> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/ts72xx.conf23
1 files changed, 21 insertions, 2 deletions
diff --git a/conf/machine/ts72xx.conf b/conf/machine/ts72xx.conf
index 3e0a8691be..f990fe03cc 100644
--- a/conf/machine/ts72xx.conf
+++ b/conf/machine/ts72xx.conf
@@ -5,11 +5,30 @@
TARGET_ARCH = "arm"
PREFERRED_PROVIDER_virtual/kernel = "linux"
+KERNEL_IMAGETYPE = "zImage"
+IMAGE_FSTYPES ?= "tar.bz2 ubi"
-MACHINE_FEATURES = "kernel26 ext2 usbhost bluetooth"
+MACHINE_FEATURES = "kernel26 ext2 usbhost usbgadget vfat"
SERIAL_CONSOLE = "115200 ttyAM0"
USE_VT = "0"
-CMDLINE = "console=ttyAM0,115200 ip=192.168.1.3:192.168.1.2:192.168.1.2:255.255.255.0 root=/dev/nfs nfsroot=192.168.1.2:/media/data/devel/oe/ts72xx-stable/tmp/deploy/glibc/images/ts72xx/nfsroot"
+
+module_autoload_ohci-hcd = "ohci-hcd"
+module_autoload_rtc-ep93xx = "rtc-ep93xx"
+module_autoload_rtc-m48t86 = "rtc-m48t86"
+module_autoload_ts72xx_sbcinfo = "ts72xx_sbcinfo"
+
+# do ubiattach /dev/ubi_ctrl -m 1
+# From dmesg:
+# UBI: physical eraseblock size: 16384 bytes (16 KiB)
+# UBI: logical eraseblock size: 15872 bytes
+# UBI: smallest flash I/O unit: 512
+# UBI: sub-page size: 256
+# UBI: VID header offset: 256 (aligned 256)
+# UBI: data offset: 512
+# From ubiattach stdout:
+# UBI device number 0, total 1856 LEBs
+MKUBIFS_ARGS = "-m 512 -e 15872 -c 1856"
+UBINIZE_ARGS = "-m 512 -p 16KiB -s 256 -O 256"
require conf/machine/include/tune-arm920t.inc