aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2019-07-11 12:31:23 -0500
committerAníbal Limón <anibal.limon@linaro.org>2019-07-15 08:49:30 -0500
commitb1b280c6edee053761a8166e6bba4cd1cd2320ed (patch)
tree0f0c8ab1711975379c25f0948fe360ef7d213ad3
parent08d1e760a73ff6c665af211c402cc1a7cf93264f (diff)
downloadmeta-qcom-b1b280c6edee053761a8166e6bba4cd1cd2320ed.tar.gz
meta-qcom-b1b280c6edee053761a8166e6bba4cd1cd2320ed.tar.bz2
meta-qcom-b1b280c6edee053761a8166e6bba4cd1cd2320ed.zip
recipes-kernel/linux: Add {clk,pd}_ignore_unused to db845c cmdline
Without this kernel variables in cmdline the a6xx gpu fails to probe/init use it for now. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
-rw-r--r--recipes-kernel/linux/linux-qcom-bootimg.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-qcom-bootimg.inc b/recipes-kernel/linux/linux-qcom-bootimg.inc
index 7290f27..1c7c055 100644
--- a/recipes-kernel/linux/linux-qcom-bootimg.inc
+++ b/recipes-kernel/linux/linux-qcom-bootimg.inc
@@ -10,6 +10,8 @@ BOOT_IMAGE_BASE_NAME = "boot-${KERNEL_IMAGE_NAME}"
BOOT_IMAGE_SYMLINK_NAME = "boot-${KERNEL_IMAGE_LINK_NAME}"
SD_BOOT_IMAGE_BASE_NAME = "boot-sd${KERNEL_IMAGE_NAME}"
SD_BOOT_IMAGE_SYMLINK_NAME = "boot-sd-${KERNEL_IMAGE_LINK_NAME}"
+KERNEL_CMDLINE = "root=/dev/${1} rw rootwait console=${ttydev},${baudrate}n8"
+KERNEL_CMDLINE_append_dragonboard-845c = " clk_ignore_unused pd_ignore_unused"
# param ${1} partition where rootfs is located
# param ${2} output boot image file name
@@ -20,8 +22,7 @@ priv_make_image() {
$mkbootimg_dtarg \
--pagesize ${QCOM_BOOTIMG_PAGE_SIZE} \
--base ${QCOM_BOOTIMG_KERNEL_BASE} \
- --cmdline \
- "root=/dev/${1} rw rootwait console=${ttydev},${baudrate}n8"
+ --cmdline "${KERNEL_CMDLINE}"
}
do_deploy_append() {