summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/ddr-phy
diff options
context:
space:
mode:
authorChunrong Guo <chunrong.guo@nxp.com>2019-04-01 16:57:44 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2019-04-11 09:00:13 -0300
commit0e53d060b04417acf3592ae4d9db9274830d7763 (patch)
tree9094cf55dec020eba5419736f9c25c5d0678a0ab /recipes-bsp/ddr-phy
parent477692f4b049698e8eeab906d4c1664dabc561b4 (diff)
downloadmeta-freescale-0e53d060b04417acf3592ae4d9db9274830d7763.tar.gz
ddy-phy :update recipes
*dpends atf source *build fiptool tools *make fip_ddr_all.bin by fiptool *install *bin Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Diffstat (limited to 'recipes-bsp/ddr-phy')
-rw-r--r--recipes-bsp/ddr-phy/ddr-phy_git.bb19
1 files changed, 16 insertions, 3 deletions
diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb b/recipes-bsp/ddr-phy/ddr-phy_git.bb
index ebd68c26..766ba798 100644
--- a/recipes-bsp/ddr-phy/ddr-phy_git.bb
+++ b/recipes-bsp/ddr-phy/ddr-phy_git.bb
@@ -4,21 +4,34 @@ LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=89cc852481956e861228286ac7430
4 4
5inherit deploy fsl-eula-unpack 5inherit deploy fsl-eula-unpack
6 6
7SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;fsl-eula=true;nobranch=1" 7SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;fsl-eula=true;nobranch=1 \
8 git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1;nobranch=1;destsuffix=git/atf;name=atf"
8SRCREV = "14d03e6e748ed5ebb9440f264bb374f1280b061c" 9SRCREV = "14d03e6e748ed5ebb9440f264bb374f1280b061c"
10SRCREV_atf = "7e34aebe658c7c3439d2d68b0ce6b9776e8e6996"
9 11
10S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
11 13
12REGLEX_lx2160a = "lx2160a" 14REGLEX_lx2160a = "lx2160a"
13 15
14do_install () { 16do_install () {
17 oe_runmake -C ${S}/atf fiptool
18 cd ${S}/${REGLEX}
19 ${S}/atf/tools/fiptool/fiptool create --ddr-immem-udimm-1d ddr4_pmu_train_imem.bin \
20 --ddr-immem-udimm-2d ddr4_2d_pmu_train_imem.bin \
21 --ddr-dmmem-udimm-1d ddr4_pmu_train_dmem.bin \
22 --ddr-dmmem-udimm-2d ddr4_2d_pmu_train_dmem.bin \
23 --ddr-immem-rdimm-1d ddr4_rdimm_pmu_train_imem.bin \
24 --ddr-immem-rdimm-2d ddr4_rdimm2d_pmu_train_imem.bin \
25 --ddr-dmmem-rdimm-1d ddr4_rdimm_pmu_train_dmem.bin \
26 --ddr-dmmem-rdimm-2d ddr4_rdimm2d_pmu_train_dmem.bin \
27 fip_ddr_all.bin
15 install -d ${D}/boot 28 install -d ${D}/boot
16 install -m 755 ${S}/${REGLEX}/* ${D}/boot 29 install -m 755 ${S}/${REGLEX}/*.bin ${D}/boot
17} 30}
18 31
19do_deploy () { 32do_deploy () {
20 install -d ${DEPLOYDIR}/ddr-phy 33 install -d ${DEPLOYDIR}/ddr-phy
21 install -m 755 ${S}/${REGLEX}/* ${DEPLOYDIR}/ddr-phy 34 install -m 755 ${S}/${REGLEX}/*.bin ${DEPLOYDIR}/ddr-phy
22} 35}
23addtask deploy before do_populate_sysroot after do_install 36addtask deploy before do_populate_sysroot after do_install
24 37