1
#@TYPE: Machine
2
#@NAME: OMAP3 based Pandora Handheld Console
3
#@DESCRIPTION: Machine configuration for the Pandora http://www.openpandora.org/ Handheld Console
4
#@MAINTAINER: John Willis
5
6
TARGET_ARCH = "arm"
7
8
9
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-omap3pandora"
10
11
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
12
13
XSERVER = " \
14
	xserver-xorg \
15
	xserver-xorg-extension-glx \
16
	xserver-xorg-extension-dri \
17
	xf86-input-evtouch \	
18
	xf86-input-evdev \
19
	xf86-input-mouse \
20
	xf86-input-keyboard \
21
	xf86-video-omapfb \
22
"
23
24
#800 * 480 Widescreen
25
GUI_MACHINE_CLASS = "bigscreen"
26
MACHINE_GUI_CLASS = "bigscreen"
27
MACHINE_DISPLAY_WIDTH_PIXELS = "800"
28
MACHINE_DISPLAY_HEIGHT_PIXELS = "480"
29
30
#IMAGE_FSTYPES += "tar.bz2 ubi"
31
IMAGE_FSTYPES = "tar.bz2"
32
33
SERIAL_CONSOLE = "115200 ttyS0"
34
35
require conf/machine/include/omap3.inc
36
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"
40
41
# Use our 'Powered by Angstrom' splash for the images.
42
PREFERRED_PROVIDER_virtual/psplash = "psplash-omap3pandora"
43
44
KERNEL_IMAGETYPE = "uImage"
45
46
# do ubiattach /dev/ubi_ctrl -m 4
47
# From dmesg:
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"
53
54
# do ubiattach /dev/ubi_ctrl -m 4
55
# from dmesg:
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"
60
61
UBOOT_ENTRYPOINT = "0x80008000"
62
UBOOT_LOADADDRESS = "0x80008000"
63
UBOOT_ARCH = "arm"
64
UBOOT_MACHINE = "omap3_pandora_config"
65
66
PREFERRED_PROVIDER_x-load = "x-load-omap3pandora"
67
EXTRA_IMAGEDEPENDS += "u-boot x-load"
68
69
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio"