aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2020-08-18 04:10:59 +0000
committerDenys Dmytriyenko <denys@ti.com>2020-08-18 04:04:01 +0000
commitc46e0ff715a78956dcea7646a7fc0db7fd3191ec (patch)
tree56626e0e1154fcbe6c6ddaa4aca6c70557d26e36 /recipes-bsp
parent56a8e415ef266063eb35885fb9c0dafb6aea6562 (diff)
downloadmeta-ti-c46e0ff715a78956dcea7646a7fc0db7fd3191ec.tar.gz
meta-ti-c46e0ff715a78956dcea7646a7fc0db7fd3191ec.tar.bz2
meta-ti-c46e0ff715a78956dcea7646a7fc0db7fd3191ec.zip
ti-sci-fw: add support for the new j7200 platform
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb20
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 7f7171aef..e50e7b38d 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
DEPENDS = "openssl-native u-boot-mkimage-native dtc-native"
+UBOOT_DEPENDS = ""
+UBOOT_DEPENDS_j7200-evm-k3r5 = "u-boot-ti-staging:do_deploy"
+do_compile[depends] += "${UBOOT_DEPENDS}"
+
CLEANBROKEN = "1"
PR = "r1"
@@ -45,6 +49,8 @@ EXTRA_OEMAKE_HS = " \
"
EXTRA_OEMAKE_append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']}"
+EXTRA_OEMAKE_append_j7200-evm-k3r5 = " SBL="${DEPLOY_DIR_IMAGE}/u-boot-spl.bin""
+
do_compile() {
cd ${WORKDIR}/imggen/
oe_runmake
@@ -76,4 +82,18 @@ do_deploy () {
install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
}
+do_install_j7200-evm-k3r5() {
+ install -d ${D}/boot
+ install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
+ ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_SYMLINK}
+ ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
+}
+
+do_deploy_j7200-evm-k3r5() {
+ install -d ${DEPLOYDIR}
+ install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
+ ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
+ ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
+}
+
addtask deploy before do_build after do_compile