omap-a15: Add
cover omap-a15: Add
As per discussion in kirkstone version of the patch [0], sending this series rebased for scarthgap/master as well.
The firmware is required for early boot of the remoteproc from SPL stage of the bootloader. Copy the ipc firmware into the boot partition of the wic images, where the bootloader expects it to be.
For this, add a deploy task for the firmware binary and also include the file in IMAGE_BOOT_FILES for omap-a15.
[0]: https://lists.yoctoproject.org/g/meta-ti/message/18091
Aniket Limaye (2):
meta-ti-extras: ti-ipc-rtos: Deploy ipc firmware
conf: machine: omap-a15.inc: include ipu1 firmware in the boot
partition
meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 ++- meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-)
Signature · 1 line
2.47.0
PATCH 1/2 meta-ti-extras: ti-ipc-rtos: Deploy ipc firmware
Early boot of remote processors from SPL stage of bootloader requires the remoteproc firmware to be present in the boot partition. Deploy this rproc IPC firmware so that it can be copied to the boot partitions of the wic images.
--- meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+)
meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb +13 -0
@@ -2,6 +2,8 @@ require recipes-ti/ipc/ti-ipc.inc require recipes-ti/ipc/ti-ipc-common.inc require ti-ipc-rtos.inc +inherit deploy + DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native" PACKAGES =+ "${PN}-fw"
@@ -100,6 +102,17 @@ pkg_postrm:${PN}-fw:omapl138 () { update-alternatives --remove rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674 } +do_deploy() { + install -d ${DEPLOYDIR} +} + +do_deploy:append:omap-a15() { + install -d ${DEPLOYDIR}/ipc + install -m 0644 ${S}/packages/ti/ipc/tests/bin/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 ${DEPLOYDIR}/ipc/dra7-ipu1-fw.xem4 +} + +addtask deploy after do_install + # Disable the "buildpaths" check while we figure out how we are # going to address this issue. #
Signature · 1 line
2.47.0
PATCH 2/2 conf: machine: omap-a15.inc: include ipu1 firmware in the boot partition
In reply to Aniket LimayeEarly Boot of remote processors is supported at the SPL stage of the bootloader. Currently, SPL looks for the remoteproc firmwares in the boot partition.
Therefore, add the rproc firmware to the boot partition of wic images.
--- meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-ti-bsp/conf/machine/include/omap-a15.inc +2 -1
@@ -48,5 +48,6 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" do_image_wic[depends] += "virtual/bootloader:do_deploy" +do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
Signature · 1 line
2.47.0
Re: [meta-ti][scarthgap/master][PATCH 2/2] conf: machine: omap-a15.inc: include ipu1 firmware in the boot partition
Quoted 8 lines · Aniket Limaye via lists.yoctoproject.org
Early Boot of remote processors is supported at the SPL stage of the bootloader. Currently, SPL looks for the remoteproc firmwares in the boot partition.
Therefore, add the rproc firmware to the boot partition of wic images.
Signed-off-by Aniket Limaye <[email protected]>
This patch introduces a dependency of meta-ti-bsp on meta-ti-extras, breaking builds of omap-a15 platforms without meta-ti-extras.
Best regards,
Matthias
Quoted 24 lines
--- meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +2
-2@@ -48,5 +48,6 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" do_image_wic[depends] += "virtual/bootloader:do_deploy" +do_image_wic[depends] += "ti-ipc-rtos:do_deploy" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#18098): https://lists.yoctoproject.org/g/meta-ti/message/18098
Mute This Topic: https://lists.yoctoproject.org/mt/110003435/4454427
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 4 lines
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht München, HRB 105018 Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider https://www.tq-group.com/
Re: [meta-ti][scarthgap/master][PATCH 2/2] conf: machine: omap-a15.inc: include ipu1 firmware in the boot partition
Quoted 7 lines · Matthias Schiffer via lists.yoctoproject.org
Quoted 5 lines · Aniket Limaye via lists.yoctoproject.org
Early Boot of remote processors is supported at the SPL stage of the bootloader. Currently, SPL looks for the remoteproc firmwares in the boot partition.
Quoted 6 lines
Quoted 3 lines
Therefore, add the rproc firmware to the boot partition of wic images.
Signed-off-by Aniket Limaye <[email protected]>This patch introduces a dependency of meta-ti-bsp on meta-ti-extras, breaking builds of omap-a15 platforms without meta-ti-extras.
Ah, indeed. And the reason ti-ipc-rtos lives in meta-ti-extras is because those are some legacy recipes built from sources using old tools like XDC, SYS/BIOS and CGT... Those cannot be easily moved to meta-ti-bsp.
I'd say this change needs to be reverted and the inclusion of IPU FW pushed down to corresponding distro or product layers that use meta-ti-extras.
Quoted 20 lines
Best regards,
MatthiasQuoted 16 lines
--- meta-ti-bsp/conf/machine/include/omap-a15.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta-ti-bsp/conf/machine/include/omap-a15.inc +2
-1@@ -48,5 +48,6 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3 IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" WKS_FILE ?= "sdimage-2part.wks" -IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" +IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4" do_image_wic[depends] += "virtual/bootloader:do_deploy" +do_image_wic[depends] += "ti-ipc-rtos:do_deploy"