ti-sci-fw: Update J7200 deploy to install ti-sci-fw
PATCH v2 1/1 ti-sci-fw: Update J7200 deploy to install ti-sci-fw
From: Lucas Weaver <[email protected]>
The J7200 ti-sci-fw needs to be installed in the deploy directory so that it can be packaged in Processor SDK bundle
This is required because the ti-sci-fw is needed in the installer prebuilt-images in order to build the combined boot image for J7200
--- recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 1 + 1 file changed, 1 insertion(+)
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1 -0
@@ -99,6 +99,7 @@ do_deploy_j7200-evm-k3r5() { install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE} ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK} ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY} + install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/ } do_install_am64xx-evm-k3r5() {
Signature · 1 line
2.17.1
Quoted 19 lines · l-weaver via lists.yoctoproject.org
From: Lucas Weaver <[email protected]>
The J7200 ti-sci-fw needs to be installed in the deploy directory so that it can be packaged in Processor SDK bundle
This is required because the ti-sci-fw is needed in the installer prebuilt-images in order to build the combined boot image for J7200
Signed-off-by Lucas Weaver <[email protected]>--- recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 1 + 1 file changed, 1 insertion(+)recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +0
-0
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb do_deploy_j7200-evm-k3r5() { · line 102
Quoted 4 lines
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1
-0@@ -99,6 +99,7 @@ do_deploy_j7200-evm-k3r5() { install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE} ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK} ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY} + install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
This is already done for all platforms:
https://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb#n87
do_deploy () {
...
install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
}Quoted 6 lines
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +0
-0} do_install_am64xx-evm-k3r5() {Signature · 1 line
2.17.1
Quoted 27 lines · Denys Dmytriyenko
Quoted 19 lines · l-weaver via lists.yoctoproject.org
From: Lucas Weaver <[email protected]>
The J7200 ti-sci-fw needs to be installed in the deploy directory so that it can be packaged in Processor SDK bundle
This is required because the ti-sci-fw is needed in the installer prebuilt-images in order to build the combined boot image for J7200
Signed-off-by Lucas Weaver <[email protected]>--- recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 1 + 1 file changed, 1 insertion(+)recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +0
-0recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb do_deploy_j7200-evm-k3r5() { · line 102
Quoted 4 lines
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1
-0@@ -99,6 +99,7 @@ do_deploy_j7200-evm-k3r5() { install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE} ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK} ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY} + install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/This is already done for all platforms:
Quoted 9 lines
https://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb#n87
do_deploy () { ... install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/ }
From my understanding, I thought that the do_deploy_j7200-evm-k3r5 shown below will overwrite the do_deploy task for the j7200-evm-k3r5 platform. This was seemingly confirmed when I tried to bundle the ti-sci-fw for J7200 in the Processor SDK bundle but this file was not found. After adding the change from this patch, the bundle step succeeded. Could you please clarify my understanding?
https://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb#n97
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}
}Quoted 6 lines
Quoted 6 lines
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +0
-0} do_install_am64xx-evm-k3r5() {Signature · 1 line
2.17.1
Quoted 39 lines · Lucas
Quoted 27 lines · Denys Dmytriyenko
Quoted 19 lines · l-weaver via lists.yoctoproject.org
From: Lucas Weaver <[email protected]>
The J7200 ti-sci-fw needs to be installed in the deploy directory so that it can be packaged in Processor SDK bundle
This is required because the ti-sci-fw is needed in the installer prebuilt-images in order to build the combined boot image for J7200
Signed-off-by Lucas Weaver <[email protected]>--- recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 1 + 1 file changed, 1 insertion(+)recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +0
-0recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb do_deploy_j7200-evm-k3r5() { · line 102
Quoted 4 lines
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1
-0@@ -99,6 +99,7 @@ do_deploy_j7200-evm-k3r5() { install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE} ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK} ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY} + install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/This is already done for all platforms:
Quoted 9 lines
https://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb#n87
do_deploy () { ... install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/ }
Quoted 6 lines
From my understanding, I thought that the do_deploy_j7200-evm-k3r5 shown below will overwrite the
do_deploytask for the j7200-evm-k3r5 platform. This was seemingly confirmed when I tried to bundle the ti-sci-fw for J7200 in the Processor SDK bundle but this file was not found. After adding the change from this patch, the bundle step succeeded. Could you please clarify my understanding?
Ah, you are right. I somehow misread those as appends and not complete overrides. In that case your change is correct.
I just wonder if the same change is needed for am64x platforms. And that portion of the code needs some unification and cleanup...
Quoted 16 lines
https://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb#n97
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} }Quoted 5 lines
Quoted 5 lines
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +0
-0} do_install_am64xx-evm-k3r5() {Signature · 1 line
2.17.1
Signature · 4 lines
Regards, Denys Dmytriyenko <[email protected]> PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964 Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964
Yes, combined boot is also targeted for AM64x.
Lucas, can you pls add this capability for am64xx-evm and am64xx-sk as well?