summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb')
-rw-r--r--recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb
new file mode 100644
index 00000000..3273c270
--- /dev/null
+++ b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb
@@ -0,0 +1,41 @@
1# Copyright (C) 2016 Freescale Semiconductor
2# Copyright 2017-2022 NXP
3
4DESCRIPTION = "i.MX System Controller Firmware"
5LICENSE = "Proprietary"
6LIC_FILES_CHKSUM = "file://COPYING;md5=5a0bf11f745e68024f37b4724a5364fe"
7SECTION = "BSP"
8
9inherit fsl-eula-unpack pkgconfig deploy
10
11SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true"
12
13SRC_URI[md5sum] = "d608eb2b3d312da1dbde55b8514c1e0f"
14SRC_URI[sha256sum] = "1272ac5c31a88017ef548721f3acf930a7eda6ac73aa9f41b5f0cade9d5c0e5f"
15
16BOARD_TYPE ?= "mek"
17SC_FIRMWARE_NAME ?= "INVALID"
18SC_FIRMWARE_NAME:mx8qm-nxp-bsp = "mx8qm-${BOARD_TYPE}-scfw-tcm.bin"
19SC_FIRMWARE_NAME:mx8qxp-nxp-bsp = "mx8qx-${BOARD_TYPE}-scfw-tcm.bin"
20SC_FIRMWARE_NAME:mx8dxl-nxp-bsp = "mx8dxl-${BOARD_TYPE}-scfw-tcm.bin"
21SC_FIRMWARE_NAME:mx8dx-nxp-bsp = "mx8dx-${BOARD_TYPE}-scfw-tcm.bin"
22
23symlink_name = "scfw_tcm.bin"
24
25BOOT_TOOLS = "imx-boot-tools"
26
27do_compile[noexec] = "1"
28
29do_install[noexec] = "1"
30
31do_deploy() {
32 install -Dm 0644 ${S}/${SC_FIRMWARE_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME}
33 ln -sf ${SC_FIRMWARE_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}/${symlink_name}
34}
35addtask deploy after do_install
36
37INHIBIT_PACKAGE_STRIP = "1"
38INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
39PACKAGE_ARCH = "${MACHINE_ARCH}"
40
41COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8dxl-nxp-bsp|mx8dx-nxp-bsp)"