summaryrefslogtreecommitdiff
path: root/conf/machine
diff options
context:
space:
mode:
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/h6300.conf29
-rw-r--r--conf/machine/tune-arm9tdmi.conf1
2 files changed, 30 insertions, 0 deletions
diff --git a/conf/machine/h6300.conf b/conf/machine/h6300.conf
new file mode 100644
index 0000000000..b4d371591c
--- /dev/null
+++ b/conf/machine/h6300.conf
@@ -0,0 +1,29 @@
+#@TYPE: Machine
+#@NAME: OMAP1510 cpu on iPaq h6315 and h6340
+#@DESCRIPTION: Machine configuration for the OMAP 1510 based iPaq h6300 series devices
+
+TARGET_ARCH = "arm"
+PACKAGE_ARCH = "arm"
+IPKG_ARCHS = "all arm armv4"
+
+PREFERRED_PROVIDER_xserver = "xserver-kdrive"
+PREFERRED_PROVIDER_virtual/kernel = "linux-h6300-omap1"
+PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross"
+
+BOOTSTRAP_EXTRA_DEPENDS = "virtual/kernel sysfsutils console-tools modutils-collateral module-init-tools"
+BOOTSTRAP_EXTRA_RDEPENDS = "kernel kernel-modules sysfsutils console-tools modutils-collateral module-init-tools"
+
+H6300_MODULES = "fat vfat nfs \
+bluetooth rfcomm bnep l2cap hci_uart \
+irda irlan irtty ircomm ircomm-tty \
+omapts"
+
+BOOTSTRAP_EXTRA_DEPENDS += "apmd wireless-tools irda-utils openswan wpa-supplicant-nossl lrzsz scap network-suspend-scripts"
+BOOTSTRAP_EXTRA_RDEPENDS += "apm apmd network-suspend-scripts"
+BOOTSTRAP_EXTRA_RRECOMMENDS += "wireless-tools irda-utils openswan wpa-supplicant-nossl lrzsz scap ${@linux_module_packages('${H6300_MODULES}', d)}"
+
+SERIAL_CONSOLE ?= "115200 ttyS0"
+EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000"
+
+#Use OMAP 1510 cpu specifig arm9tdmi options for gcc
+include conf/machine/tune-arm9tdmi.conf
diff --git a/conf/machine/tune-arm9tdmi.conf b/conf/machine/tune-arm9tdmi.conf
new file mode 100644
index 0000000000..cfc3bad1c1
--- /dev/null
+++ b/conf/machine/tune-arm9tdmi.conf
@@ -0,0 +1 @@
+TARGET_CC_ARCH = "-mcpu=arm9tdmi -mtune=arm9tdmi"