1
#@TYPE: Machine
2
#@NAME: HP iPAQ hx47xx
3
#@DESCRIPTION: Machine configuration for the hx4700 iPAQ with a pxa27x CPU
4
5
#
6
# Hardware-based properties
7
#
8
TARGET_ARCH = "arm"
9
PACKAGE_EXTRA_ARCHS = " iwmmxt  "
10
11
IMAGE_FSTYPES += "jffs2"
12
13
# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
14
require conf/machine/include/tune-xscale.inc
15
16
# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first
17
#require conf/machine/include/tune-iwmmxt.inc
18
19
ROOT_FLASH_SIZE = "80"
20
VOLATILE_STORAGE_SIZE = "64"
21
MACHINE_GUI_CLASS = "bigscreen"
22
MACHINE_DISPLAY_WIDTH_PIXELS = "480"
23
MACHINE_DISPLAY_HEIGHT_PIXELS = "640"
24
MACHINE_DISPLAY_ORIENTATION = "0"
25
MACHINE_DISPLAY_PPI = "200"
26
MACHINE_FEATURES = "alsa apm bluetooth irda kernel26 pcmcia screen touchscreen usbgadget wifi vfat"
27
MACHINE_FEATURES += "iwmmxt"
28
29
#
30
# Software/packages selection
31
#
32
PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6"
33
PCMCIA_MANAGER = "pcmciautils"
34
MODUTILS = "26"	
35
36
XSERVER = "xserver-kdrive-w100"
37
38
PREFERRED_VERSION_orinoco-modules = "0.15rc1"
39
40
MACHINE_EXTRA_RDEPENDS = "tiinit acx-firmware"
41
MACHINE_EXTRA_RRECOMMENDS = "\
42
	kernel-module-i2c-pxa \
43
	kernel-module-pxa27x-voltage \
44
	kernel-module-pxa27x-voltage-max158xx \
45
	kernel-module-acx \
46
	kernel-module-hx4700-acx \
47
	kernel-module-hx4700-bt \
48
	kernel-module-snd-hx4700-audio \
49
        keymaps"
50
51
#write out a reflash.ctl with the appriate entries for the rootfs, the ones for the kernel should already be there
52
EXTRA_IMAGECMD_jffs2 = "; sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
53
			  -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
54
			  -e 256KiB -p ; echo '${IMAGE_NAME}  ${IMAGE_NAME}.rootfs.jffs2 - root' >> ${DEPLOY_DIR_IMAGE}/reflash.ctl"
55
56
57
#
58
# Modules autoload and other boot properties
59
#
60
module_autoload_evdev = "evdev"
61
module_autoload_hx4700_power = "hx4700_power"
62
module_autoload_pcmcia = "pcmcia"
63
module_autoload_hx4700_pcmcia = "hx4700_pcmcia"
64
module_autoload_asic3_mmc = "asic3_mmc"
65
module_autoload_mmc_block = "mmc_block"
66
module_autoload_hx4700_ts = "hx4700_ts"
67
module_autoload_hx4700_navpt = "hx4700_navpt"
68
module_autoload_hx4700_bt = "hx4700_bt"
69
module_autoload_snd-hx4700_audio = "snd-hx4700_audio"
70
module_autoload_snd-pcm-oss = "snd-pcm-oss"
71
module_autoload_snd-mixer-oss = "snd-mixer-oss"
72
module_autoload_pxa27x_udc = "pxa27x_udc"
73
74
#FIXME: this should be controlled by a userspace utility later.
75
module_autoload_g_ether = "g_ether"
76
77
SERIAL_CONSOLE = "115200 ttyS0"