Other Parts Discussed in Thread: SYSBIOS
Tool/software: Linux
Hi,
When I stop the IPU of the AM572x, the Linux system freezes.
The problem has already been reported and marked as resolved, but without describing a solution:
e2e.ti.com/.../757568
e2e.ti.com/.../755141
Steps to reproduce:
- Boot the Linux image of the processor SDK "am57xx-evm-linux-05.03.00.07.img"
- run "ln -sfn /usr/bin/ipc/examples/ex02_messageq/release/server_ipu1.xem4 /lib/firmware/dra7-ipu1-fw.xem4"
- run "echo 58820000.ipu > /sys/bus/platform/drivers/omap-rproc/bind" and "echo 58820000.ipu > /sys/bus/platform/drivers/omap-rproc/unbind" repeatedly, until the system hangs. This happens usually within 10 repetitions.
Some more details:
The problem might be associated with the MessageQ IPC mechanism, as it does not seem to appear with the "opencl-monitor" firmware included in the SDK image, but does also happen with my custom TI-RTOS application firmware which makes use of MessageQ.
I have encountered this issue with all other Linux kernel versions I tried: 4.14.98, 4.14.108 and 4.19.94, all built with yocto from the meta-ti layer.
I have also tried restarting the IPU with other commands:
echo start > /sys/class/remoteproc/remoteproc0/state
echo stop > /sys/class/remoteproc/remoteproc0/state
The result is the same, however.
Thanks in advance,
Alexander