diff options
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.bb | 41 |
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 | |||
4 | DESCRIPTION = "i.MX System Controller Firmware" | ||
5 | LICENSE = "Proprietary" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=5a0bf11f745e68024f37b4724a5364fe" | ||
7 | SECTION = "BSP" | ||
8 | |||
9 | inherit fsl-eula-unpack pkgconfig deploy | ||
10 | |||
11 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | ||
12 | |||
13 | SRC_URI[md5sum] = "d608eb2b3d312da1dbde55b8514c1e0f" | ||
14 | SRC_URI[sha256sum] = "1272ac5c31a88017ef548721f3acf930a7eda6ac73aa9f41b5f0cade9d5c0e5f" | ||
15 | |||
16 | BOARD_TYPE ?= "mek" | ||
17 | SC_FIRMWARE_NAME ?= "INVALID" | ||
18 | SC_FIRMWARE_NAME:mx8qm-nxp-bsp = "mx8qm-${BOARD_TYPE}-scfw-tcm.bin" | ||
19 | SC_FIRMWARE_NAME:mx8qxp-nxp-bsp = "mx8qx-${BOARD_TYPE}-scfw-tcm.bin" | ||
20 | SC_FIRMWARE_NAME:mx8dxl-nxp-bsp = "mx8dxl-${BOARD_TYPE}-scfw-tcm.bin" | ||
21 | SC_FIRMWARE_NAME:mx8dx-nxp-bsp = "mx8dx-${BOARD_TYPE}-scfw-tcm.bin" | ||
22 | |||
23 | symlink_name = "scfw_tcm.bin" | ||
24 | |||
25 | BOOT_TOOLS = "imx-boot-tools" | ||
26 | |||
27 | do_compile[noexec] = "1" | ||
28 | |||
29 | do_install[noexec] = "1" | ||
30 | |||
31 | do_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 | } | ||
35 | addtask deploy after do_install | ||
36 | |||
37 | INHIBIT_PACKAGE_STRIP = "1" | ||
38 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
39 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
40 | |||
41 | COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8dxl-nxp-bsp|mx8dx-nxp-bsp)" | ||