From 32938da897ecaa13bfa0c58c5f74e4c819ac9c08 Mon Sep 17 00:00:00 2001 From: Petr Štetiar Date: Tue, 19 Oct 2010 12:03:21 +0000 Subject: ts72xx: update machine config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 Signed-off-by: Khem Raj --- conf/machine/ts72xx.conf | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'conf') 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 -- cgit 1.2.3-korg