diff options
author | Denys Dmytriyenko <denys@ti.com> | 2020-08-18 04:10:59 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2020-08-17 22:20:38 +0000 |
commit | 69b51bca36a1995560bae95c344f3017a90185da (patch) | |
tree | 6a829a192add8d01acb93854a6f91b6fc9f90a29 /recipes-bsp/ti-sci-fw | |
parent | 0f2c17cf06fdd753069e44aaa52f07ace7d439fc (diff) | |
download | meta-ti-69b51bca36a1995560bae95c344f3017a90185da.tar.gz |
ti-sci-fw: add support for the new j7200 platform
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp/ti-sci-fw')
-rw-r--r-- | recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb index 7f7171ae..e50e7b38 100644 --- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +++ b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | |||
@@ -2,6 +2,10 @@ require recipes-bsp/ti-sci-fw/ti-sci-fw.inc | |||
2 | 2 | ||
3 | DEPENDS = "openssl-native u-boot-mkimage-native dtc-native" | 3 | DEPENDS = "openssl-native u-boot-mkimage-native dtc-native" |
4 | 4 | ||
5 | UBOOT_DEPENDS = "" | ||
6 | UBOOT_DEPENDS_j7200-evm-k3r5 = "u-boot-ti-staging:do_deploy" | ||
7 | do_compile[depends] += "${UBOOT_DEPENDS}" | ||
8 | |||
5 | CLEANBROKEN = "1" | 9 | CLEANBROKEN = "1" |
6 | PR = "r1" | 10 | PR = "r1" |
7 | 11 | ||
@@ -45,6 +49,8 @@ EXTRA_OEMAKE_HS = " \ | |||
45 | " | 49 | " |
46 | EXTRA_OEMAKE_append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']}" | 50 | EXTRA_OEMAKE_append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']}" |
47 | 51 | ||
52 | EXTRA_OEMAKE_append_j7200-evm-k3r5 = " SBL="${DEPLOY_DIR_IMAGE}/u-boot-spl.bin"" | ||
53 | |||
48 | do_compile() { | 54 | do_compile() { |
49 | cd ${WORKDIR}/imggen/ | 55 | cd ${WORKDIR}/imggen/ |
50 | oe_runmake | 56 | oe_runmake |
@@ -76,4 +82,18 @@ do_deploy () { | |||
76 | install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/ | 82 | install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/ |
77 | } | 83 | } |
78 | 84 | ||
85 | do_install_j7200-evm-k3r5() { | ||
86 | install -d ${D}/boot | ||
87 | install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE} | ||
88 | ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_SYMLINK} | ||
89 | ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY} | ||
90 | } | ||
91 | |||
92 | do_deploy_j7200-evm-k3r5() { | ||
93 | install -d ${DEPLOYDIR} | ||
94 | install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE} | ||
95 | ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK} | ||
96 | ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY} | ||
97 | } | ||
98 | |||
79 | addtask deploy before do_build after do_compile | 99 | addtask deploy before do_build after do_compile |