From: Chunrong Guo <[email protected]> Changelog: 1af724b update End-User License Agreement 76854c9 ls1043aqds: revise the description of SERDES1 Protocol 0x3358 970cc5d ls1043aqds: add SATA support under QSPI boot 017ed94 ls1021a/ls1043a: byte_swap: should 8 byte alignment ea90914 ls1021a: remove the unnecessary PBI 3f37603 ls1043aqds: Clear SerDes RxBoost on lane D cbf49c1 LS1043a-RDB: Add RCW files for UEFI bootloader 419bd59 ls1043ardb: SECURE_BOOT- RCW added ae3461a qe-tdm: add qe-tdm support on ls1043ardb 26042fa ls1043ardb: Add RCW for ls1043ardb board 4ae7fc3 ls1043aqds: Add RCW for ls1043aqds board
* change license to Freescale-EULA * add support for fsl-lsch2 Signed-off-by: Ting Liu <[email protected]> --- recipes-bsp/rcw/rcw_git.bb | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index 9be53f2..6c5de2a 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb @@ -1,18 +1,20 @@ SUMMARY = "Reset Configuration Word" DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the QorIQ targets" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b6c8ebcfdd208e" +LICENSE = "Freescale-EULA" +LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f" -DEPENDS += "change-file-endianess-native" +inherit deploy siteinfo -inherit deploy +DEPENDS += "change-file-endianess-native tcl-native" -SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;branch=sdk-v1.9.x" -SRCREV = "521008fe6ec9897fe245e1c1241fc27dad98f24d" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;branch=sdk-v2.0.x" +SRCREV = "1af724b64347170e9d9ba8e8f277dd30026a1a7e" S = "${WORKDIR}/git" -EXTRA_OEMAKE = "BOARDS=${@d.getVar('MACHINE', True).replace('-64b','')} DESTDIR=${D}/boot/rcw/" +EXTRA_OEMAKE = "BOARDS=${@d.getVar('MACHINE', True).replace('-64b','').replace('-${SITEINFO_ENDIANNESS}','')} DESTDIR=${D}/boot/rcw/" do_install () { oe_runmake install @@ -24,6 +26,13 @@ do_install_append_ls102xa () { done } +do_install_append_fsl-lsch2 () { + for f in `find ${D}/boot/rcw/ -name "*qspiboot*"`;do + f_swap=`echo $f |sed -e 's/qspiboot/qspiboot_swap/'` + tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl $f $f_swap 8 + done +} + do_deploy () { install -d ${DEPLOYDIR}/rcw cp -r ${D}/boot/rcw/* ${DEPLOYDIR}/rcw/ @@ -32,6 +41,4 @@ addtask deploy after do_install PACKAGES += "${PN}-image" FILES_${PN}-image += "/boot" - -PACKAGE_ARCH = "${MACHINE_ARCH}" -COMPATIBLE_MACHINE = "(qoriq)" +COMPATIBLE_MACHINE = "(qoriq-ppc|qoriq-arm|fsl-lsch2)" -- 1.9.2 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
