summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/beagle.conf19
-rw-r--r--linux/montavista-sa-2.4.17-mvl21/flash-for-beagle-iii.patch0
-rw-r--r--linux/montavista-sa_2.4.17-mvl21.oe33
3 files changed, 52 insertions, 0 deletions
diff --git a/conf/beagle.conf b/conf/beagle.conf
index e69de29bb2..39808c09d2 100644
--- a/conf/beagle.conf
+++ b/conf/beagle.conf
@@ -0,0 +1,19 @@
+#@TYPE: Machine
+#@NAME: MasterIA PA100
+#@DESCRIPTION: Machine configuration for the SA1100 based MasterIA PA-100 device
+
+TARGET_ARCH = "arm"
+IPKG_ARCHS = "all arm ${MACHINE}"
+PREFERRED_PROVIDER_xserver = "xserver-kdrive"
+PREFERRED_PROVIDER_virtual/kernel = "montavista-sa"
+BOOTSTRAP_EXTRA_DEPENDS = "virtual/kernel modutils-collateral hostap-modules orinoco-modules"
+BOOTSTRAP_EXTRA_RDEPENDS = "kernel modutils-collateral hostap-modules orinoco-modules \
+kernel-module-gpio kernel-module-ip-gre kernel-module-ipip kernel-module-irnet \
+kernel-module-net-fd kernel-module-registers kernel-module-sa1100-bi \
+kernel-module-usbdcore kernel-module-usbdmonitor "
+
+EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000"
+
+include conf/handheld-common.conf
+include conf/tune-strongarm.conf
+
diff --git a/linux/montavista-sa-2.4.17-mvl21/flash-for-beagle-iii.patch b/linux/montavista-sa-2.4.17-mvl21/flash-for-beagle-iii.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/linux/montavista-sa-2.4.17-mvl21/flash-for-beagle-iii.patch
diff --git a/linux/montavista-sa_2.4.17-mvl21.oe b/linux/montavista-sa_2.4.17-mvl21.oe
index e69de29bb2..fe006e2813 100644
--- a/linux/montavista-sa_2.4.17-mvl21.oe
+++ b/linux/montavista-sa_2.4.17-mvl21.oe
@@ -0,0 +1,33 @@
+DESCRIPTION = "Linux kernel for the MASTERIA PA-100 device."
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+KV = "${@oe.data.getVar('PV',d,True).split('-')[0]}"
+MVLV = "${@oe.data.getVar('PV',d,True).split('-')[1]}"
+PR = "r2"
+
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/montavista-sa-${PV}"
+
+SRC_URI = "http://www.vanille.de/mirror/linux-${KV}_${MVLV}.tar.gz \
+ file://iw_handlers.w13-5.diff;patch=1 \
+ file://iw_handlers.w14-5.diff;patch=1 \
+ file://iw240_we15-6.diff;patch=1 \
+ \
+ file://flash-for-beagle-iii.patch;patch=1 \
+ \
+ file://mkdep.patch;patch=1 \
+ file://defconfig-${MACHINE}"
+
+S = "${WORKDIR}/linux-${KV}_${MVLV}"
+
+inherit kernel
+
+KERNEL_CCSUFFIX = "-2.95"
+KERNEL_LDSUFFIX = "-2.11.2"
+COMPATIBLE_HOST = "arm.*-linux"
+
+EXTRA_OEMAKE = ""
+
+do_configure_prepend() {
+ install -m 0644 ${WORKDIR}/defconfig-${MACHINE} ${S}/.config || die "No default configuration for ${MACHINE} available."
+}
+