summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-sc-firmware
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/imx-sc-firmware
parenta77be07199b5ead5c9a77f5876c10d8638921806 (diff)
downloadmeta-freescale-b591b40f376579022b148bc0716c13b9d0d5c712.tar.gz
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/imx-sc-firmware')
-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 @@
1# Copyright (C) 2016 Freescale Semiconductor
2# Copyright 2017-2018 NXP
3
4DESCRIPTION = "i.MX System Controller Firmware"
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=5ab1a30d0cd181e3408077727ea5a2db"
7SECTION = "BSP"
8
9inherit fsl-eula-unpack deploy
10
11SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
12
13SRC_URI[md5sum] = "3246a44a242b68fae601561a80d5925c"
14SRC_URI[sha256sum] = "00024e0dd332b402df03b62eac9a515fabc903568d0ad7f30fabc7c98b494f15"
15
16BOARD_TYPE ?= "mek"
17SC_FIRMWARE_NAME ?= "mx8qm-mek-scfw-tcm.bin"
18SC_FIRMWARE_NAME_mx8qm = "mx8qm-${BOARD_TYPE}-scfw-tcm.bin"
19SC_FIRMWARE_NAME_mx8qxp = "mx8qx-${BOARD_TYPE}-scfw-tcm.bin"
20symlink_name = "scfw_tcm.bin"
21
22BOOT_TOOLS = "imx-boot-tools"
23
24do_compile[noexec] = "1"
25
26do_install[noexec] = "1"
27
28do_deploy() {
29 install -Dm 0644 ${S}/${SC_FIRMWARE_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME}
30 ln -sf ${SC_FIRMWARE_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}/${symlink_name}
31}
32addtask deploy after do_install
33
34INHIBIT_PACKAGE_STRIP = "1"
35INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
36PACKAGE_ARCH = "${MACHINE_ARCH}"
37
38COMPATIBLE_MACHINE = "(mx8qm|mx8qxp)"