aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2008-11-18 15:26:17 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2008-11-18 15:26:17 +0000
commit0ea0875a3e5456f701df08e0974821a4e8852f55 (patch)
treeb44e54c4f97b0d0d9f950e97719673ee1c01873e
parentfa3b4171ebfa100d524a166b9751e73dc529dfa4 (diff)
downloadopenembedded-stefan/eten-support.zip
openembedded-stefan/eten-support.tar.gz
openembedded-stefan/eten-support.tar.bz2
eten-m800: Machine support.stefan/eten-support
Very similar to om-gta02. Same SoC and LCM.
-rw-r--r--conf/distro/include/sane-srcrevs.inc1
-rw-r--r--conf/machine/eten-m800.conf25
-rw-r--r--packages/linux/linux-eten_2.6.24+git.bb21
3 files changed, 47 insertions, 0 deletions
diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc
index 80ae0a6..b53ea38 100644
--- a/conf/distro/include/sane-srcrevs.inc
+++ b/conf/distro/include/sane-srcrevs.inc
@@ -90,6 +90,7 @@ SRCREV_pn-linux-hackndev-2.6 ?= "1308"
SRCREV_pn-linux-ixp4xx ?= "1066"
SRCREV_pn-linux-openmoko ?= "6e2a723ef54ee2e739c34786981b2c508db803c1"
SRCREV_pn-linux-openmoko-devel ?= "c0a2797d7ba8f6e07187794ccd2664ca3209b613"
+SRCREV_pn-linux-eten ?= "3f12f6b0b863453038bc4b7435b5bab06be30f45"
SRCREV_pn-llvm-gcc4 ?= "374"
SRCREV_pn-llvm-gcc4-cross ?= "374"
SRCREV_pn-maemo-mapper ?= "118"
diff --git a/conf/machine/eten-m800.conf b/conf/machine/eten-m800.conf
new file mode 100644
index 0000000..ca8ce00
--- /dev/null
+++ b/conf/machine/eten-m800.conf
@@ -0,0 +1,25 @@
+#-----------------------------------------------------------------------------
+#@TYPE: Machine
+#@NAME: E-Ten Glofiish M800
+#@DESCRIPTION: Machine configuration for the E-Ten Glofiish M800
+#-----------------------------------------------------------------------------
+
+TARGET_ARCH = "arm"
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-eten"
+PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
+
+MACHINE_FEATURES = "kernel26 apm alsa bluetooth gps usbgadget usbhost phone wifi vfat ext2 keyboard"
+MACHINE_DISPLAY_WIDTH_PIXELS = "480"
+MACHINE_DISPLAY_HEIGHT_PIXELS = "640"
+MACHINE_DISPLAY_ORIENTATION = "0"
+MACHINE_DISPLAY_PPI = "285"
+XSERVER = "xserver-kdrive-fbdev"
+
+# used by some images
+ROOT_FLASH_SIZE = "256"
+
+IMAGE_FSTYPES ?= "tar.gz"
+
+# tune for S3C24x0
+include conf/machine/include/tune-arm920t.inc
diff --git a/packages/linux/linux-eten_2.6.24+git.bb b/packages/linux/linux-eten_2.6.24+git.bb
new file mode 100644
index 0000000..a780ed9
--- /dev/null
+++ b/packages/linux/linux-eten_2.6.24+git.bb
@@ -0,0 +1,21 @@
+require linux.inc
+
+DESCRIPTION = "The Linux kernel for E-Ten Glofiish smartphones"
+
+COMPATIBLE_HOST = "arm.*-linux"
+COMPATIBLE_MACHINE = "eten-m800"
+
+KERNEL_RELEASE = "2.6.24"
+KERNEL_VERSION = "${KERNEL_RELEASE}"
+
+PV = "${KERNEL_RELEASE}+${PR}+gitr${SRCREV}"
+PR = "r1"
+
+SRC_URI = "\
+ git://git.openmoko.org/git/kernel.git;protocol=git;branch=stable \
+"
+S = "${WORKDIR}/git"
+
+do_configure_prepend() {
+ install -m 0644 ${S}/arch/arm/configs/glofiish_defconfig ${WORKDIR}/defconfig
+}