From a7e2af210c6968914215c7cd32ccb47512408719 Mon Sep 17 00:00:00 2001 From: Chunrong Guo Date: Fri, 11 Jan 2019 03:14:32 +0000 Subject: [PATCH] ddr-phy: add recipes *update to lsdk 1812 tag include the following changes 14d03e6 - Add fip file for DDR binaries for TF-A flow 241bedb - lx2: ddr: phy: add rdimm phy binaries. 2cb8757 - lx2: ddr: phy: add udimm phy binaries. 4081187 - Initial Commit Signed-off-by: Chunrong Guo --- recipes-bsp/ddr-phy/ddr-phy_git.bb | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 recipes-bsp/ddr-phy/ddr-phy_git.bb diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb b/recipes-bsp/ddr-phy/ddr-phy_git.bb new file mode 100644 index 00000000..ebd68c26 --- /dev/null +++ b/recipes-bsp/ddr-phy/ddr-phy_git.bb @@ -0,0 +1,29 @@ +SUMMARY = "DDR firmware repository" +LICENSE = "NXP-Binary-EULA" +LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=89cc852481956e861228286ac7430d74" + +inherit deploy fsl-eula-unpack + +SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;fsl-eula=true;nobranch=1" +SRCREV = "14d03e6e748ed5ebb9440f264bb374f1280b061c" + +S = "${WORKDIR}/git" + +REGLEX_lx2160a = "lx2160a" + +do_install () { + install -d ${D}/boot + install -m 755 ${S}/${REGLEX}/* ${D}/boot +} + +do_deploy () { + install -d ${DEPLOYDIR}/ddr-phy + install -m 755 ${S}/${REGLEX}/* ${DEPLOYDIR}/ddr-phy +} +addtask deploy before do_populate_sysroot after do_install + +PACKAGES += "${PN}-image" +FILES_${PN}-image += "/boot" + +COMPATIBLE_MACHINE = "(lx2160a)" +PACKAGE_ARCH = "${MACHINE_ARCH}" -- 2.40.1