aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2018-07-26 13:13:46 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2018-12-13 07:26:04 -0200
commitb591b40f376579022b148bc0716c13b9d0d5c712 (patch)
tree7053a99463c4684dbb96dbdf2d182e120da1de1f /recipes-bsp
parenta77be07199b5ead5c9a77f5876c10d8638921806 (diff)
downloadmeta-freescale-b591b40f376579022b148bc0716c13b9d0d5c712.tar.gz
meta-freescale-b591b40f376579022b148bc0716c13b9d0d5c712.tar.bz2
meta-freescale-b591b40f376579022b148bc0716c13b9d0d5c712.zip
imx-sc-firmware: Add new package System Controller Firmware
Add System Controller firmware package for i.MX 8 and 8X families. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/imx-sc-firmware/imx-sc-firmware_0.9.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_0.9.bb b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_0.9.bb
new file mode 100644
index 00000000..329d4dc1
--- /dev/null
+++ b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_0.9.bb
@@ -0,0 +1,38 @@
+# Copyright (C) 2016 Freescale Semiconductor
+# Copyright 2017-2018 NXP
+
+DESCRIPTION = "i.MX System Controller Firmware"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=5ab1a30d0cd181e3408077727ea5a2db"
+SECTION = "BSP"
+
+inherit fsl-eula-unpack deploy
+
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
+
+SRC_URI[md5sum] = "3246a44a242b68fae601561a80d5925c"
+SRC_URI[sha256sum] = "00024e0dd332b402df03b62eac9a515fabc903568d0ad7f30fabc7c98b494f15"
+
+BOARD_TYPE ?= "mek"
+SC_FIRMWARE_NAME ?= "mx8qm-mek-scfw-tcm.bin"
+SC_FIRMWARE_NAME_mx8qm = "mx8qm-${BOARD_TYPE}-scfw-tcm.bin"
+SC_FIRMWARE_NAME_mx8qxp = "mx8qx-${BOARD_TYPE}-scfw-tcm.bin"
+symlink_name = "scfw_tcm.bin"
+
+BOOT_TOOLS = "imx-boot-tools"
+
+do_compile[noexec] = "1"
+
+do_install[noexec] = "1"
+
+do_deploy() {
+ install -Dm 0644 ${S}/${SC_FIRMWARE_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME}
+ ln -sf ${SC_FIRMWARE_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}/${symlink_name}
+}
+addtask deploy after do_install
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "(mx8qm|mx8qxp)"