aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2016-07-14 14:16:02 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2016-07-14 14:16:02 +0100
commitfe478e0771e35ba8ccdd8e01f0722b5932c3c28f (patch)
treefa0ec387957cc50a829346762c6a8ad891402dd0 /conf
parent0eaea003cac6c3175b0a3682efd6e1f20ecc9dab (diff)
parent9f047a90a958c77d125ff4745044d2f25614469d (diff)
downloadmeta-qcom-fe478e0771e35ba8ccdd8e01f0722b5932c3c28f.tar.gz
meta-qcom-fe478e0771e35ba8ccdd8e01f0722b5932c3c28f.tar.bz2
meta-qcom-fe478e0771e35ba8ccdd8e01f0722b5932c3c28f.zip
Merge branch 'jethro'
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/dragonboard-820c.conf21
-rw-r--r--conf/machine/include/qcom-apq8096.inc14
2 files changed, 35 insertions, 0 deletions
diff --git a/conf/machine/dragonboard-820c.conf b/conf/machine/dragonboard-820c.conf
new file mode 100644
index 0000000..81f7672
--- /dev/null
+++ b/conf/machine/dragonboard-820c.conf
@@ -0,0 +1,21 @@
+#@TYPE: Machine
+#@NAME: dragonboard-820c
+#@DESCRIPTION: Machine configuration for the DragonBoard 820c (96boards), with Qualcomm Snapdragon 820 APQ8096.
+
+require conf/machine/include/qcom-apq8096.inc
+
+MACHINE_FEATURES = "usbhost usbgadget alsa screen wifi bluetooth ext2"
+
+KERNEL_IMAGETYPE = "Image"
+KERNEL_DEVICETREE = "qcom/apq8096-sbc.dtb"
+
+SERIAL_CONSOLE = "115200 ttyMSM0"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \
+ kernel-modules \
+"
+
+CMDLINE = "console=ttyMSM0,115200n8 root=/dev/sde18 rootwait"
+
+# UFS partitions setup with 4096 logical sector size
+EXTRA_IMAGECMD_ext4 += " -b 4096 "
diff --git a/conf/machine/include/qcom-apq8096.inc b/conf/machine/include/qcom-apq8096.inc
new file mode 100644
index 0000000..1cc0287
--- /dev/null
+++ b/conf/machine/include/qcom-apq8096.inc
@@ -0,0 +1,14 @@
+SOC_FAMILY = "apq8096"
+require conf/machine/include/soc-family.inc
+require conf/machine/include/arm/arch-armv8.inc
+
+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-qcomlt-tracking"
+
+# Fastboot expects an ext4 image, which needs to be 4096 aligned
+IMAGE_FSTYPES_append = " ext4.gz"
+IMAGE_ROOTFS_ALIGNMENT = "4096"