summaryrefslogtreecommitdiff
path: root/conf/machine
diff options
context:
space:
mode:
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/hx2000.conf50
-rw-r--r--conf/machine/hx4700.conf65
2 files changed, 115 insertions, 0 deletions
diff --git a/conf/machine/hx2000.conf b/conf/machine/hx2000.conf
new file mode 100644
index 0000000000..48289ce35e
--- /dev/null
+++ b/conf/machine/hx2000.conf
@@ -0,0 +1,50 @@
+#@TYPE: Machine
+#@NAME: iPAQ hx2xxx
+#@DESCRIPTION: Machine configuration for the hx2000 iPAQs with a pxa27x CPU
+
+TARGET_ARCH = "arm"
+IPKG_EXTRA_ARCHS = "armv4 armv4t armv5te iwmmxt ipaqpxa ipaq-pxa270"
+
+#PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus"
+
+PREFERRED_VERSION_orinoco-modules = "0.15rc1"
+
+ROOT_FLASH_SIZE = "80"
+
+EXTRA_IMAGECMD_jffs2 = "; sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
+ -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
+ -e 256KiB -p"
+
+IMAGE_FSTYPES ?= "jffs2"
+
+MODUTILS = "26"
+
+MACHINE_FEATURES = "kernel26 touchscreen apm alsa pcmcia bluetooth irda wifi usbgadget"
+
+PCMCIA_MANAGER = "pcmciautils"
+BOOTMODULES_RRECOMMENDS = "${@linux_module_packages('${PXA270_MODULES}', d)}"
+BOOTSTRAP_EXTRA_RRECOMMENDS += " ${BOOTMODULES_RRECOMMENDS}"
+BOOTSTRAP_EXTRA_RDEPENDS = "tiinit acx-firmware"
+
+PXA270_MODULES = "snd_pcm_oss snd_mixer_oss hidp \
+ nls_cp437 nls_iso8859-1 nls_utf8 af_key"
+
+SERIAL_CONSOLE = "115200 ttyS0"
+
+GUI_MACHINE_CLASS = "smallscreen"
+
+# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
+include conf/machine/include/tune-xscale.conf
+
+# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first
+#include conf/machine/include/tune-iwmmxt.conf
+
+module_autoload_evdev = "evdev"
+module_autoload_pcmcia = "pcmcia"
+module_autoload_mmc_block = "mmc_block"
+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"
diff --git a/conf/machine/hx4700.conf b/conf/machine/hx4700.conf
new file mode 100644
index 0000000000..f6d4e17389
--- /dev/null
+++ b/conf/machine/hx4700.conf
@@ -0,0 +1,65 @@
+#@TYPE: Machine
+#@NAME: iPAQ hx47xx
+#@DESCRIPTION: Machine configuration for the hx4700 iPAQ with a pxa27x CPU
+
+TARGET_ARCH = "arm"
+IPKG_EXTRA_ARCHS = "armv4 armv4t armv5te iwmmxt ipaqpxa ipaq-pxa270"
+PREFERRED_PROVIDER_virtual/kernel = "handhelds-pxa-2.6"
+
+PREFERRED_VERSION_orinoco-modules = "0.15rc1"
+
+ROOT_FLASH_SIZE = "80"
+
+EXTRA_IMAGECMD_jffs2 = "; sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
+ -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
+ -e 256KiB -p"
+
+IMAGE_FSTYPES ?= "jffs2"
+
+MODUTILS = "26"
+
+MACHINE_FEATURES = "kernel26 touchscreen apm alsa pcmcia bluetooth irda wifi usbgadget"
+
+PCMCIA_MANAGER = "pcmciautils"
+BOOTMODULES_RRECOMMENDS = "${@linux_module_packages('${PXA270_MODULES}', d)} ${@linux_module_packages('${HX4700_MODULES}', d)}"
+BOOTSTRAP_EXTRA_RRECOMMENDS += " ${BOOTMODULES_RRECOMMENDS}"
+BOOTSTRAP_EXTRA_RDEPENDS = "tiinit acx-firmware"
+
+PXA270_MODULES = "snd_pcm_oss snd_mixer_oss hidp \
+ nls_cp437 nls_iso8859-1 nls_utf8 af_key"
+
+SERIAL_CONSOLE = "115200 ttyS0"
+
+
+GUI_MACHINE_CLASS = "bigscreen"
+
+# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
+include conf/machine/include/tune-xscale.conf
+
+# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first
+#include conf/machine/include/tune-iwmmxt.conf
+
+
+# These modules are now compiled into the kernel:
+#HX4700_MODULES = "asic3_mmc hx4700_bt hx4700_leds hx4700_navpt \
+# hx4700_pcmcia hx4700_ts hx4700_power"
+
+HX4700_MODULES = "i2c-pxa hx4700_voltage hx4700_acx snd_hx4700_audio"
+
+
+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"