aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/hx4700.conf
blob: 3f2a90be07a250657de17d7489ef7a6bdca6affb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#@TYPE: Machine
#@NAME: HP iPAQ hx47xx
#@DESCRIPTION: Machine configuration for the hx4700 iPAQ with a pxa27x CPU

#
# Hardware-based properties
#
require conf/machine/include/arm/armv5/tune-xscale.inc

MACHINE_FEATURES += "iwmmxt"
PACKAGE_EXTRA_ARCHS:tune-xscale += "iwmmxt"

MACHINE_GUI_CLASS = "bigscreen"
MACHINE_DISPLAY_WIDTH_PIXELS = "480"
MACHINE_DISPLAY_HEIGHT_PIXELS = "640"
MACHINE_FEATURES = "alsa apm bluetooth irda pcmcia screen touchscreen usbgadget wifi vfat"

#
# Software/packages selection
#
PREFERRED_PROVIDER_virtual/kernel = "linux-handheld"

XSERVER = "xserver-xorg \
           xf86-input-evdev \
           xf86-video-fbdev"

MACHINE_EXTRA_RDEPENDS = "tiinit acx-firmware"
MACHINE_EXTRA_RRECOMMENDS = "\
	kernel-module-i2c-pxa \
	kernel-module-pxa27x-voltage \
	kernel-module-pxa27x-voltage-max158xx \
	kernel-module-acx \
	kernel-module-hx4700-acx \
	kernel-module-hx4700-bt \
	kernel-module-snd-hx4700-audio \
        keymaps"

IMAGE_FSTYPES += "tar.gz jffs2"
JFFS2_ERASEBLOCK = "0x40000"

#write out a reflash.ctl with the appriate entries for the rootfs, the ones for the kernel should already be there
EXTRA_IMAGECMD:jffs2:append = " ; echo '${IMAGE_NAME}  ${IMAGE_NAME}.rootfs.jffs2 - root' >> ${IMGDEPLOYDIR}/reflash.ctl"

#
# Modules autoload and other boot properties
#
module_autoload:evdev = "evdev"
module_autoload:hx4700_power = "hx4700_power"
module_autoload:pcmcia = "pcmcia"
module_autoload:hx4700_pcmcia = "hx4700_pcmcia"
module_autoload:asic3_mmc = "asic3_mmc"
module_autoload:mmc_block = "mmc_block"
module_autoload:hx4700_ts = "hx4700_ts"
module_autoload:hx4700_navpt = "hx4700_navpt"
module_autoload:hx4700_bt = "hx4700_bt"
module_autoload:snd-hx4700_audio = "snd-hx4700_audio"
module_autoload:snd-pcm-oss = "snd-pcm-oss"
module_autoload:snd-mixer-oss = "snd-mixer-oss"
module_autoload:pxa27x_udc = "pxa27x_udc"

#FIXME: this should be controlled by a userspace utility later.
module_autoload:g_ether = "g_ether"

SERIAL_CONSOLE = "115200 ttyS0"