aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2016-07-14 14:10:59 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2016-07-14 14:10:59 +0100
commit9f047a90a958c77d125ff4745044d2f25614469d (patch)
tree3cd20d287a21c73338fcce110dceda9ccdc3c91c /conf
parent2527d3103e48dab4112a4ca50106fbc79e2a53b9 (diff)
downloadmeta-qcom-9f047a90a958c77d125ff4745044d2f25614469d.tar.gz
meta-qcom-9f047a90a958c77d125ff4745044d2f25614469d.tar.bz2
meta-qcom-9f047a90a958c77d125ff4745044d2f25614469d.zip
machine: add dragonboard 820c
Add minimal machine configuration files for DragonBoard820c. It is currently supported in the LT tracking kernel branch. The support is minimal for now, and it will improve over time. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
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"