aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2020-03-26 01:33:35 +0100
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2021-04-09 16:40:20 +0300
commitce468c5ec8273829a9855f0afe5183832bba5acb (patch)
tree244a039d782d9afc32c96e45aa04efafdac69a5b
parent28901c7ae7e5e57722e9b4ff79827f626880b8ec (diff)
downloadmeta-qcom-ce468c5ec8273829a9855f0afe5183832bba5acb.tar.gz
meta-qcom-ce468c5ec8273829a9855f0afe5183832bba5acb.tar.bz2
meta-qcom-ce468c5ec8273829a9855f0afe5183832bba5acb.zip
conf/machine: Add qcom-armv8a MACHINE
This new MACHINE is target to build multiple Android boot images (boards) and use a common rootfs/userspace filesystem. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> [DB: Add RB5 support] Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> (cherry picked from commit ed75ecefa705e32f60a6e656c54caf675b516244)
-rw-r--r--conf/machine/qcom-armv8a.conf41
1 files changed, 41 insertions, 0 deletions
diff --git a/conf/machine/qcom-armv8a.conf b/conf/machine/qcom-armv8a.conf
new file mode 100644
index 0000000..7986637
--- /dev/null
+++ b/conf/machine/qcom-armv8a.conf
@@ -0,0 +1,41 @@
+require conf/machine/include/qcom-common.inc
+require conf/machine/include/arm/arch-armv8a.inc
+
+MACHINE_FEATURES = "usbhost usbgadget alsa screen wifi bluetooth ext2"
+
+# UFS partitions in 820/845/RB5 setup with 4096 logical sector size
+EXTRA_IMAGECMD_ext4 += " -b 4096 "
+
+# Support for dragonboard{410, 820, 845}c, rb5
+KERNEL_IMAGETYPE ?= "Image.gz"
+SERIAL_CONSOLE ?= "115200 ttyMSM0"
+KERNEL_DEVICETREE ?= "qcom/apq8016-sbc.dtb qcom/apq8096-db820c.dtb qcom/sdm845-db845c.dtb qcom/qrb5165-rb5.dtb qcom/sm8250-rb5-dvt.dtb"
+
+# Userspace tools
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \
+ pd-mapper \
+ qrtr \
+ rmtfs \
+ tqftpserv \
+"
+
+MACHINE_EXTRA_RRECOMMENDS += " \
+ fastrpc \
+"
+
+# Modules and firmware for all supported machines
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \
+ kernel-modules \
+ firmware-qcom-dragonboard410c \
+ firmware-qcom-dragonboard820c \
+ firmware-qcom-dragonboard845c \
+ firmware-qcom-rb5 \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'linux-firmware-ath10k linux-firmware-ath11k linux-firmware-qcom-sdm845-modem wireless-regdb-static', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'linux-firmware-qca linux-firmware-qcom-sdm845-modem', '', d)} \
+ linux-firmware-qcom-sdm845-audio \
+ linux-firmware-qcom-sdm845-compute \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'linux-firmware-qcom-adreno-a3xx linux-firmware-qcom-adreno-a530 linux-firmware-qcom-adreno-a630', '', d)} \
+ linux-firmware-qcom-venus-1.8 \
+ linux-firmware-qcom-venus-4.2 \
+ linux-firmware-qcom-venus-5.2 \
+"