summaryrefslogtreecommitdiff
path: root/conf/machine/cm-x300.conf
blob: 8e78ace10fc19ea858108842ef51103abc2c3907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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"