summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@openedhand.com>2007-09-19 15:43:30 +0000
committerSamuel Ortiz <sameo@openedhand.com>2007-09-19 15:43:30 +0000
commit9c0ecf04c4cb950c1f7a0f916890d44379995227 (patch)
treee4987c88eb71239d411da64553096f9a495b8db9
parent6e5b0d229bd05d59b662e037730ebe4d63deca2c (diff)
downloadopenembedded-core-9c0ecf04c4cb950c1f7a0f916890d44379995227.tar.gz
openembedded-core-9c0ecf04c4cb950c1f7a0f916890d44379995227.tar.bz2
openembedded-core-9c0ecf04c4cb950c1f7a0f916890d44379995227.tar.xz
openembedded-core-9c0ecf04c4cb950c1f7a0f916890d44379995227.zip
zylonite: Initial poky support.
We now build poky images for Zylonite, excluding the kernel part. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2767 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/conf/machine/zylonite.conf24
-rw-r--r--meta/packages/linux/linux-zylonite.bb30
2 files changed, 54 insertions, 0 deletions
diff --git a/meta/conf/machine/zylonite.conf b/meta/conf/machine/zylonite.conf
new file mode 100644
index 000000000..f42c8c10b
--- /dev/null
+++ b/meta/conf/machine/zylonite.conf
@@ -0,0 +1,24 @@
+#@TYPE: Machine
+#@NAME: Marvel PXA3xx Monahans Zylonite
+#@DESCRIPTION: Machine configuration for the Zylonite Development board
+
+require conf/machine/include/tune-xscale.inc
+
+TARGET_ARCH = "arm"
+PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te iwmmxt"
+
+EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 -n -x lzo -p"
+
+IMAGE_CMD_jffs2 = "mkdir -p ${DEPLOY_DIR_IMAGE}; \
+ mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \
+ --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}; "
+
+IMAGE_FSTYPES ?= "tar.bz2 jffs2"
+
+SERIAL_CONSOLE = "38400 ttyS0"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-zylonite"
+PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
+XSERVER = "xserver-kdrive-fbdev"
+
+MACHINE_FEATURES = "kernel26 apm usbgadget"
diff --git a/meta/packages/linux/linux-zylonite.bb b/meta/packages/linux/linux-zylonite.bb
new file mode 100644
index 000000000..9d9dbcc13
--- /dev/null
+++ b/meta/packages/linux/linux-zylonite.bb
@@ -0,0 +1,30 @@
+SECTION = "kernel"
+DESCRIPTION = "Dummy Zylonite Linux kernel"
+LICENSE = "GPL"
+
+PROVIDES += "virtual/kernel"
+
+PACKAGES_DYNAMIC += "kernel-module-*"
+PACKAGES_DYNAMIC += "kernel-image-*"
+
+COMPATIBLE_MACHINE = "zylonite"
+
+PR = "r0"
+
+SRC_URI = ""
+
+do_configure() {
+ :
+}
+
+do_compile () {
+ :
+}
+
+do_install() {
+ :
+}
+
+do_stage () {
+ :
+}