merge of 'ef09a721c7151f303afbf272139ccaa2a7837c95'
[vuplus_openembedded] / conf / machine / magician.conf
1 #@TYPE: Machine
2 #@NAME: HTC Magician
3 #@DESCRIPTION: Machine configuration for the HTC Magician PDA/Phone
4
5 #
6 # Hardware-based properties
7 #
8 TARGET_ARCH = "arm"
9 PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te iwmmxt  "
10
11 # Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
12 require conf/machine/include/tune-xscale.inc
13
14 # Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first
15 #require conf/machine/include/tune-iwmmxt.inc
16
17 ROOT_FLASH_SIZE = "60"
18 VOLATILE_STORAGE_SIZE = "64"
19 MACHINE_GUI_CLASS = "smallscreen"
20 MACHINE_DISPLAY_WIDTH_PIXELS = "240"
21 MACHINE_DISPLAY_HEIGHT_PIXELS = "320"
22 MACHINE_DISPLAY_ORIENTATION = "0"
23 MACHINE_DISPLAY_PPI = "142"
24 MACHINE_FEATURES = "alsa apm bluetooth irda kernel26 phone screen touchscreen usbgadget usbhost vfat"
25 MACHINE_FEATURES += "iwmmxt"
26
27 #
28 # Software/packages selection
29 #
30 PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6"
31 MODUTILS = "26" 
32 XSERVER = "xserver-kdrive-fbdev"
33 PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
34
35 PREFERRED_VERSION_orinoco-modules = "0.15rc1"
36
37 MACHINE_EXTRA_RRECOMMENDS = " \
38         kernel-module-i2c-pxa \
39         kernel-module-pxa27x-voltage \
40         kernel-module-pxa27x-voltage-max158xx \
41         kernel-module-magician-ts \
42         kernel-module-magician-phone \
43         kernel-module-magician-pm \
44         kernel-module-n-tihtc \
45         kernel-module-snd-soc-magician"
46
47 #write out a reflash.ctl with the appriate entries for the rootfs, the ones for the kernel should already be there
48 EXTRA_IMAGECMD_jffs2 = "; sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
49                           -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
50                           -e 256KiB -p ; echo '${IMAGE_NAME}  ${IMAGE_NAME}.rootfs.jffs2 - root' >> ${DEPLOY_DIR_IMAGE}/reflash.ctl"
51
52
53 #
54 # Modules autoload and other boot properties
55 #
56 module_autoload_snd-pcm-oss = "snd-pcm-oss"
57 module_autoload_snd-mixer-oss = "snd-mixer-oss"
58 module_autoload_hci_usb = "hci_usb"
59 module_autoload_pxa27x_udc = "pxa27x_udc"
60 module_autoload_magician_ts = "magician_ts"
61 module_autoload_leds-magician = "leds-magician"
62 module_autoload_magician_phone = "magician_phone"
63 module_autoload_magician_pm = "magician_pm"
64 module_autoload_n_tihtc = "n_tihtc"
65 module_autoload_snd-soc-magician = "snd-soc-magician"
66
67 #FIXME: this should be controlled by a userspace utility later.
68 module_autoload_g_ether = "g_ether"