Tool/software: Linux
Hi,
I am seeing an odd situation when unloading IPU1 firmware from system. Sometimes the whole system hangs / freezes after entering the following Linux command:
echo stop > /sys/class/remoteproc/remoteproc0/state
It is odd because it do not show any system error or debug error before freezing up.
It is more odd because freezes using the TI example demo located at:
ipc_3_47_01_00\examples\DRA7XX_linux_elf\ex02_messageq\ipu1
However, there is no problem loading ipu1 firmware.
Loading ipu1 firmware goes OK :
echo start > /sys/class/remoteproc/remoteproc0/state
[ 2212.947785] remoteproc remoteproc0: powering up 58820000.ipu
[ 2212.960645] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 7299420
[ 2212.968931] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
[ 2212.983346] virtio_rpmsg_bus virtio1: rpmsg host is online
[ 2212.989153] remoteproc remoteproc0: registered virtio1 (type 7)
[ 2212.995388] remoteproc remoteproc0: remote processor 58820000.ipu is now up
[ 2213.002726] virtio_rpmsg_bus virtio1: creating channel rpmsg-proto addr 0x3d
I am using ti-processor-sdk-rtos-am57xx-evm-04.03.00.05-Windows-x86-Install for generating ipu1 firmware.
Questions:
- Do you know how to make the system to not freeze up when unloading ipu1 firmware? as our application requires load/unloading ipu1 firmware on external events.
- How do you suggest to debug or track this issue as there is no system error showed up in terminal.
- What is the proper way to unload and then load ipu1 firmware?
Thanks in advance,
Gabohkiin