diff --git a/meta-digi-arm/recipes-cpu/m7-demos/imx-m7-demos_2.7.0.bb b/meta-digi-arm/recipes-cpu/m7-demos/imx-m7-demos_2.7.0.bb deleted file mode 100644 index a3dbc7e36..000000000 --- a/meta-digi-arm/recipes-cpu/m7-demos/imx-m7-demos_2.7.0.bb +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2019-2020 NXP -# Released under the MIT license (see COPYING.MIT for the terms) - -SUMMARY = "i.MX M7 core Demo images" -SECTION = "app" -LICENSE = "Proprietary" - -inherit deploy fsl-eula2-unpack2 - -SOC ?= "INVALID" -SOC_mx8mn = "imx8mn" -SOC_mx8mp = "imx8mp" - -IMX_PACKAGE_NAME = "${SOC}-m7-demo-${PV}" -SRC_URI_append = ";name=${SOC}" - -SCR = "SCR-${SOC}-m7-demo.txt" - -do_deploy () { - # Install the demo binaries - cp ${D}/* ${DEPLOYDIR}/ - #Set 0644 permission for Demo binaries - chmod 0644 ${DEPLOYDIR}/* -} -addtask deploy after do_install - -PACKAGE_ARCH = "${MACHINE_SOCARCH}" - -LIC_FILES_CHKSUM = "file://COPYING;md5=fd4b227530cd88a82af6a5982cfb724d" - -SRC_URI[imx8mn.md5sum] = "4dd5b924a6486efba82474da9e0dbe1d" -SRC_URI[imx8mn.sha256sum] = "9785721f2863ad6fa14cfcb63a813789bbcd206ff2f38c27e35235c9ae154e9f" - -SRC_URI[imx8mp.md5sum] = "106361256fa92a894147e8050054b2fc" -SRC_URI[imx8mp.sha256sum] = "789c5c402d6d564df4ff8f01e3d7ce1bc091c45567b3832ab91d14fae98b2a3e" - -COMPATIBLE_MACHINE = "(mx8mn|mx8mp)" diff --git a/meta-digi-arm/recipes-cpu/m7-demos/imx-m7-demos_2.8.0.bb b/meta-digi-arm/recipes-cpu/m7-demos/imx-m7-demos_2.8.0.bb new file mode 100644 index 000000000..4cd2ec2d4 --- /dev/null +++ b/meta-digi-arm/recipes-cpu/m7-demos/imx-m7-demos_2.8.0.bb @@ -0,0 +1,44 @@ +# Copyright 2019-2020 NXP +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "i.MX M7 core Demo images" +SECTION = "app" +LICENSE = "Proprietary" + +inherit deploy fsl-eula2-unpack2 + +SOC ?= "INVALID" +SOC_mx8mn = "imx8mn" +SOC_mx8mp = "imx8mp" + +IMX_PACKAGE_NAME = "${SOC}-m7-demo-${PV}" +SRC_URI_append = ";name=${SOC}" + +SCR = "SCR-${SOC}-m7-demo.txt" + +do_install () { + # install elf format binary to /lib/firmware + install -d ${D}${base_libdir}/firmware + install -m 0644 ${S}/*.elf ${D}${base_libdir}/firmware +} + +DEPLOY_FILE_EXT ?= "bin" +DEPLOY_FILE_EXT_mx7ulp = "img" + +do_deploy () { + # Install the demo binaries + install -m 0644 ${S}/*.${DEPLOY_FILE_EXT} ${DEPLOYDIR}/ +} +addtask deploy after do_install + +PACKAGE_ARCH = "${MACHINE_SOCARCH}" + +LIC_FILES_CHKSUM = "file://COPYING;md5=228c72f2a91452b8a03c4cab30f30ef9" + +SRC_URI[imx8mn.md5sum] = "21b718fab2c4e77c8a848667698d74d1" +SRC_URI[imx8mn.sha256sum] = "e877c7462b6ea87c498563842f42352d204eb28a65f35f7dc1fec643f84abb66" + +SRC_URI[imx8mp.md5sum] = "3dd44131b41dd902a8ce1b53eb9a0cd6" +SRC_URI[imx8mp.sha256sum] = "c7ed19d1d164c910af114d58fc53628b6e237262e657e082ac7beb685f0398ec" + +COMPATIBLE_MACHINE = "(mx8mn|mx8mp)"