Загрузка данных


root@imx95-15x15-lpddr4x-frdm:~# cat /sys/class/remoteproc/remoteproc1/device/uevent
DRIVER=imx-rproc
OF_NAME=imx95-cm7
OF_FULLNAME=/imx95-cm7
OF_COMPATIBLE_0=fsl,imx95-cm7
OF_COMPATIBLE_N=1
MODALIAS=of:Nimx95-cm7T(null)Cfsl,imx95-cm7
root@imx95-15x15-lpddr4x-frdm:~# 
echo stop > /sys/class/remoteproc/remoteproc1/state 
echo /root/hello_world_ddr_cm7.elf > /sys/class/remoteproc/remoteproc1/firmware
echo start > /sys/class/remoteproc/remoteproc1/state

Jun 25 08:58:12 imx95-15x15-lpddr4x-frdm kernel: remoteproc remoteproc1: powering up imx-rproc
Jun 25 08:58:12 imx95-15x15-lpddr4x-frdm kernel: remoteproc remoteproc1: Direct firmware load for /root/hello_world_ddr_cm7.elf failed with error -2
Jun 25 08:58:12 imx95-15x15-lpddr4x-frdm kernel: remoteproc remoteproc1: Falling back to sysfs fallback for: /root/hello_world_ddr_cm7.elf
Jun 25 08:58:12 imx95-15x15-lpddr4x-frdm kernel: remoteproc remoteproc1: Booting fw image /root/hello_world_ddr_cm7.elf, size 414208
Jun 25 08:58:12 imx95-15x15-lpddr4x-frdm kernel: imx-rproc imx95-cm7: lmm(1) powered on by Linux
Jun 25 08:58:12 imx95-15x15-lpddr4x-frdm kernel: remoteproc remoteproc1: header-less resource table
Jun 25 08:58:12 imx95-15x15-lpddr4x-frdm kernel: remoteproc remoteproc1: No resource table in elf
Jun 25 08:58:12 imx95-15x15-lpddr4x-frdm kernel: remoteproc remoteproc1: bad phdr da 0x84000000 mem 0x64c
Jun 25 08:58:12 imx95-15x15-lpddr4x-frdm kernel: remoteproc remoteproc1: Failed to load program segments: -22
Jun 25 08:58:12 imx95-15x15-lpddr4x-frdm kernel: remoteproc remoteproc1: Boot failed: -22
Jun 25 08:58:12 imx95-15x15-lpddr4x-frdm firmwared[524]: load firmware /root/hello_world_ddr_cm7.elf