51ea39afaf1ea516101bba3523b33667822ce1b3
[openembedded.git] / conf / machine / omap3-pandora.conf
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 # Make sure we are using a recent XOrg X server
9 # (kDrive never really worked well on OMAP3 ;))
10 PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
11
12 XSERVER = " \
13         xserver-xorg \
14         xserver-xorg-extension-dri2 \
15         xf86-input-tslib \
16         xf86-input-evdev \
17         xf86-input-mouse \
18         xf86-input-keyboard \
19         xf86-video-omapfb \
20         xf86-video-fbdev \
21 "
22
23 #800 * 480 Widescreen
24 GUI_MACHINE_CLASS = "bigscreen"
25 MACHINE_GUI_CLASS = "bigscreen"
26 MACHINE_DISPLAY_WIDTH_PIXELS = "800"
27 MACHINE_DISPLAY_HEIGHT_PIXELS = "480"
28
29 IMAGE_FSTYPES = "tar.bz2 ubifs"
30
31 SERIAL_CONSOLE = "115200 ttyS0"
32
33 require conf/machine/include/omap3.inc
34
35 # Put it below omap3.inc as we override the kernel and PR here
36 PREFERRED_PROVIDER_virtual/kernel = "${MACHINE}-kernel"
37 MACHINE_KERNEL_PR = "r26"
38
39 # Use our 'Powered by Angstrom' splash for the images.
40 PREFERRED_PROVIDER_virtual/psplash = "psplash-omap3pandora"
41
42 KERNEL_IMAGETYPE = "uImage"
43
44 # do ubiattach /dev/ubi_ctrl -m 4
45 # From dmesg:
46 # UBI: logical eraseblock size:    129024 bytes
47 # UBI: smallest flash I/O unit:    2048
48 # from ubiattach stdout:
49 # UBI device number 0, total 4042 LEBs
50
51 MKUBIFS_ARGS = "-m 2048 -e 129024 -c 4042 -x favor_lzo -X 20"
52
53 # do ubiattach /dev/ubi_ctrl -m 4
54 # from dmesg:
55 # UBI: smallest flash I/O unit:    2048
56 # UBI: physical eraseblock size:   131072 bytes (128 KiB)
57 # UBI: sub-page size:              512
58 UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
59
60 UBOOT_ENTRYPOINT = "0x80008000"
61 UBOOT_LOADADDRESS = "0x80008000"
62 UBOOT_ARCH = "arm"
63 UBOOT_MACHINE = "omap3_pandora_config"
64
65 PREFERRED_PROVIDER_u-boot = "u-boot-omap3pandora"
66 PREFERRED_PROVIDER_x-load = "x-load-omap3pandora"
67
68 MACHINE_FEATURES = "kernel26 apm usbgadget usbhost keyboard vfat ext2 screen touchscreen alsa bluetooth wifi sdio"