| 1 |
#@TYPE: Machine |
| 2 |
#@NAME: omapzoom2 machine |
| 3 |
#@DESCRIPTION: Machine configuration for the zoom2 at http://omapzoom.org |
| 4 |
TARGET_ARCH = "arm" |
| 5 |
|
| 6 |
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" |
| 7 |
XSERVER = "xserver-xorg \ |
| 8 |
xf86-input-evdev \ |
| 9 |
xf86-input-tslib \ |
| 10 |
xf86-input-mouse \ |
| 11 |
xf86-video-omapfb \ |
| 12 |
xf86-video-fbdev \ |
| 13 |
xf86-input-keyboard" |
| 14 |
|
| 15 |
# Only has DVI connector for external screen |
| 16 |
GUI_MACHINE_CLASS = "bigscreen" |
| 17 |
|
| 18 |
require conf/machine/include/omap3.inc |
| 19 |
|
| 20 |
IMAGE_FSTYPES += "tar.bz2 jffs2" |
| 21 |
EXTRA_IMAGECMD_jffs2 = "-lnp " |
| 22 |
|
| 23 |
SERIAL_CONSOLE = "115200 ttyS0" |
| 24 |
|
| 25 |
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-zoomsync" |
| 26 |
|
| 27 |
KERNEL_IMAGETYPE = "uImage" |
| 28 |
|
| 29 |
UBOOT_ENTRYPOINT = "0x80008000" |
| 30 |
UBOOT_LOADADDRESS = "0x80008000" |
| 31 |
UBOOT_MACHINE = "omap3430zoom2_config" |
| 32 |
XLOAD_MACHINE = "omap3430zoom2_config" |
| 33 |
|
| 34 |
# do ubiattach /dev/ubi_ctrl -m 4 |
| 35 |
# From dmesg: |
| 36 |
# UBI: smallest flash I/O unit: 2048 |
| 37 |
# UBI: logical eraseblock size: 129024 bytes |
| 38 |
# from ubiattach stdout: |
| 39 |
# UBI device number 0, total 1996 LEBs |
| 40 |
MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996" |
| 41 |
|
| 42 |
# do ubiattach /dev/ubi_ctrl -m 4 |
| 43 |
# from dmesg: |
| 44 |
# UBI: smallest flash I/O unit: 2048 |
| 45 |
# UBI: physical eraseblock size: 131072 bytes (128 KiB) |
| 46 |
# UBI: sub-page size: 512 |
| 47 |
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512" |
| 48 |
|
| 49 |
|
| 50 |
#EXTRA_IMAGEDEPENDS += "u-boot x-load" |
| 51 |
|
| 52 |
MACHINE_EXTRA_RRECOMMENDS = "" |
| 53 |
# and sdio |
| 54 |
MACHINE_FEATURES = "kernel26 touchscreen phone screen apm usbgadget usbhost vfat alsa" |