aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhasim Syed Mohammed <khasim.mohammed@linaro.org>2019-11-26 20:25:05 +0530
committerKhasim Syed Mohammed <khasim.mohammed@linaro.org>2019-11-28 16:00:07 +0530
commit671ea5342aaec7f1da57ff0e03df2045dd5d3aa9 (patch)
tree6f00538bba2fc8a766c8a21db501e942e3ec8e8a
parent1d333414fb3796d14fc3ceed6aeb3662bf2c9d34 (diff)
downloadmeta-qcom-671ea5342aaec7f1da57ff0e03df2045dd5d3aa9.tar.gz
meta-qcom-671ea5342aaec7f1da57ff0e03df2045dd5d3aa9.tar.bz2
meta-qcom-671ea5342aaec7f1da57ff0e03df2045dd5d3aa9.zip
machine: Add support for QCS404 based EVB 4K platform
EVB4K is a Qcom platform based on QCS404 based SOC. This patch adds basic support. Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@linaro.org>
-rw-r--r--conf/machine/evb4k-qcs404.conf19
-rw-r--r--conf/machine/include/qcom-qcs404.inc16
2 files changed, 35 insertions, 0 deletions
diff --git a/conf/machine/evb4k-qcs404.conf b/conf/machine/evb4k-qcs404.conf
new file mode 100644
index 0000000..9664bed
--- /dev/null
+++ b/conf/machine/evb4k-qcs404.conf
@@ -0,0 +1,19 @@
+#@TYPE: Machine
+#@NAME: evb4k-qcs404
+#@DESCRIPTION: Machine configuration for the EVB-4K QCS404 with Qualcomm QCS404.
+
+require conf/machine/include/qcom-qcs404.inc
+require conf/machine/include/tune-cortexa53.inc
+
+MACHINE_FEATURES = "usbhost usbgadget ext2"
+
+KERNEL_IMAGETYPE ?= "Image.gz"
+KERNEL_DEVICETREE ?= "qcom/qcs404-evb-4000.dtb"
+
+SERIAL_CONSOLE ?= "115200 ttyMSM0"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \
+ kernel-modules \
+"
+
+QCOM_BOOTIMG_ROOTFS ?= "mmcblk0p27"
diff --git a/conf/machine/include/qcom-qcs404.inc b/conf/machine/include/qcom-qcs404.inc
new file mode 100644
index 0000000..9c556d3
--- /dev/null
+++ b/conf/machine/include/qcom-qcs404.inc
@@ -0,0 +1,16 @@
+SOC_FAMILY = "qcs404"
+require conf/machine/include/soc-family.inc
+require conf/machine/include/arm/arch-armv8a.inc
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-linaro-qcomlt"
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \
+ qrtr \
+"
+
+# Fastboot expects an ext4 image, which needs to be 4096 aligned
+IMAGE_FSTYPES ?= "ext4.gz"
+IMAGE_ROOTFS_ALIGNMENT = "4096"
+
+QCOM_BOOTIMG_KERNEL_BASE ?= "0x80000000"
+QCOM_BOOTIMG_PAGE_SIZE ?= "4096"