#@TYPE: Machine
#@NAME: Compaq iPAQ 36xx,Compaq iPAQ 37xx,Compaq iPAQ 38xx
#@DESCRIPTION: Machine configuration for the Compaq iPAQ 36xx, Compaq iPAQ 37xx and Compaq iPAQ 38xx devices

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

require conf/machine/include/tune-strongarm.conf

# h3700, h3800 have 32, but let that be bonus
ROOT_FLASH_SIZE = "16"
# h3630 have 32Mb only
VOLATILE_STORAGE_SIZE = "64"
GUI_MACHINE_CLASS = "smallscreen"

#
# Software/packages selection
#
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "handhelds-sa"
PREFERRED_VERSION_handhelds-sa ?= "2.4.19-rmk6-pxa1-hh42"
BOOTSTRAP_EXTRA_RDEPENDS = "alsa-driver kernel ipaq-boot-params ${@linux_module_packages('${H3600_MODULES}', d)}"
EXTRA_IMAGECMD_h3600_jffs2 = "-e 0x40000 -p"

H3600_MODULES = "\
h3600-asic \
h3600-micro \
hwtimer \
nvrd \
sa1100-cs \
sa1100-ir \
sa1100-wdt \
sa1100-audio \
sa1100-rtc \
sa1100usb-core \
sd-mod \
serial-h3800 \
usb-char \
usb-eth"

#
# Modules autoload and other boot properties
#
USE_DEVFS = "1"
USE_VT = "0"

SERIAL_CONSOLE = "115200 ttySA0"