summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)"