diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2018-07-26 13:13:46 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-12-13 07:26:04 -0200 |
commit | b591b40f376579022b148bc0716c13b9d0d5c712 (patch) | |
tree | 7053a99463c4684dbb96dbdf2d182e120da1de1f /recipes-bsp/imx-sc-firmware | |
parent | a77be07199b5ead5c9a77f5876c10d8638921806 (diff) | |
download | meta-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.bb | 38 |
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 | |||
4 | DESCRIPTION = "i.MX System Controller Firmware" | ||
5 | LICENSE = "MIT" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=5ab1a30d0cd181e3408077727ea5a2db" | ||
7 | SECTION = "BSP" | ||
8 | |||
9 | inherit fsl-eula-unpack deploy | ||
10 | |||
11 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | ||
12 | |||
13 | SRC_URI[md5sum] = "3246a44a242b68fae601561a80d5925c" | ||
14 | SRC_URI[sha256sum] = "00024e0dd332b402df03b62eac9a515fabc903568d0ad7f30fabc7c98b494f15" | ||
15 | |||
16 | BOARD_TYPE ?= "mek" | ||
17 | SC_FIRMWARE_NAME ?= "mx8qm-mek-scfw-tcm.bin" | ||
18 | SC_FIRMWARE_NAME_mx8qm = "mx8qm-${BOARD_TYPE}-scfw-tcm.bin" | ||
19 | SC_FIRMWARE_NAME_mx8qxp = "mx8qx-${BOARD_TYPE}-scfw-tcm.bin" | ||
20 | symlink_name = "scfw_tcm.bin" | ||
21 | |||
22 | BOOT_TOOLS = "imx-boot-tools" | ||
23 | |||
24 | do_compile[noexec] = "1" | ||
25 | |||
26 | do_install[noexec] = "1" | ||
27 | |||
28 | do_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 | } | ||
32 | addtask deploy after do_install | ||
33 | |||
34 | INHIBIT_PACKAGE_STRIP = "1" | ||
35 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
36 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
37 | |||
38 | COMPATIBLE_MACHINE = "(mx8qm|mx8qxp)" | ||