aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2014-07-23 00:48:29 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2014-07-23 00:48:29 +0200
commitafd2f1148b019fd1119c46313af0de1ccb016d7a (patch)
tree1f44574f2da84acd2284079d344eecc54752d0cc /conf
downloadmeta-qcom-afd2f1148b019fd1119c46313af0de1ccb016d7a.tar.gz
meta-qcom-afd2f1148b019fd1119c46313af0de1ccb016d7a.tar.bz2
meta-qcom-afd2f1148b019fd1119c46313af0de1ccb016d7a.zip
Create initial BSP layer for IFC6410
- create meta-qualcomm OE layer - add README and license file - create machine configuration for ifc6410, using the 3.4+freedreno kernel - configure freedreno in mesa, and create xf86-video-freedreno recipe This has been tested with distro-less OE-core on IFC6410 meta = "master:6bc3696d8451a23d743daf03ee98c4ba54ce4551" Using the following extra configuration in local.conf: DISTRO_FEATURES_append = " opengl" CORE_IMAGE_EXTRA_INSTALL += "mesa-demos" VIRTUAL-RUNTIME_graphical_init_manager = "" glxgears was tested using the GPU firmware from the Inforce BSP v1.5 release. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'conf')
-rw-r--r--conf/layer.conf11
-rw-r--r--conf/machine/ifc6410.conf31
2 files changed, 42 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf
new file mode 100644
index 0000000..1475211
--- /dev/null
+++ b/conf/layer.conf
@@ -0,0 +1,11 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have a packages directory, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+ ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "qualcomm"
+BBFILE_PATTERN_qualcomm := "^${LAYERDIR}/"
+BBFILE_PRIORITY_qualcomm = "5"
+
diff --git a/conf/machine/ifc6410.conf b/conf/machine/ifc6410.conf
new file mode 100644
index 0000000..e330c3f
--- /dev/null
+++ b/conf/machine/ifc6410.conf
@@ -0,0 +1,31 @@
+#@TYPE: Machine
+#@NAME: ifc6410
+#@DESCRIPTION: Inforce IFC6410, with Qualcomm Snapdragon 600 APQ8064
+
+require conf/machine/include/tune-cortexa8.inc
+
+XSERVER = " \
+ xserver-xorg \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'xserver-xorg-extension-glx', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-msm', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'xserver-xorg-extension-dri', '', d)} \
+ xserver-xorg-module-exa \
+ xf86-input-mouse \
+ xf86-input-keyboard \
+ xf86-input-evdev \
+ xf86-video-freedreno \
+"
+
+# features
+MACHINE_FEATURES = "alsa kernel26 screen usb keyboard wifi ext2 ext3"
+
+PREFERRED_PROVIDER_virtual/egl ?= "mesa"
+PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
+PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
+PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
+PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
+PREFERRED_PROVIDER_virtual/kernel = "linux-linaro-lt-freedreno"
+
+KERNEL_IMAGETYPE = "zImage"
+
+SERIAL_CONSOLE = "115200 ttyHSL0"