Deploy sysfw and dm binaries
cover Deploy sysfw and dm binaries
Deploy the ti-sysfw and ti-dm binaries to the deploy_dir, while preserving the directory structure. This will allow directly using the deploy_dir as input to u-boot binman build if required, and also easier to copy these to tisdk-core-bundle's prebuilt-binaries dir
Aniket Limaye (2):
ti-sci-fw: Deploy the fw binaries to the deploy directory
ti-dm-dw: Preserve structure of the deployed ti-dm-fw binaries
meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb | 6 +++--- meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 11 +++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-)
Signature · 1 line
2.34.1
PATCH 1/2 ti-sci-fw: Deploy the fw binaries to the deploy directory
Deploy the sysfw binaries to the DEPLOYDIR, to be picked up by the tisdk-core-bundle... for the prebuilt binaries directory
--- meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 11 +++++++++++ 1 file changed, 11 insertions(+)
meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +11 -0
@@ -1,5 +1,7 @@ SUMMARY = "TI SYSFW/TIFS Firmware" +inherit deploy + require recipes-bsp/ti-linux-fw/ti-linux-fw.inc COMPATIBLE_MACHINE = "k3r5"
@@ -23,3 +25,12 @@ do_install() { } FILES:${PN} = "${nonarch_base_libdir}/firmware" + +do_deploy() { + install -d ${DEPLOYDIR}/ti-sysfw + install -m 644 ${S}/ti-sysfw/ti-sci-firmware-* ${DEPLOYDIR}/ti-sysfw + install -m 644 ${S}/ti-sysfw/ti-fs-firmware-* ${DEPLOYDIR}/ti-sysfw + install -m 644 ${S}/ti-sysfw/ti-fs-stub-firmware-* ${DEPLOYDIR}/ti-sysfw +} + +addtask deploy before do_build after do_compile
Signature · 1 line
2.34.1
PATCH 2/2 ti-dm-dw: Preserve structure of the deployed ti-dm-fw binaries
In reply to Aniket LimayePreserve the directory structure of the deployed dm firmware so that one can directly specify the deploy directory for binman based u-boot build.
Additionally, this makes it easier to preserve the same structure inside the prebuilt-images directory of the tisdk-core-bundle for the same reason.
--- meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb +3 -3
@@ -67,11 +67,11 @@ do_install() { do_deploy() { # DM Firmware is needed for rebuilding U-Boot - install -d ${DEPLOYDIR} + install -d ${DEPLOYDIR}/${DM_FW_DIR} for FW_NAME in ${DM_FW_LIST} do - install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME} ${DEPLOYDIR}/ - install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME}.signed ${DEPLOYDIR}/ + install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME} ${DEPLOYDIR}/${DM_FW_DIR} + install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME}.signed ${DEPLOYDIR}/${DM_FW_DIR} done }
Signature · 1 line
2.34.1
Re: [meta-ti][master/kirkstone][PATCH 2/2] ti-dm-dw: Preserve structure of the deployed ti-dm-fw binaries
Small typo in the Subject - ti-dm-dw
Quoted 32 lines · Aniket Limaye via lists.yoctoproject.org
Preserve the directory structure of the deployed dm firmware so that one can directly specify the deploy directory for binman based u-boot build.
Additionally, this makes it easier to preserve the same structure inside the prebuilt-images directory of the tisdk-core-bundle for the same reason.
Signed-off-by Aniket Limaye <[email protected]>--- meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb +3
-3@@ -67,11 +67,11 @@ do_install() { do_deploy() { # DM Firmware is needed for rebuilding U-Boot - install -d ${DEPLOYDIR} + install -d ${DEPLOYDIR}/${DM_FW_DIR} for FW_NAME in ${DM_FW_LIST} do - install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME} ${DEPLOYDIR}/ - install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME}.signed ${DEPLOYDIR}/ + install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME} ${DEPLOYDIR}/${DM_FW_DIR} + install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME}.signed ${DEPLOYDIR}/${DM_FW_DIR} done }Signature · 1 line
2.34.1