2 #@NAME: OMAP3 based Pandora Handheld Console
3 #@DESCRIPTION: Machine configuration for the Pandora http://www.openpandora.org/ Handheld Console
4 #@MAINTAINER: John Willis
9 PREFERRED_PROVIDER_u-boot = "u-boot-omap3pandora"
11 PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
15 xserver-xorg-extension-glx \
16 xserver-xorg-extension-dri \
25 GUI_MACHINE_CLASS = "bigscreen"
26 MACHINE_GUI_CLASS = "bigscreen"
27 MACHINE_DISPLAY_WIDTH_PIXELS = "800"
28 MACHINE_DISPLAY_HEIGHT_PIXELS = "480"
30 #IMAGE_FSTYPES += "tar.bz2 ubi"
31 IMAGE_FSTYPES = "tar.bz2"
33 SERIAL_CONSOLE = "115200 ttyS0"
35 require conf/machine/include/omap3.inc
37 # Put it below omap3.inc as we override the kernel and PR here
38 PREFERRED_PROVIDER_virtual/kernel = "${MACHINE}-kernel"
39 MACHINE_KERNEL_PR = "r2"
41 # Use our 'Powered by Angstrom' splash for the images.
42 PREFERRED_PROVIDER_virtual/psplash = "psplash-omap3pandora"
44 KERNEL_IMAGETYPE = "uImage"
46 # do ubiattach /dev/ubi_ctrl -m 4
48 # UBI: smallest flash I/O unit: 2048
49 # UBI: logical eraseblock size: 129024 bytes
50 # from ubiattach stdout:
51 # UBI device number 0, total 1996 LEBs
52 MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
54 # do ubiattach /dev/ubi_ctrl -m 4
56 # UBI: smallest flash I/O unit: 2048
57 # UBI: physical eraseblock size: 131072 bytes (128 KiB)
58 # UBI: sub-page size: 512
59 UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
61 UBOOT_ENTRYPOINT = "0x80008000"
62 UBOOT_LOADADDRESS = "0x80008000"
64 UBOOT_MACHINE = "omap3_pandora_config"
66 PREFERRED_PROVIDER_u-boot = "u-boot-omap3pandora"
67 PREFERRED_PROVIDER_x-load = "x-load-omap3pandora"
68 PREFERRED_VERSION_u-boot-omap3pandora = "git"
69 PREFERRED_VERSION_x-load-omap3pandora = "git"
70 EXTRA_IMAGEDEPENDS += "u-boot x-load"
72 MACHINE_FEATURES = "kernel26 apm usbgadget usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio"