##@TYPE: Machine
#@NAME: HP iPAQ 21x
#@DESCRIPTION: Machine configuration for the Hewlett-Packard iPAQ 210, 211, 212, 213 and 214
#@HOMEPAGE: http://www.handhelds.org/moin/moin.cgi/HpIpaq214

#
# Hardware-based properties
#
TARGET_ARCH = "arm"

require conf/machine/include/tune-xscale.inc

ROOT_FLASH_SIZE = "32"
VOLATILE_STORAGE_SIZE = "64"
MACHINE_GUI_CLASS = "bigscreen"

MACHINE_DISPLAY_WIDTH_PIXELS = "480"
MACHINE_DISPLAY_HEIGHT_PIXELS = "640"

#removed usbgadget, and pcmcia until we do them in kernel
MACHINE_FEATURES = "kernel26 arm touchscreen alsa bluetooth screen vfat wifi usbhost apm"

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

PREFERRED_PROVIDER_xserver = "xserver-kdrive"

#dont understand this - not done the flash filesystems yet
# EXTRA_IMAGECMD_jffs2 = "-e 0x40000 -p ; echo '${IMAGE_NAME}  ${IMAGE_NAME}.rootfs.jffs2 - root' >> ${DEPLOY_DIR_IMAGE}/reflash.ctl"

# alsa-utils alsamixer is useful
MACHINE_EXTRA_RDEPENDS = "ipkg alsa-utils bluez-utils"

#some extras required in angstrom for the audio to work (and nano is generally useful)
ANGSTROM_EXTRA_INSTALL += "alsa-utils-amixer alsa-utils-speakertest nano"


#MACHINE_EXTRA_RDEPENDS = "hpipaq214-mmcboot"
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules "


#Start a console on the (internal) serial port
SERIAL_CONSOLE = "38400 ttyS2 vt100"
USE_VT = "0"
