PROCESSOR-SDK-AM62X: AM62x: Failed to run the UART Echo in M4F core

Part Number: PROCESSOR-SDK-AM62X

Hi,

I am trying to run the UART Echo example.

https://software-dl.ti.com/mcu-plus-sdk/esd/AM62X/09_02_00_38/exports/docs/api_guide_am62x/EXAMPLES_DRIVERS_UART_ECHO.html


I believe I have built the UART Echo application successfully.

I have tried both "uart_echo_am62x-sk_m4fss0-0_nortos_ti-arm-clang.out" and "uart_echo.mcu-m4f0_0.strip.out". Both also failed.


root@p550:/lib/firmware# ls
am62-mcu-m4f0_0-fw  regulatory.db  regulatory.db.p7s
root@p550:/lib/firmware# echo start > /sys/class/remoteproc/remoteproc0/state
[514484.624850] remoteproc remoteproc0: powering up 5000000.m4fss
[514484.631666] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 273848
[514484.643169] remoteproc remoteproc0: Boot failed: -22
-sh: echo: write error: Invalid argument
root@p550:/lib/firmware#

Do I miss anything here ?

But, I can run IPC RP Message Linux Echo application successfully.

root@p550:/lib/firmware# echo start > /sys/class/remoteproc/remoteproc0/state
[515958.535521] remoteproc remoteproc0: powering up 5000000.m4fss
[515958.541903] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 124408
[515958.552541] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node m4f-dma-memory@9cb00000
[515958.571380] virtio_rpmsg_bus virtio0: rpmsg host is online
[515958.577250] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
[515958.588724] rproc-virtio rproc-virtio.2.auto: registered virtio0 (type 7)
[515958.597023] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
[515958.606231] remoteproc remoteproc0: remote processor 5000000.m4fss is now up
root@p550:/lib/firmware#

rgds,

kc Wong