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