summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/ti-sci-fw
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2020-08-18 04:10:59 +0000
committerDenys Dmytriyenko <denys@ti.com>2020-08-17 22:20:38 +0000
commit69b51bca36a1995560bae95c344f3017a90185da (patch)
tree6a829a192add8d01acb93854a6f91b6fc9f90a29 /recipes-bsp/ti-sci-fw
parent0f2c17cf06fdd753069e44aaa52f07ace7d439fc (diff)
downloadmeta-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.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 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
3DEPENDS = "openssl-native u-boot-mkimage-native dtc-native" 3DEPENDS = "openssl-native u-boot-mkimage-native dtc-native"
4 4
5UBOOT_DEPENDS = ""
6UBOOT_DEPENDS_j7200-evm-k3r5 = "u-boot-ti-staging:do_deploy"
7do_compile[depends] += "${UBOOT_DEPENDS}"
8
5CLEANBROKEN = "1" 9CLEANBROKEN = "1"
6PR = "r1" 10PR = "r1"
7 11
@@ -45,6 +49,8 @@ EXTRA_OEMAKE_HS = " \
45" 49"
46EXTRA_OEMAKE_append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']}" 50EXTRA_OEMAKE_append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']}"
47 51
52EXTRA_OEMAKE_append_j7200-evm-k3r5 = " SBL="${DEPLOY_DIR_IMAGE}/u-boot-spl.bin""
53
48do_compile() { 54do_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
85do_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
92do_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
79addtask deploy before do_build after do_compile 99addtask deploy before do_build after do_compile