From 67050918d2f44e2a6c03971663a03cec55131f1b Mon Sep 17 00:00:00 2001 From: Chunrong Guo Date: Tue, 30 Jan 2018 17:09:51 +0800 Subject: [PATCH] rcw-bin: add recipes *include the following changes: bf3ae3c - armv8:LS1012A: Add support for LS1012A-2G5RDB board e84010a - rcw: remove source files of SoCs 69104c3 - LS1012: Change header location in rcw for Secure Boot 43c79c9 - rcw: ls1088aqds: Add RCW PBL_QSPI_1600_700_2100_0x15_0x0d.bin 6719b04 - Ls1043a: add workaround for pcie errata A-009859 1a6236a - LS1012ARDB: Change rcw for secure boot cdf4b72 - rcw: ls1088aqds: Add SCSI errata for detecttion of sata 16072f7 - armv8:LS1012A: RCW supporting 1GHz CPU frequency 90aef03 - LS1088ARDB:Reduce size in block copy command 53518dc - rcw: ls1088ardb: Add SCSI errata for detecttion of sata 0a869b3 - ls1021a: add workaround for pcie erratum A-007997 and A-007815 e7f18e5 - ls2088ardb: Add RCW for with platform frequency 700MHz 6f324fc - Use BSD license for both rcw and binary files c69799f - Added copyright to byte_swap.tcl Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador --- recipes-bsp/rcw/rcw-bin_git.bb | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 recipes-bsp/rcw/rcw-bin_git.bb diff --git a/recipes-bsp/rcw/rcw-bin_git.bb b/recipes-bsp/rcw/rcw-bin_git.bb new file mode 100644 index 00000000..bdb075f3 --- /dev/null +++ b/recipes-bsp/rcw/rcw-bin_git.bb @@ -0,0 +1,32 @@ +SUMMARY = "Reset Configuration Word" +DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the QorIQ targets" +LICENSE = "NXP-Binary-EULA" +LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=ba5ff3a3faf52a38970d0a536ef42df5" + +inherit deploy siteinfo + +SRC_URI = "git://github.com/qoriq-open-source/rcw-bin.git;nobranch=1" +SRCREV = "bf3ae3cb15829876007c553509501cdaa16745e7" + +S = "${WORKDIR}/git" + +M="${@d.getVar('MACHINE', True).replace('-64b','').replace('-32b','').replace('-${SITEINFO_ENDIANNESS}','')}" + +do_install () { + install -d ${D}/boot/rcw + cp -rf ${S}/${M}* ${D}/boot/rcw/ + chown -R root:root ${D} +} + +do_deploy () { + install -d ${DEPLOYDIR}/rcw + cp -rf ${S}/${M}* ${DEPLOYDIR}/rcw/ +} +addtask deploy before do_build after do_install + +PACKAGES += "${PN}-image" +FILES_${PN}-image += "/boot" + +COMPATIBLE_MACHINE = "(qoriq)" +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "(ls1012a|ls2088a|ls1088a)" -- 2.40.1