1 # use this for overrides
2 MACHINE_CLASS = "motorola-ezx"
5 # Hardware-based properties
9 # Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
10 require conf/machine/include/tune-xscale.inc
12 # Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first
13 #require conf/machine/include/tune-iwmmxt.inc
16 #dev: size erasesize name
17 #mtd0: 00020000 00008000 "Bootloader"
18 #mtd1: 000e0000 00020000 "Kernel"
19 #mtd2: 00580000 00020000 "VFM_Filesystem"
20 #mtd3: 00020000 00020000 "Logo"
22 ROOT_FLASH_SIZE = "24"
23 MACHINE_GUI_CLASS = "smallscreen"
24 MACHINE_DISPLAY_WIDTH_PIXELS = "240"
25 MACHINE_DISPLAY_HEIGHT_PIXELS = "320"
26 MACHINE_DISPLAY_ORIENTATION = "0"
27 MACHINE_DISPLAY_PPI = "180"
28 MACHINE_FEATURES = "alsa apm bluetooth kernel26 keyboard phone screen touchscreen usbgadget usbhost vfat"
29 MACHINE_FEATURES += " iwmmxt"
31 # Comment this out if you change to tune-iwmmxt.inc above
32 PACKAGE_EXTRA_ARCHS += "iwmmxt"
35 # Software/packages selection
37 PREFERRED_PROVIDER_virtual/kernel ?= "openezx-kernel"
39 XSERVER = "xserver-kdrive-fbdev"
40 PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
42 IMAGE_FSTYPES ?= "jffs2"
43 EXTRA_IMAGECMD_jffs2 = "--pad=14680064 --little-endian --eraseblock=0x20000 -n"
45 # In order to enable UIBIFS add "uibi and ubifs"
46 #IMAGE_FSTYPES += "ubi ubifs"
49 # UBI: smallest flash I/O unit: 1
50 # UBI: logical eraseblock size: 131072 bytes
51 # from ubiattach stdout:
52 # UBI device number 0, total 1996 LEBs
53 MKUBIFS_ARGS = "-m 1 -e 130944 -c 487"
56 # UBI: smallest flash I/O unit: 1
57 # UBI: physical eraseblock size: 131072 bytes (128 KiB)
58 # UBI: sub-page size: 512
59 UBINIZE_ARGS = "-m 1 -p 128KiB "
62 EXTRA_IMAGEDEPENDS += "moto-boot-usb-native ezx-gen-blob"
64 IMAGE_INSTALL_append += "\
65 kernel-module-ohci-hcd \
66 kernel-module-moto-usb-ipc \
67 kernel-module-ts27010mux \
70 # Ezxd needs to be started very early so we need the mux devices in static /dev
71 IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt \
72 files/device_table-ezx.txt"
74 SERIAL_CONSOLE = "115200 ttyS0"