This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM437X: am437x-idk

Part Number: PROCESSOR-SDK-AM437X


root@am437x-evm:~# echo 'am437x-pru1_1-fw' > /sys/class/remoteproc/remoteproc4/firmware

root@am437x-evm:~# echo 'start' > /sys/class/remoteproc/remoteproc4/state

[  377.868249] remoteproc remoteproc4: powering up 54478000.pru

[  377.888033] remoteproc remoteproc4: Booting fw image am437x-pru1_1-fw, size 82656

[  377.900464]  remoteproc4#vdev0buffer: registered virtio0 (type 7)

[  377.907088] remoteproc remoteproc4: remote processor 54478000.pru is now up

root@am437x-evm:~# [  377.943669] virtio_rpmsg_bus virtio0: creating channel rpmsg-pru addr 0x21

[  377.951593] virtio_rpmsg_bus virtio0: rpmsg host is online

[  378.019887] rpmsg_pru virtio0.rpmsg-pru.-1.33: new rpmsg_pru device: /dev/rpmsg_pru33

 

root@am437x-evm:~#

root@am437x-evm:~# echo 'ethercat_slave_full_AM437x_arm.out' > /sys/class/remoteproc/remoteproc3/firmware

root@am437x-evm:~# echo 'start' > /sys/class/remoteproc/remoteproc3/state

[  502.768228] remoteproc remoteproc3: powering up 54474000.pru

[  502.957138] remoteproc remoteproc3: Booting fw image ethercat_slave_full_AM437x_arm.out, size 2889212

[  502.966723] remoteproc remoteproc3: bad phdr da 0x80000000 mem 0x448d0

[  502.975808] remoteproc remoteproc3: Failed to load program segments: -22

[  502.984443] remoteproc remoteproc3: Boot failed: -22

-sh: echo: write error: Invalid argument

加载编译的固件,启动不起来。需要修改什么?