在尝试使用 PSDK Linux + RTOS 指南执行新的 SD 卡准备时、我会被卡住在循环的 Uboot 屏幕上。
最初、我会为视觉应用构建 PSDK RTOS、并编写了包含 Linux 图像和视觉应用可执行文件和数据集的 SD 卡。 我仍然卡在引导环路中。
尝试使用 PSDK Linux SK-TDA4M 进行刷写后(08.06.01.03)、我们可以引导、但使用这些日志
k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work k3_r5f_rproc r5f@41400000: Core 2 is already in use. No rproc commands work Load Remote Processor 3 with data@addr=0x82000000 302028 bytes: Success! Failed to load '/lib/firmware/j7-main-r5f1_0-fw' Failed to load '/lib/firmware/j7-main-r5f1_1-fw' remoteproc remoteproc7: Direct firmware load for j7-main-r5f1_1-fw failed with error -2
在运行 edgeai-tidl-tools 推理脚本(https://github.com/TexasInstruments/edgeai-tidl-tools#benchmark-on-ti-soc)时,我们再次进入引导循环一段时间,使用 remoteproc6和 remoteproc7获得相同的错误:
[ 10.095217] remoteproc remoteproc6: 5e00000.r5f is available [ 10.107625] remoteproc remoteproc6: loading /lib/firmware/j7-main-r5f1_0-fw failed with error -22 [ 10.108465] platform 5f00000.r5f: configured R5F for remoteproc mode [ 10.122862] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_0-fw failed with error -22 [ 10.122870] remoteproc remoteproc6: powering up 5e00000.r5f [ 10.137606] remoteproc remoteproc6: loading /lib/firmware/j7-main-r5f1_0-fw failed with error -22 [ 10.146519] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_0-fw failed with error -22 [ 10.155685] remoteproc remoteproc6: request_firmware failed: -22 [ 10.256142] platform 5f00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a7000000 [ 10.352360] remoteproc remoteproc7: 5f00000.r5f is available [ 10.405439] remoteproc remoteproc7: loading /lib/firmware/j7-main-r5f1_1-fw failed with error -22 [ 10.417266] remoteproc remoteproc7: Direct firmware load for j7-main-r5f1_1-fw failed with error -22 [ 10.433147] remoteproc remoteproc7: powering up 5f00000.r5f [ 10.442698] remoteproc remoteproc7: loading /lib/firmware/j7-main-r5f1_1-fw failed with error -22 [ 10.458334] remoteproc remoteproc7: Direct firmware load for j7-main-r5f1_1-fw failed with error -22 [ 10.473596] remoteproc remoteproc7: request_firmware failed: -22
当手动尝试使用 echo start >/sys/class/remoteproc/remoteproc6/state 启动 R5内核时,会出现以下错误:
root@j7-evm:~# echo start > /sys/class/remoteproc/remoteproc6/state [ 301.632594] remoteproc remoteproc6: powering up 5e00000.r5f [ 301.638198] remoteproc remoteproc6: loading /lib/firmware/j7-main-r5f1_0-fw failed with error -22 [ 301.647062] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_0-fw failed with error -22 [ 301.656189] remoteproc remoteproc6: request_firmware failed: -22 [ 301.662187] remoteproc remoteproc6: Boot failed: -22
我不知道如何克服这些错误、是否有人告诉我如何解决此问题。
