merge of 'ad95f08d419bba954eab21c0d4ef155b70f86dbc'
[vuplus_openembedded] / conf / machine / hx4700.conf
1 #@TYPE: Machine
2 #@NAME: 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 = "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 = "80"
18 VOLATILE_STORAGE_SIZE = "64"
19 MACHINE_GUI_CLASS = "bigscreen"
20 MACHINE_DISPLAY_WIDTH_PIXELS = "480"
21 MACHINE_DISPLAY_HEIGHT_PIXELS = "640"
22 MACHINE_FEATURES = "kernel26 touchscreen apm alsa pcmcia bluetooth irda wifi usbgadget screen"
23 MACHINE_FEATURES += "iwmmxt"
24
25 #
26 # Software/packages selection
27 #
28 PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6"
29 PCMCIA_MANAGER = "pcmciautils"
30 MODUTILS = "26" 
31
32 XSERVER = "xserver-kdrive-w100"
33
34 PREFERRED_VERSION_orinoco-modules = "0.15rc1"
35
36 MACHINE_EXTRA_RDEPENDS = "tiinit acx-firmware"
37 MACHINE_EXTRA_RRECOMMENDS = "\
38                                 kernel-module-i2c-pxa \
39                                 kernel-module-pxa27x-voltage \
40                                 kernel-module-pxa27x-voltage-max158xx \
41                                 kernel-module-acx \
42                                 kernel-module-hx4700-acx \
43                                 kernel-module-hx4700-bt \
44                                 kernel-module-snd-hx4700-audio"
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_evdev = "evdev"
56 module_autoload_hx4700_power = "hx4700_power"
57 module_autoload_pcmcia = "pcmcia"
58 module_autoload_hx4700_pcmcia = "hx4700_pcmcia"
59 module_autoload_asic3_mmc = "asic3_mmc"
60 module_autoload_mmc_block = "mmc_block"
61 module_autoload_hx4700_ts = "hx4700_ts"
62 module_autoload_hx4700_navpt = "hx4700_navpt"
63 module_autoload_hx4700_bt = "hx4700_bt"
64 module_autoload_snd-hx4700_audio = "snd-hx4700_audio"
65 module_autoload_snd-pcm-oss = "snd-pcm-oss"
66 module_autoload_snd-mixer-oss = "snd-mixer-oss"
67 module_autoload_pxa27x_udc = "pxa27x_udc"
68
69 #FIXME: this should be controlled by a userspace utility later.
70 module_autoload_g_ether = "g_ether"
71
72 SERIAL_CONSOLE = "115200 ttyS0"