[oe-commits] Petr Štetiar : ts72xx: update machine config

git version control git at git.openembedded.org
Fri Oct 22 03:30:54 UTC 2010


Module: openembedded.git
Branch: kergoth/autotools
Commit: 32938da897ecaa13bfa0c58c5f74e4c819ac9c08
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=32938da897ecaa13bfa0c58c5f74e4c819ac9c08

Author: Petr Štetiar <ynezz at true.cz>
Date:   Tue Oct 19 12:03:21 2010 +0000

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 at true.cz>
Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 conf/machine/ts72xx.conf |   23 +++++++++++++++++++++--
 1 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/conf/machine/ts72xx.conf b/conf/machine/ts72xx.conf
index 3e0a869..f990fe0 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





More information about the Openembedded-commits mailing list