diff options
-rw-r--r-- | recipes-bsp/atf/atf-tools_git.bb | 19 | ||||
-rw-r--r-- | recipes-bsp/ddr-phy/ddr-phy_git.bb | 14 |
2 files changed, 27 insertions, 6 deletions
diff --git a/recipes-bsp/atf/atf-tools_git.bb b/recipes-bsp/atf/atf-tools_git.bb new file mode 100644 index 00000000..a5998fe2 --- /dev/null +++ b/recipes-bsp/atf/atf-tools_git.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "Tools for ARM Trusted Firmware, e.g. FIP image creation tool" | ||
2 | LICENSE = "BSD" | ||
3 | LIC_FILES_CHKSUM = "file://license.rst;md5=e927e02bca647e14efd87e9e914b2443" | ||
4 | |||
5 | SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1" | ||
6 | SRCREV = "17f94e4315e81e3d1b22d863d9614d724e8273dc" | ||
7 | |||
8 | S = "${WORKDIR}/git" | ||
9 | |||
10 | DEPENDS += "openssl" | ||
11 | |||
12 | EXTRA_OEMAKE = "fiptool V=1 HOSTCC='${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}'" | ||
13 | |||
14 | do_install () { | ||
15 | install -m 0755 -d ${D}/${bindir} | ||
16 | install -m 0755 ${S}/tools/fiptool/fiptool ${D}/${bindir}/ | ||
17 | } | ||
18 | |||
19 | BBCLASSEXTEND = "native" | ||
diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb b/recipes-bsp/ddr-phy/ddr-phy_git.bb index 98a9b029..d98d102f 100644 --- a/recipes-bsp/ddr-phy/ddr-phy_git.bb +++ b/recipes-bsp/ddr-phy/ddr-phy_git.bb | |||
@@ -4,19 +4,18 @@ LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=89cc852481956e861228286ac7430 | |||
4 | 4 | ||
5 | inherit deploy fsl-eula-unpack | 5 | inherit deploy fsl-eula-unpack |
6 | 6 | ||
7 | SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;fsl-eula=true;nobranch=1 \ | 7 | SRC_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;destsuffix=git/atf;name=atf" | ||
9 | SRCREV = "14d03e6e748ed5ebb9440f264bb374f1280b061c" | 8 | SRCREV = "14d03e6e748ed5ebb9440f264bb374f1280b061c" |
10 | SRCREV_atf = "17f94e4315e81e3d1b22d863d9614d724e8273dc" | ||
11 | 9 | ||
12 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
13 | 11 | ||
14 | REGLEX_lx2160a = "lx2160a" | 12 | REGLEX_lx2160a = "lx2160a" |
15 | 13 | ||
16 | do_install () { | 14 | DEPENDS += "atf-tools-native" |
17 | oe_runmake -C ${S}/atf fiptool | 15 | |
16 | do_compile() { | ||
18 | cd ${S}/${REGLEX} | 17 | cd ${S}/${REGLEX} |
19 | ${S}/atf/tools/fiptool/fiptool create --ddr-immem-udimm-1d ddr4_pmu_train_imem.bin \ | 18 | fiptool create --ddr-immem-udimm-1d ddr4_pmu_train_imem.bin \ |
20 | --ddr-immem-udimm-2d ddr4_2d_pmu_train_imem.bin \ | 19 | --ddr-immem-udimm-2d ddr4_2d_pmu_train_imem.bin \ |
21 | --ddr-dmmem-udimm-1d ddr4_pmu_train_dmem.bin \ | 20 | --ddr-dmmem-udimm-1d ddr4_pmu_train_dmem.bin \ |
22 | --ddr-dmmem-udimm-2d ddr4_2d_pmu_train_dmem.bin \ | 21 | --ddr-dmmem-udimm-2d ddr4_2d_pmu_train_dmem.bin \ |
@@ -25,6 +24,9 @@ do_install () { | |||
25 | --ddr-dmmem-rdimm-1d ddr4_rdimm_pmu_train_dmem.bin \ | 24 | --ddr-dmmem-rdimm-1d ddr4_rdimm_pmu_train_dmem.bin \ |
26 | --ddr-dmmem-rdimm-2d ddr4_rdimm2d_pmu_train_dmem.bin \ | 25 | --ddr-dmmem-rdimm-2d ddr4_rdimm2d_pmu_train_dmem.bin \ |
27 | fip_ddr_all.bin | 26 | fip_ddr_all.bin |
27 | } | ||
28 | |||
29 | do_install () { | ||
28 | install -d ${D}/boot | 30 | install -d ${D}/boot |
29 | install -m 755 ${S}/${REGLEX}/*.bin ${D}/boot | 31 | install -m 755 ${S}/${REGLEX}/*.bin ${D}/boot |
30 | } | 32 | } |