3 #@DESCRIPTION: Machine configuration for the hx4700 iPAQ with a pxa27x CPU
6 # Hardware-based properties
9 PACKAGE_EXTRA_ARCHS = " iwmmxt "
11 IMAGE_FSTYPES += "jffs2"
13 # Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
14 require conf/machine/include/tune-xscale.inc
16 # Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first
17 #require conf/machine/include/tune-iwmmxt.inc
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"
30 # Software/packages selection
32 PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6"
33 PCMCIA_MANAGER = "pcmciautils"
36 XSERVER = "xserver-kdrive-w100"
38 PREFERRED_VERSION_orinoco-modules = "0.15rc1"
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 \
46 kernel-module-hx4700-acx \
47 kernel-module-hx4700-bt \
48 kernel-module-snd-hx4700-audio \
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"
58 # Modules autoload and other boot properties
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"
74 #FIXME: this should be controlled by a userspace utility later.
75 module_autoload_g_ether = "g_ether"
77 SERIAL_CONSOLE = "115200 ttyS0"