mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-08-22 00:42:07 +02:00

Due to https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git it is required to use https protocol for github repo accessing. Update created with oe-core/scripts/contrib/convert-srcuri.py (see [0]) Fixes: WARNING: /work/meta-freescale/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2021.07.bb: URL: git://github.com/Freescale/u-boot-fslc.git;branch=2021.07+fslc uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. [0] - https://git.openembedded.org/openembedded-core/tree/scripts/contrib/convert-srcuri.py Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
45 lines
1.3 KiB
BlitzBasic
45 lines
1.3 KiB
BlitzBasic
SUMMARY = "DDR firmware repository"
|
|
LICENSE = "NXP-Binary-EULA"
|
|
LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=89cc852481956e861228286ac7430d74"
|
|
|
|
inherit deploy
|
|
|
|
SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;nobranch=1;protocol=https"
|
|
SRCREV = "fbc036b88acb6c06ffed02c898cbae9856ec75ba"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
REGLEX = "lx2160a"
|
|
|
|
DEPENDS += "qoriq-atf-tools-native"
|
|
|
|
do_compile() {
|
|
cd ${S}/${REGLEX}
|
|
fiptool create --ddr-immem-udimm-1d ddr4_pmu_train_imem.bin \
|
|
--ddr-immem-udimm-2d ddr4_2d_pmu_train_imem.bin \
|
|
--ddr-dmmem-udimm-1d ddr4_pmu_train_dmem.bin \
|
|
--ddr-dmmem-udimm-2d ddr4_2d_pmu_train_dmem.bin \
|
|
--ddr-immem-rdimm-1d ddr4_rdimm_pmu_train_imem.bin \
|
|
--ddr-immem-rdimm-2d ddr4_rdimm2d_pmu_train_imem.bin \
|
|
--ddr-dmmem-rdimm-1d ddr4_rdimm_pmu_train_dmem.bin \
|
|
--ddr-dmmem-rdimm-2d ddr4_rdimm2d_pmu_train_dmem.bin \
|
|
fip_ddr_all.bin
|
|
}
|
|
|
|
do_install () {
|
|
install -d ${D}/boot
|
|
install -m 755 ${S}/${REGLEX}/*.bin ${D}/boot
|
|
}
|
|
|
|
do_deploy () {
|
|
install -d ${DEPLOYDIR}/ddr-phy
|
|
install -m 755 ${S}/${REGLEX}/*.bin ${DEPLOYDIR}/ddr-phy
|
|
}
|
|
addtask deploy before do_populate_sysroot after do_install
|
|
|
|
PACKAGES += "${PN}-image"
|
|
FILES:${PN}-image += "/boot"
|
|
|
|
COMPATIBLE_MACHINE = "(lx2160a|lx2162a)"
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|