diff options
Diffstat (limited to 'recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_20.04.bb')
-rw-r--r-- | recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_20.04.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_20.04.bb b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_20.04.bb new file mode 100644 index 00000000..e8db5456 --- /dev/null +++ b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_20.04.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | SUMMARY = "DP firmware" | ||
2 | LICENSE = "Proprietary" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=228c72f2a91452b8a03c4cab30f30ef9" | ||
4 | |||
5 | inherit deploy fsl-eula-unpack | ||
6 | |||
7 | SRC_URI = "https://www.nxp.com/lgfiles/sdk/lsdk2004/firmware-cadence-lsdk2004.bin;fsl-eula=true" | ||
8 | |||
9 | SRC_URI[md5sum] = "d7eb8ef87cae8e4a205c266b3ac6f330" | ||
10 | SRC_URI[sha256sum] = "bef89a3eceed95e90748a2301d6f6ffbdf1a72237c0045093cb9485b05eb8fbd" | ||
11 | |||
12 | S = "${WORKDIR}/firmware-cadence-lsdk2004" | ||
13 | |||
14 | do_install () { | ||
15 | install -d ${D}/boot | ||
16 | cp -fr ${S}/dp/*.bin ${D}/boot | ||
17 | } | ||
18 | |||
19 | do_deploy () { | ||
20 | install -d ${DEPLOYDIR}/dp | ||
21 | cp -fr ${S}/dp/*.bin ${DEPLOYDIR}/dp | ||
22 | } | ||
23 | addtask deploy before do_build after do_install | ||
24 | |||
25 | PACKAGES += "${PN}-image" | ||
26 | FILES_${PN}-image += "/boot" | ||
27 | |||
28 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | ||
29 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
30 | |||