From cecc5934a84dde5a9b08c43e0105488ae0f6ba02 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 29 Apr 2019 17:45:19 +0200 Subject: imx-boot: cope with b0 silcon not using dcd Only A0 silicon has and needs a DCD file, B0 silicon and likely later revisions have the DCD information as part of the SCFW file. Signed-off-by: Max Krummenacher --- recipes-bsp/imx-mkimage/imx-boot_%.bbappend | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'recipes-bsp/imx-mkimage') diff --git a/recipes-bsp/imx-mkimage/imx-boot_%.bbappend b/recipes-bsp/imx-mkimage/imx-boot_%.bbappend index 508a53f..d568a38 100644 --- a/recipes-bsp/imx-mkimage/imx-boot_%.bbappend +++ b/recipes-bsp/imx-mkimage/imx-boot_%.bbappend @@ -1,2 +1,21 @@ SRCBRANCH = "imx_4.14.78_1.0.0_ga" SRCREV = "2cf091c075ea1950afa22a56e224dc4e448db542" + +# Cope with i.MX8 / i.MX8X A0 Silicon DCD name +DCD_NAME_mx8qma0 = "imx8qm_dcd.cfg.tmp" +DCD_COPY = "false" +DCD_COPY_mx8qma0 = "true" + +deploy_mx8() { + install -d ${DEPLOYDIR}/${BOOT_TOOLS} + if [ "${DCD_COPY}" = "true" ]; then + install -m 0644 ${BOOT_STAGING}/${DCD_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} + fi + install -m 0644 ${BOOT_STAGING}/mx8qm-ahab-container.img ${DEPLOYDIR}/${BOOT_TOOLS} + install -m 0755 ${S}/${TOOLS_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} +} +deploy_mx8x() { + install -d ${DEPLOYDIR}/${BOOT_TOOLS} + install -m 0644 ${BOOT_STAGING}/mx8qx-ahab-container.img ${DEPLOYDIR}/${BOOT_TOOLS} + install -m 0755 ${S}/${TOOLS_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} +} -- cgit v1.2.3