imx-sc-firmware: add IMX System Controller firmware
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
parent
1e57643c2b
commit
a69d7420a4
|
|
@ -0,0 +1,44 @@
|
|||
# Copyright (C) 2016 Freescale Semiconductor
|
||||
# Copyright 2017 NXP
|
||||
|
||||
DESCRIPTION = "i.MX System Controller Firmware"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
SECTION = "BSP"
|
||||
|
||||
inherit fsl-eula-unpack pkgconfig deploy
|
||||
|
||||
SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
|
||||
|
||||
SRC_URI[md5sum] = "6ae8d2ffc24d5cadac9a90c2ff49ecf1"
|
||||
SRC_URI[sha256sum] = "f206d017cb9bd1eb554fb76934034dc85d66155ce7a9f55e5ad25a9c8135dd56"
|
||||
|
||||
S = "${WORKDIR}/${PN}-${PV}"
|
||||
|
||||
SC_MACHINE_NAME ?= "mx8qm-scfw-tcm.bin"
|
||||
SC_MACHINE_NAME_mx8qm = "mx8qm-scfw-tcm.bin"
|
||||
SC_MACHINE_NAME_mx8qxp = "mx8qx-scfw-tcm.bin"
|
||||
|
||||
SYSROOT_DIRS += "/boot"
|
||||
|
||||
do_install () {
|
||||
install -d ${D}/boot
|
||||
install -m 0644 ${S}/${SC_MACHINE_NAME} ${D}/boot/
|
||||
}
|
||||
|
||||
BOOT_TOOLS = "imx-boot-tools"
|
||||
|
||||
do_deploy () {
|
||||
install -d ${DEPLOYDIR}/${BOOT_TOOLS}
|
||||
install -m 0644 ${S}/${SC_MACHINE_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}/
|
||||
}
|
||||
|
||||
addtask deploy after do_install
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
FILES_${PN} = "/boot"
|
||||
|
||||
COMPATIBLE_MACHINE = "(mx8qm|mx8qxp)"
|
||||
Loading…
Reference in New Issue