diff options
author | Siebren Hakkesteegt <shakkesteegt+oe@gmail.com> | 2010-04-14 03:26:36 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2010-04-15 14:41:56 +0200 |
commit | e60f96375915cf93f33222c1097a0828f19c38ea (patch) | |
tree | 500a669840996b8b9e1f98f7617b530ad93b12d1 /conf | |
parent | 7d73b5d57a8744f495a5978c598e39b869614651 (diff) |
cm-x300: add machine configuration
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/cm-x300.conf | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/conf/machine/cm-x300.conf b/conf/machine/cm-x300.conf new file mode 100644 index 0000000000..8e78ace10f --- /dev/null +++ b/conf/machine/cm-x300.conf @@ -0,0 +1,37 @@ +#@TYPE: Machine +#@NAME: Compulab CM-X300 +#@DESCRIPTION: Machine configuration for the Compulab CM-X300 (http://www.compulab.co.il/x300/html/x300-cm-datasheet.htm) + +TARGET_ARCH = "arm" + +PREFERRED_PROVIDER_virtual/kernel = "linux" + +KERNEL_IMAGETYPE = "uImage" +UBOOT_ENTRYPOINT = "A0008000" + +require conf/machine/include/tune-xscale.inc +PACKAGE_EXTRA_ARCHS = "armv5te iwmmxt" + +CMX300_CONSOLE_SERIAL_PORT ?= "ttyS2" +SERIAL_CONSOLE ?= "38400 ${CMX300_CONSOLE_SERIAL_PORT}" + +CMDLINE_cm-x300 = "ubi.mtd=5 root=ubi0:cm-x300-rootfs rootfstype=ubifs console=${CMX300_CONSOLE_SERIAL_PORT},38400" + +IMAGE_FSTYPES += "ubi" + +# do ubiattach /dev/ubi_ctrl -m 4 +# From dmesg: +# UBI: smallest flash I/O unit: 2048 +# UBI: logical eraseblock size: 126976 bytes +# from ubiattach stdout: +# UBI device number 0, total 4095 LEBs +MKUBIFS_ARGS = "-m 2048 -e 126976 -c 4095" + +# do ubiattach /dev/ubi_ctrl -m 4 +# from dmesg: +# UBI: smallest flash I/O unit: 2048 +# UBI: physical eraseblock size: 131072 bytes (128 KiB) +UBINIZE_ARGS = "-m 2048 -p 128KiB " + +MACHINE_EXTRA_RRECOMMENDS = "marvell-sdio-fw" +MACHINE_FEATURES = "kernel26 touchscreen alsa bluetooth wifi usbhost usbgadget screen serial vfat iwmmxt" |