aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <ndechesne@users.noreply.github.com>2021-02-15 17:11:57 +0100
committerGitHub <noreply@github.com>2021-02-15 17:11:57 +0100
commit42843203e0d18972fe0662a924a3aa0912a5b527 (patch)
tree6df93c297c2cdf06ab73e700b1995a4fdc5bdca5
parent3eb5a78b65fca1d41523a4f740a94353a263cf50 (diff)
parentdd26c42f8de2bc9d2590cef5ab002ce536789304 (diff)
downloadmeta-qcom-42843203e0d18972fe0662a924a3aa0912a5b527.tar.gz
meta-qcom-42843203e0d18972fe0662a924a3aa0912a5b527.tar.bz2
meta-qcom-42843203e0d18972fe0662a924a3aa0912a5b527.zip
Merge pull request #259 from Mani-Sadhasivam/sdx55
Initial machine support for SDX55
-rw-r--r--conf/machine/include/qcom-sdx55.inc12
-rw-r--r--conf/machine/sdx55-mtp.conf22
-rw-r--r--conf/machine/sdx55-telit-fn980.conf22
-rw-r--r--recipes-kernel/linux/linux-linaro-qcom.inc1
4 files changed, 57 insertions, 0 deletions
diff --git a/conf/machine/include/qcom-sdx55.inc b/conf/machine/include/qcom-sdx55.inc
new file mode 100644
index 0000000..c02924c
--- /dev/null
+++ b/conf/machine/include/qcom-sdx55.inc
@@ -0,0 +1,12 @@
+SOC_FAMILY = "sdx55"
+require conf/machine/include/qcom-common.inc
+require conf/machine/include/tune-cortexa7.inc
+
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \
+ qrtr \
+ rmtfs \
+"
+
+# UBI filesystem settings
+IMAGE_FSTYPES ?= "ubi"
+QCOM_BOOTIMG_PAGE_SIZE ?= "4096"
diff --git a/conf/machine/sdx55-mtp.conf b/conf/machine/sdx55-mtp.conf
new file mode 100644
index 0000000..92fcd9e
--- /dev/null
+++ b/conf/machine/sdx55-mtp.conf
@@ -0,0 +1,22 @@
+#@TYPE: Machine
+#@NAME: SDX55-MTP
+#@DESCRIPTION: Machine configuration for the SDX55-MTP development board, with Qualcomm SDX55.
+
+require conf/machine/include/qcom-sdx55.inc
+
+MACHINE_FEATURES = "usbhost usbgadget"
+
+KERNEL_IMAGETYPE ?= "zImage"
+KERNEL_DEVICETREE ?= "qcom-sdx55-mtp.dtb"
+
+# UBI filesystem parameters
+MKUBIFS_ARGS ?= "-m 4096 -e 253952 -c 1188"
+UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 4096"
+
+# Use system partition for rootfs
+UBI_VOLNAME ?= "system"
+QCOM_BOOTIMG_ROOTFS ?= "ubi0:system"
+
+SERIAL_CONSOLES ?= "115200;ttyMSM0"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-linaro-qcomlt-dev"
diff --git a/conf/machine/sdx55-telit-fn980.conf b/conf/machine/sdx55-telit-fn980.conf
new file mode 100644
index 0000000..24f5f97
--- /dev/null
+++ b/conf/machine/sdx55-telit-fn980.conf
@@ -0,0 +1,22 @@
+#@TYPE: Machine
+#@NAME: SDX55-TELIT-FN980
+#@DESCRIPTION: Machine configuration for the Telit FN980 development board, with Qualcomm SDX55.
+
+require conf/machine/include/qcom-sdx55.inc
+
+MACHINE_FEATURES = "usbhost usbgadget"
+
+KERNEL_IMAGETYPE ?= "zImage"
+KERNEL_DEVICETREE ?= "qcom-sdx55-telit-fn980.dtb"
+
+# UBI filesystem parameters
+MKUBIFS_ARGS ?= "-m 4096 -e 253952 -c 528"
+UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 4096"
+
+# Use system partition for rootfs
+UBI_VOLNAME ?= "system"
+QCOM_BOOTIMG_ROOTFS ?= "ubi0:system"
+
+SERIAL_CONSOLES ?= "921600;ttyMSM0"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-linaro-qcomlt-dev"
diff --git a/recipes-kernel/linux/linux-linaro-qcom.inc b/recipes-kernel/linux/linux-linaro-qcom.inc
index b9e2714..4e78597 100644
--- a/recipes-kernel/linux/linux-linaro-qcom.inc
+++ b/recipes-kernel/linux/linux-linaro-qcom.inc
@@ -18,6 +18,7 @@ S = "${WORKDIR}/git"
KERNEL_DEFCONFIG_aarch64 ?= "${S}/arch/arm64/configs/defconfig"
KERNEL_DEFCONFIG_apq8064 ?= "${S}/arch/arm/configs/qcom_defconfig"
+KERNEL_DEFCONFIG_sdx55 ?= "${S}/arch/arm/configs/qcom_defconfig"
KERNEL_CONFIG_FRAGMENTS += "${S}/kernel/configs/distro.config"
kernel_conf_variable() {