imx9352 npu not working

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx9352 npu not working

跳至解决方案
3,101 次查看
Ethane
Contributor II

I get a system error using npu on imx9352, I don't know how to go about using npu on imx9352.I would like to ask if there is a history of imx9352 using npu's.

My device tree configuration:

ethosu_mem: ethosu_region@C0000000 {
  compatible = "shared-dma-pool";
  reg = <0x0 0xC0000000 0x0 0x10000000>;
  no-map;
};

ethosu {
  compatible = "arm,ethosu";
  fsl,cm33-proc = <&cm33>;
  memory-region = <&ethosu_mem>;
  power-domains = <&mlmix>;
};

I use the process as follows:

root@ok-mx93:~# cd /usr/bin/ethosu/examples/
root@ok-mx93:/usr/bin/ethosu/examples# cp ../../tensorflow-lite-2.11.1/examples/labels.txt ./
root@ok-mx93:/usr/bin/ethosu/examples# cp ../../tensorflow-lite-2.11.1/examples/grace_hopper.bmp ./
root@ok-mx93:/usr/bin/ethosu/examples# vela ../../tensorflow-lite-2.11.1/examples/mobilenet_v1_1.0_224_quant.tflite

Network summary for mobilenet_v1_1.0_224_quant
Accelerator configuration Ethos_U65_256
System configuration internal-default
Memory mode internal-default
Accelerator clock 1000 MHz
Design peak SRAM bandwidth 16.00 GB/s
Design peak DRAM bandwidth 3.75 GB/s

Total SRAM used 370.91 KiB
Total DRAM used 3621.95 KiB

CPU operators = 0 (0.0%)
NPU operators = 60 (100.0%)

Average SRAM bandwidth 4.73 GB/s
Input SRAM bandwidth 11.96 MB/batch
Weight SRAM bandwidth 9.70 MB/batch
Output SRAM bandwidth 0.00 MB/batch
Total SRAM bandwidth 21.76 MB/batch
Total SRAM bandwidth per input 21.76 MB/inference (batch size 1)

Average DRAM bandwidth 2.13 GB/s
Input DRAM bandwidth 1.52 MB/batch
Weight DRAM bandwidth 3.23 MB/batch
Output DRAM bandwidth 5.06 MB/batch
Total DRAM bandwidth 9.82 MB/batch
Total DRAM bandwidth per input 9.82 MB/inference (batch size 1)

Neural network macs 572406226 MACs/batch
Network Tops/s 0.25 Tops/s

NPU cycles 3889054 cycles/batch
SRAM Access cycles 1019891 cycles/batch
DRAM Access cycles 1676662 cycles/batch
On-chip Flash Access cycles 0 cycles/batch
Off-chip Flash Access cycles 0 cycles/batch
Total cycles 4602254 cycles/batch

Batch Inference time 4.60 ms, 217.28 inferences/s (batch size 1)
root@ok-mx93:/usr/bin/ethosu/examples# ./inference_runner -n ./output/mobilenet_v1_1.0_224_quant_vela.tflite -i grace_hopper.bmp -l labels.txt -o output.txt
[ 301.631293] remoteproc remoteproc0: powering up imx-rproc
[ 301.638391] remoteproc remoteproc0: Booting fw image ethosu_firmware, size 242424
[ 302.179088] rproc-virtio rproc-virtio.0.auto: assigned reserved memory node vdevbuffer@a4020000
[ 302.188504] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 302.196141] rproc-virtio rproc-virtio.0.auto: registered virtio0 (type 7)
[ 302.203734] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node vdevbuffer@a4020000
[ 302.223392] virtio_rpmsg_bus virtio1: rpmsg host is online
[ 302.225441] virtio_rpmsg_bus virtio1: creating channel rpmsg-ethosu-channel addr 0x1e
[ 302.229006] rproc-virtio rproc-virtio.1.auto: registered virtio1 (type 7)
[ 302.246805] remoteproc remoteproc0: remote processor imx-rproc is now up
Send Ping
Send version request
Send cap[ 302.257522] SError Interrupt on CPU1, code 0x00000000be000011 -- SError
[ 302.257538] CPU: 1 PID: 807 Comm: inference_runne Tainted: G WC 6.1.36 #1
[ 302.257544] Hardware name: Forlinx OK-MX93-C board (DT)
[ 302.257547] pstate: 20400009 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 302.257552] pc : __memset+0x170/0x188
[ 302.257566] lr : dma_alloc_from_dev_coherent+0xc4/0x154
[ 302.257574] sp : ffff80000ad4bc60
[ 302.257576] x29: ffff80000ad4bc60 x28: ffff000005e51d80 x27: 0000000000000000
[ 302.257585] x26: ffff000004a87900 x25: 000000000000000a x24: 0000000000000000
[ 302.257591] x23: ffff000004a87928 x22: ffff00000908cec0 x21: ffff80000ad4bcf0
[ 302.257597] x20: 0000000000333fc0 x19: ffff800010000000 x18: 0000000000000000
[ 302.257603] x17: 0000000000000000 x16: 0000000000000000 x15: 0000ffffeb1ffee0
[ 302.257608] x14: 0000000000000000 x13: ffff0000043e2008 x12: 0000000000000010
[ 302.257614] x11: 0000000000000400 x10: ffffffffffffffff x9 : 0000000000000000
[ 302.257619] x8 : ffff8000100006c0 x7 : 0000000000000000 x6 : 000000000000003f
[ 302.257624] x5 : 0000000000000040 x4 : 0000000000000000 x3 : 0000000000000004
[ 302.257630] x2 : 00000000003338c0 x1 : 0000000000000000 x0 : ffff800010000000
[ 302.257638] Kernel panic - not syncing: Asynchronous SError Interrupt
[ 302.257640] CPU: 1 PID: 807 Comm: inference_runne Tainted: G WC 6.1.36 #1
[ 302.257644] Hardware name: Forlinx OK-MX93-C board (DT)
[ 302.257646] Call trace:
[ 302.257649] dump_backtrace.part.0+0xe0/0xf0
[ 302.257658] show_stack+0x18/0x30
[ 302.257663] dump_stack_lvl+0x64/0x80
[ 302.257669] dump_stack+0x18/0x34
[ 302.257673] panic+0x180/0x338
[ 302.257677] nmi_panic+0xac/0xb0
[ 302.257682] arm64_serror_panic+0x6c/0x7c
[ 302.257686] do_serror+0x0/0x5c
[ 302.257689] do_serror+0x34/0x5c
[ 302.257693] el1h_64_error_handler+0x30/0x4c
[ 302.257698] el1h_64_error+0x64/0x68
[ 302.257702] __memset+0x170/0x188
[ 302.257707] dma_alloc_attrs+0x5c/0xe4
[ 302.257712] ethosu_buffer_create+0x74/0x2a0
[ 302.257719] ethosu_ioctl+0x1d0/0x280
[ 302.257723] __arm64_sys_ioctl+0xac/0xf0
[ 302.257729] invoke_syscall+0x48/0x114
[ 302.257735] el0_svc_common.constprop.0+0xcc/0xec
[ 302.257740] do_el0_svc+0x2c/0xd0
[ 302.257744] el0_svc+0x2c/0x84
[ 302.257749] el0t_64_sync_handler+0xf4/0x120
[ 302.257754] el0t_64_sync+0x18c/0x190
[ 302.257759] SMP: stopping secondary CPUs
[ 302.257770] Kernel Offset: disabled
[ 302.257771] CPU features: 0x30000,000400a4,6600721b
[ 302.257775] Memory Limit: none

 

0 项奖励
回复
1 解答
3,064 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Your dts node is same as EVK, but EVK has 2GB RAM, i don't know the DDR size on your board.

If your board has 1GB DDR, you can use smaller shared memory pool under NPU.

在原帖中查看解决方案

0 项奖励
回复
6 回复数
3,074 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @Ethane 

Can't reproduce this issue on NXP i.MX93 EVK.

root@imx93evk:/usr/bin/ethosu/examples# cp ../../tensorflow-lite-2.11.1/examples/labels.txt ./
root@imx93evk:/usr/bin/ethosu/examples#  cp ../../tensorflow-lite-2.11.1/examples/grace_hopper.bmp ./
root@imx93evk:/usr/bin/ethosu/examples#  vela ../../tensorflow-lite-2.11.1/examples/mobilenet_v1_1.0_224_quant.tflite

Network summary for mobilenet_v1_1.0_224_quant
Accelerator configuration               Ethos_U65_256
System configuration                 internal-default
Memory mode                          internal-default
Accelerator clock                                1000 MHz
Design peak SRAM bandwidth                      16.00 GB/s
Design peak DRAM bandwidth                       3.75 GB/s

Total SRAM used                                370.91 KiB
Total DRAM used                               3621.95 KiB

CPU operators = 0 (0.0%)
NPU operators = 60 (100.0%)

Average SRAM bandwidth                           4.73 GB/s
Input   SRAM bandwidth                          11.96 MB/batch
Weight  SRAM bandwidth                           9.70 MB/batch
Output  SRAM bandwidth                           0.00 MB/batch
Total   SRAM bandwidth                          21.76 MB/batch
Total   SRAM bandwidth            per input     21.76 MB/inference (batch size 1)

Average DRAM bandwidth                           2.13 GB/s
Input   DRAM bandwidth                           1.52 MB/batch
Weight  DRAM bandwidth                           3.23 MB/batch
Output  DRAM bandwidth                           5.06 MB/batch
Total   DRAM bandwidth                           9.82 MB/batch
Total   DRAM bandwidth            per input      9.82 MB/inference (batch size 1)

Neural network macs                         572406226 MACs/batch
Network Tops/s                                   0.25 Tops/s

NPU cycles                                    3889054 cycles/batch
SRAM Access cycles                            1019891 cycles/batch
DRAM Access cycles                            1676662 cycles/batch
On-chip Flash Access cycles                         0 cycles/batch
Off-chip Flash Access cycles                        0 cycles/batch
Total cycles                                  4602254 cycles/batch

Batch Inference time                 4.60 ms,  217.28 inferences/s (batch size 1)

root@imx93evk:/usr/bin/ethosu/examples# uname -a
Linux imx93evk 6.1.36+g04b05c5527e9 #1 SMP PREEMPT Mon Sep  4 21:11:15 UTC 2023 aarch64 GNU/Linux
root@imx93evk:/usr/bin/ethosu/examples# ./inference_runner -n ./output/mobilenet_v1_1.0_224_quant_vela.tflite -i grace_hopper.bmp -l labels.txt -o output.txt
[   85.674752] remoteproc remoteproc0: powering up imx-rproc
[   85.681704] remoteproc remoteproc0: Booting fw image ethosu_firmware, size 242424
[   86.198711] rproc-virtio rproc-virtio.3.auto: assigned reserved memory node vdevbuffer@a4020000
[   86.208987] virtio_rpmsg_bus virtio0: rpmsg host is online
[   86.214955] rproc-virtio rproc-virtio.3.auto: registered virtio0 (type 7)
[   86.221865] rproc-virtio rproc-virtio.4.auto: assigned reserved memory node vdevbuffer@a4020000
[   86.235500] virtio_rpmsg_bus virtio1: rpmsg host is online
[   86.241084] virtio_rpmsg_bus virtio1: creating channel rpmsg-ethosu-channel addr 0x1e
[   86.257988] rproc-virtio rproc-virtio.4.auto: registered virtio1 (type 7)
[   86.264856] remoteproc remoteproc0: remote processor imx-rproc is now up
Send Ping
Send version request
Send capabilities request
Capabilities:
        version_status:1
        version:{ major=0, minor=0, patch=0 }
        product:{ major=6, minor=0, patch=0 }
        architecture:{ major=1, minor=0, patch=6 }
        driver:{ major=0, minor=16, patch=0 }
        macs_per_cc:8
        cmd_stream_version:0
        custom_dma:false
Create network
Create inference
Wait for inferences
Inference status: running
Wait for inference
Inference status: ok
OFM size: 1001

Detected: military uniform, confidence:70
root@imx93evk:/usr/bin/ethosu/examples#

 

0 项奖励
回复
3,069 次查看
Ethane
Contributor II
I would like to ask if there is something wrong with my device tree configuration?
0 项奖励
回复
3,065 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Your dts node is same as EVK, but EVK has 2GB RAM, i don't know the DDR size on your board.

If your board has 1GB DDR, you can use smaller shared memory pool under NPU.

0 项奖励
回复
2,942 次查看
Ethane
Contributor II

My board is a 1g ddr, after I set the shared memory pool for the npu to be smaller, it won't get stuck anymore, but it will report the following error, I think it's using evk's firmware, which is incompatible with my own 1g ddr board, what should I do about this?

 

root@ok-mx93:/usr/bin/ethosu/examples# ./inference_runner -n output/mobilenet_v1_1.0_224_quant_vela.tflite -i grace_hopper.bmp -l labels.txt -o output.txt
[ 58.063151] remoteproc remoteproc0: powering up imx-rproc
[ 58.070435] remoteproc remoteproc0: Booting fw image ethosu_firmware, size 242568
[ 58.080759] remoteproc remoteproc0: Registered carveout doesn't fit len request
[ 58.088171] rproc-virtio: probe of rproc-virtio.0.auto failed with error -12
[ 58.097200] remoteproc remoteproc0: Registered carveout doesn't fit len request
[ 58.105805] rproc-virtio: probe of rproc-virtio.1.auto failed with error -12
[ 58.630656] remoteproc remoteproc0: remote processor imx-rproc is now up

0 项奖励
回复
2,935 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @Ethane 

You need download i.MX93 SDK from this page:

https://mcuxpresso.nxp.com/en/welcome

Then modify the vring base address refering your dts in boards/mcimx93evk/demo_apps/ethosu_apps_rpmsg/board.h. Below codes are from 2GB EVK board.

#define VDEV0_VRING_BASE (0xA4000000U)
#define VDEV1_VRING_BASE (0xA4010000U)

Compile new ethosu_firmware.

0 项奖励
回复
2,919 次查看
Ethane
Contributor II
Problem solved, thank you for your answer!
0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-1846744%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eimx9352%20NPU%E4%B8%8D%E5%B7%A5%E4%BD%9C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1846744%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E5%9C%A8imx9352%E4%B8%8A%E4%BD%BF%E7%94%A8npu%E6%97%B6%E5%87%BA%E7%8E%B0%E7%B3%BB%E7%BB%9F%E9%94%99%E8%AF%AF%EF%BC%8C%E6%88%91%E4%B8%8D%E7%9F%A5%E9%81%93%E5%A6%82%E4%BD%95%E5%9C%A8imx9352%E4%B8%8A%E4%BD%BF%E7%94%A8npu%E3%80%82%E6%88%91%E6%83%B3%E9%97%AE%E4%B8%80%E4%B8%8Bimx9352%E6%98%AF%E5%90%A6%E6%9C%89%E4%BD%BF%E7%94%A8npu%E7%9A%84%E5%8E%86%E5%8F%B2%E8%AE%B0%E5%BD%95%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E7%9A%84%E8%AE%BE%E5%A4%87%E6%A0%91%E9%85%8D%E7%BD%AE%EF%BC%9A%3C%2FP%3E%3CP%3Eethosu_mem%EF%BC%9Aethosu_region%40C0000000%20%7B%3CBR%20%2F%3E%E5%85%BC%E5%AE%B9%3D%E2%80%9C%E5%85%B1%E4%BA%ABdma%E6%B1%A0%E2%80%9D%EF%BC%9B%3CBR%20%2F%3E%20reg%20%3D%20%26lt%3B0x0%200xC0000000%200x0%200x10000000%26gt%3B%3B%3CBR%20%2F%3E%E6%97%A0%E5%9C%B0%E5%9B%BE%EF%BC%9B%3CBR%20%2F%3E%20%7D%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%20ethosu%20%7B%3CBR%20%2F%3E%E5%85%BC%E5%AE%B9%3D%E2%80%9Carm%EF%BC%8Cethosu%E2%80%9D%EF%BC%9B%3CBR%20%2F%3E%20fsl%EF%BC%8Ccm33-proc%20%3D%20%26lt%3B%26amp%3Bcm33%26gt%3B%EF%BC%9B%3CBR%20%2F%3E%E5%86%85%E5%AD%98%E5%8C%BA%E5%9F%9F%20%3D%20%26lt%3B%26amp%3Bethosu_mem%26gt%3B%3B%3CBR%20%2F%3E%E7%94%B5%E6%BA%90%E5%9F%9F%20%3D%20%26lt%3B%26amp%3Bmlmix%26gt%3B%3B%3CBR%20%2F%3E%20%7D%3B%3C%2FP%3E%3CP%3E%E6%88%91%E7%9A%84%E4%BD%BF%E7%94%A8%E6%B5%81%E7%A8%8B%E5%A6%82%E4%B8%8B%EF%BC%9A%3C%2FP%3E%3CP%3Eroot%40ok-mx93%3A~%23%20cd%20%2Fusr%2Fbin%2Fethosu%2Fexamples%2F%3CBR%20%2F%3E%20root%40ok-mx93%3A%2Fusr%2Fbin%2Fethosu%2Fexamples%23%20cp%20..%2F..%2Ftensorflow-lite-2.11.1%2Fexamples%2Flabels.txt%20.%2F%3CBR%20%2F%3Eroot%40ok-mx93%3A%2Fusr%2Fbin%2Fethosu%2Fexamples%23%20cp%20..%2F..%2Ftensorflow-lite-2.11.1%2Fexamples%2Fgrace_hopper.bmp%20.%2F%3CBR%20%2F%3Eroot%40ok-mx93%3A%2Fusr%2Fbin%2Fethosu%2Fexamples%23%20vela%20..%2F..%2Ftensorflow-lite-2.11.1%2Fexamples%2Fmobilenet_v1_1.0_224_quant.tflite%3C%2FP%3E%3CP%3Emobilenet_v1_1.0_224_quant%20%E7%9A%84%E7%BD%91%E7%BB%9C%E6%91%98%E8%A6%81%3CBR%20%2F%3E%E5%8A%A0%E9%80%9F%E5%99%A8%E9%85%8D%E7%BD%AEEthos_U65_256%3CBR%20%2F%3E%E7%B3%BB%E7%BB%9F%E9%85%8D%E7%BD%AE%20internal-default%3CBR%20%2F%3E%E5%86%85%E5%AD%98%E6%A8%A1%E5%BC%8F%20internal-default%3CBR%20%2F%3E%E5%8A%A0%E9%80%9F%E5%99%A8%E6%97%B6%E9%92%9F1000%20MHz%3CBR%20%2F%3E%E8%AE%BE%E8%AE%A1%E5%B3%B0%E5%80%BCSRAM%E5%B8%A6%E5%AE%BD16.00%20GB%2Fs%3CBR%20%2F%3E%E8%AE%BE%E8%AE%A1%E5%B3%B0%E5%80%BC%20DRAM%20%E5%B8%A6%E5%AE%BD%203.75%20GB%2Fs%3C%2FP%3E%3CP%3E%E6%80%BB%E5%85%B1%E4%BD%BF%E7%94%A8%20SRAM%20370.91%20KiB%3CBR%20%2F%3E%E6%80%BB%E5%85%B1%E4%BD%BF%E7%94%A8%20DRAM%203621.95%20KiB%3C%2FP%3E%3CP%3ECPU%20%E6%93%8D%E4%BD%9C%E5%91%98%20%3D%200%20(0.0%25)%3CBR%20%2F%3E%20NPU%E6%93%8D%E4%BD%9C%E5%91%98%3D60%EF%BC%88100.0%25%EF%BC%89%3C%2FP%3E%3CP%3E%E5%B9%B3%E5%9D%87SRAM%E5%B8%A6%E5%AE%BD4.73%20GB%2Fs%3CBR%20%2F%3E%E8%BE%93%E5%85%A5SRAM%E5%B8%A6%E5%AE%BD11.96%20MB%2F%E6%89%B9%E6%AC%A1%3CBR%20%2F%3E%E6%9D%83%E9%87%8DSRAM%E5%B8%A6%E5%AE%BD9.70%20MB%2Fbatch%3CBR%20%2F%3E%E8%BE%93%E5%87%BA%20SRAM%20%E5%B8%A6%E5%AE%BD%200.00%20MB%2F%E6%89%B9%E6%AC%A1%3CBR%20%2F%3E%E6%80%BB%20SRAM%20%E5%B8%A6%E5%AE%BD%2021.76%20MB%2F%E6%89%B9%E6%AC%A1%3CBR%20%2F%3E%E6%AF%8F%E4%B8%AA%E8%BE%93%E5%85%A5%E7%9A%84%E6%80%BB%20SRAM%20%E5%B8%A6%E5%AE%BD%2021.76%20MB%2F%E6%8E%A8%E7%90%86%EF%BC%88%E6%89%B9%E9%87%8F%E5%A4%A7%E5%B0%8F%201%EF%BC%89%3C%2FP%3E%3CP%3E%E5%B9%B3%E5%9D%87%20DRAM%20%E5%B8%A6%E5%AE%BD%202.13%20GB%2Fs%3CBR%20%2F%3E%E8%BE%93%E5%85%A5%20DRAM%20%E5%B8%A6%E5%AE%BD%201.52%20MB%2F%E6%89%B9%E6%AC%A1%3CBR%20%2F%3E%E6%9D%83%E9%87%8D%20DRAM%20%E5%B8%A6%E5%AE%BD%203.23%20MB%2Fbatch%3CBR%20%2F%3E%E8%BE%93%E5%87%BA%20DRAM%20%E5%B8%A6%E5%AE%BD%205.06%20MB%2F%E6%89%B9%E6%AC%A1%3CBR%20%2F%3E%E6%80%BB%20DRAM%20%E5%B8%A6%E5%AE%BD%209.82%20MB%2F%E6%89%B9%E6%AC%A1%3CBR%20%2F%3E%E6%AF%8F%E4%B8%AA%E8%BE%93%E5%85%A5%E7%9A%84%E6%80%BB%20DRAM%20%E5%B8%A6%E5%AE%BD%209.82%20MB%2F%E6%8E%A8%E7%90%86%EF%BC%88%E6%89%B9%E9%87%8F%E5%A4%A7%E5%B0%8F%201%EF%BC%89%3C%2FP%3E%3CP%3E%E7%A5%9E%E7%BB%8F%E7%BD%91%E7%BB%9C%20macs%20572406226%20MACs%2Fbatch%3CBR%20%2F%3E%E7%BD%91%E7%BB%9C%20Tops%2Fs%200.25%20Tops%2Fs%3C%2FP%3E%3CP%3ENPU%20%E5%BE%AA%E7%8E%AF%203889054%20%E5%BE%AA%E7%8E%AF%2F%E6%89%B9%E6%AC%A1%3CBR%20%2F%3ESRAM%20%E8%AE%BF%E9%97%AE%E5%91%A8%E6%9C%9F%201019891%20%E5%91%A8%E6%9C%9F%2F%E6%89%B9%E6%AC%A1%3CBR%20%2F%3EDRAM%20%E8%AE%BF%E9%97%AE%E5%91%A8%E6%9C%9F%201676662%20%E5%91%A8%E6%9C%9F%2F%E6%89%B9%E6%AC%A1%3CBR%20%2F%3E%E7%89%87%E4%B8%8A%E9%97%AA%E5%AD%98%E8%AE%BF%E9%97%AE%E5%91%A8%E6%9C%9F%200%20%E5%91%A8%E6%9C%9F%2F%E6%89%B9%E6%AC%A1%3CBR%20%2F%3E%E7%89%87%E5%A4%96%E9%97%AA%E5%AD%98%E8%AE%BF%E9%97%AE%E5%91%A8%E6%9C%9F%200%20%E5%91%A8%E6%9C%9F%2F%E6%89%B9%E6%AC%A1%3CBR%20%2F%3E%E6%80%BB%E5%BE%AA%E7%8E%AF%E6%95%B0%204602254%20%E6%AC%A1%E5%BE%AA%E7%8E%AF%2F%E6%89%B9%E6%AC%A1%3C%2FP%3E%3CP%3E%E6%89%B9%E9%87%8F%E6%8E%A8%E7%90%86%E6%97%B6%E9%97%B4%204.60%20%E6%AF%AB%E7%A7%92%EF%BC%8C217.28%20%E6%AC%A1%E6%8E%A8%E7%90%86%2F%E7%A7%92%EF%BC%88%E6%89%B9%E9%87%8F%E5%A4%A7%E5%B0%8F%201%EF%BC%89%3CBR%20%2F%3E%20root%40ok-mx93%3A%2Fusr%2Fbin%2Fethosu%2Fexamples%23%20.%2Finference_runner-n%20.%2F%E8%BE%93%E5%87%BA%2Fmobilenet_v1_1.0_224_quant_vela.tflite%20-i%20grace_hopper.bmp%20-l%20%E6%A0%87%E7%AD%BE.txt%20-o%20%E8%BE%93%E5%87%BA.txt%3CBR%20%2F%3E%5B301.631293%5Dremoteproc%20remoteproc0%3A%E5%90%AF%E5%8A%A8imx%20rproc%3CBR%20%2F%3E%20%5B301.638391%5D%20remoteproc%20remoteproc0%3A%20%E5%90%AF%E5%8A%A8%E5%9B%BA%E4%BB%B6%E6%98%A0%E5%83%8F%20ethosu_firmware%EF%BC%8C%E5%A4%A7%E5%B0%8F%20242424%3CBR%20%2F%3E%20%5B302.179088%5D%20rproc-virtio%20rproc-virtio.0.auto%3A%E5%88%86%E9%85%8D%E4%BA%86%E4%BF%9D%E7%95%99%E5%86%85%E5%AD%98%E8%8A%82%E7%82%B9vdevbuffer%40a4020000%3CBR%20%2F%3E%20%5B302.188504%5D%20virtio_rpmsg_bus%20virtio0%3A%20rpmsg%20%E4%B8%BB%E6%9C%BA%E5%A4%84%E4%BA%8E%E5%9C%A8%E7%BA%BF%E7%8A%B6%E6%80%81%3CBR%20%2F%3E%5B302.196141%5D%20rproc-virtio%20rproc-virtio.0.auto%3A%E5%B7%B2%E6%B3%A8%E5%86%8C%20virtio0%EF%BC%88%E7%B1%BB%E5%9E%8B%207%EF%BC%89%3CBR%20%2F%3E%20%5B302.203734%5Drproc-virtio%20rproc-virtio.1.%E8%87%AA%E5%8A%A8%EF%BC%9A%E5%88%86%E9%85%8D%E7%9A%84%E4%BF%9D%E7%95%99%E5%86%85%E5%AD%98%E8%8A%82%E7%82%B9%20vdevbuffer%40a4020000%3CBR%20%2F%3E%20%5B302.223392%5D%20virtio_rpmsg_bus%20virtio1%3A%20rpmsg%20%E4%B8%BB%E6%9C%BA%E5%A4%84%E4%BA%8E%E5%9C%A8%E7%BA%BF%E7%8A%B6%E6%80%81%3CBR%20%2F%3E%5B302.225441%5D%20virtio_rpmsg_bus%20virtio1%3A%E5%88%9B%E5%BB%BA%E9%80%9A%E9%81%93%20rpmsg-ethosu-channel%20%E5%9C%B0%E5%9D%80%200x1e%3CBR%20%2F%3E%20%5B302.229006%5Drproc-virtio%20rproc-virtio.1.%E8%87%AA%E5%8A%A8%EF%BC%9A%E6%B3%A8%E5%86%8C%E7%9A%84%20virtio1%EF%BC%88%E7%B1%BB%E5%9E%8B%207%EF%BC%89%3CBR%20%2F%3E%20%5B302.246805%5D%20remoteproc%20remoteproc0%3A%E8%BF%9C%E7%A8%8B%E5%A4%84%E7%90%86%E5%99%A8imx-rproc%E7%8E%B0%E5%B7%B2%E5%90%AF%E5%8A%A8%3CBR%20%2F%3E%E5%8F%91%E9%80%81%20Ping%3CBR%20%2F%3E%E5%8F%91%E9%80%81%E7%89%88%E6%9C%AC%E8%AF%B7%E6%B1%82%3CBR%20%2F%3E%E5%8F%91%E9%80%81%E4%B8%8A%E9%99%90%5B302.257522%5DCPU1%20%E4%B8%8A%E7%9A%84%20SError%20%E4%B8%AD%E6%96%AD%EF%BC%8C%E4%BB%A3%E7%A0%81%200x00000000be000011%20--%20SError%3CBR%20%2F%3E%20%5B302.257538%5D%20CPU%EF%BC%9A1%20PID%EF%BC%9A807%20%E9%80%9A%E4%BF%A1%EF%BC%9Ainference_runne%20%E6%B1%A1%E6%9F%93%EF%BC%9AG%20WC%206.1.36%231%3CBR%20%2F%3E%20%5B302.257544%5D%20%E7%A1%AC%E4%BB%B6%E5%90%8D%E7%A7%B0%3A%20Forlinx%20OK-MX93-C%E6%9D%BF(DT)%3CBR%20%2F%3E%20%5B302.257547%5D%20pstate%EF%BC%9A20400009%EF%BC%88nzCv%20daif%20%2BPAN%20-UAO%20-TCO%20-DIT%20-SSBS%20BTYPE%3D--%EF%BC%89%3CBR%20%2F%3E%20%5B302.257552%5D%20%E7%94%B5%E8%84%91%3A__memset%2B0x170%2F0x188%3CBR%20%2F%3E%20%5B302.257566%5D%20lr%EF%BC%9Adma_alloc_from_dev_coherent%2B0xc4%2F0x154%3CBR%20%2F%3E%20%5B302.257574%5D%20sp%EF%BC%9Affff80000ad4bc60%3CBR%20%2F%3E%20%5B302.257576%5Dx29%EF%BC%9Affff80000ad4bc60%20x28%EF%BC%9Affff000005e51d80%20x27%EF%BC%9A0000000000000000%3CBR%20%2F%3E%20%5B302.257585%5D%20x26%EF%BC%9Affff000004a87900%20x25%EF%BC%9A000000000000000a%20x24%EF%BC%9A0000000000000000%3CBR%20%2F%3E%20%5B302.257591%5D%20x23%EF%BC%9Affff000004a87928%20x22%EF%BC%9Affff00000908cec0%20x21%EF%BC%9Affff80000ad4bcf0%3CBR%20%2F%3E%20%5B302.257597%5D%20x20%EF%BC%9A0000000000333fc0%20x19%EF%BC%9Affff800010000000%20x18%EF%BC%9A0000000000000000%3CBR%20%2F%3E%20%5B302.257603%5D%20x17%EF%BC%9A0000000000000000%20x16%EF%BC%9A00000000000000000%20x15%EF%BC%9A0000ffffeb1ffee0%3CBR%20%2F%3E%20%5B302.257608%5D%20x14%EF%BC%9A0000000000000000%20x13%EF%BC%9Affff0000043e2008%20x12%EF%BC%9A0000000000000010%3CBR%20%2F%3E%20%5B302.257614%5D%20x11%EF%BC%9A000000000000400%20x10%EF%BC%9Affffffffffffffff%20x9%EF%BC%9A0000000000000000%3CBR%20%2F%3E%20%5B302.257619%5Dx8%EF%BC%9Affff8000100006c0%20x7%EF%BC%9A0000000000000000%20x6%EF%BC%9A000000000000003f%3CBR%20%2F%3E%20%5B302.257624%5Dx5%EF%BC%9A0000000000000040%20x4%EF%BC%9A0000000000000000%20x3%EF%BC%9A0000000000000004%3CBR%20%2F%3E%20%5B302.257630%5D%20x2%EF%BC%9A00000000003338c0%20x1%EF%BC%9A0000000000000000%20x0%EF%BC%9Affff800010000000%3CBR%20%2F%3E%20%5B302.257638%5D%20%E5%86%85%E6%A0%B8%E5%B4%A9%E6%BA%83%20-%20%E6%9C%AA%E5%90%8C%E6%AD%A5%EF%BC%9A%E5%BC%82%E6%AD%A5%20SError%20%E4%B8%AD%E6%96%AD%3CBR%20%2F%3E%5B302.257640%5D%20CPU%EF%BC%9A1%20PID%EF%BC%9A807%20%E9%80%9A%E4%BF%A1%EF%BC%9Ainference_runne%20%E6%B1%A1%E6%9F%93%EF%BC%9AG%20WC%206.1.36%231%3CBR%20%2F%3E%20%5B302.257644%5D%20%E7%A1%AC%E4%BB%B6%E5%90%8D%E7%A7%B0%3A%20Forlinx%20OK-MX93-C%E6%9D%BF(DT)%3CBR%20%2F%3E%20%5B302.257646%5D%E5%91%BC%E5%8F%AB%E8%B7%9F%E8%B8%AA%EF%BC%9A%3CBR%20%2F%3E%20%5B302.257649%5D%20dump_backtrace.part.0%2B0xe0%2F0xf0%3CBR%20%2F%3E%5B302.257658%5D%E6%98%BE%E7%A4%BA%E5%A0%86%E6%A0%88%2B0x18%2F0x30%3CBR%20%2F%3E%20%5B302.257663%5D%E8%BD%AC%E5%82%A8%E5%A0%86%E6%A0%88%E7%BA%A7%E5%88%AB%2B0x64%2F0x80%3CBR%20%2F%3E%20%5B302.257669%5D%E8%BD%AC%E5%82%A8%E5%A0%86%E6%A0%88%2B0x18%2F0x34%3CBR%20%2F%3E%20%5B302.257673%5D%E6%81%90%E6%85%8C%2B0x180%2F0x338%3CBR%20%2F%3E%20%5B302.257677%5D%20nmi_panic%2B0xac%2F0xb0%3CBR%20%2F%3E%20%5B302.257682%5Darm64_serror_panic%2B0x6c%2F0x7c%3CBR%20%2F%3E%20%5B302.257686%5Ddo_serror%2B0x0%2F0x5c%3CBR%20%2F%3E%20%5B302.257689%5Ddo_serror%2B0x34%2F0x5c%3CBR%20%2F%3E%20%5B302.257693%5D%20el1h_64_%E9%94%99%E8%AF%AF%E5%A4%84%E7%90%86%E7%A8%8B%E5%BA%8F%2B0x30%2F0x4c%3CBR%20%2F%3E%20%5B302.257698%5D%20el1h_64_%E9%94%99%E8%AF%AF%2B0x64%2F0x68%3CBR%20%2F%3E%20%5B302.257702%5D%20__memset%2B0x170%2F0x188%3CBR%20%2F%3E%20%5B302.257707%5D%20dma_alloc_attrs%2B0x5c%2F0xe4%3CBR%20%2F%3E%20%5B302.257712%5D%20ethosu_buffer_%E5%88%9B%E5%BB%BA%2B0x74%2F0x2a0%3CBR%20%2F%3E%20%5B302.257719%5Dethosu_ioctl%2B0x1d0%2F0x280%3CBR%20%2F%3E%20%5B302.257723%5D%20__arm64_sys_ioctl%2B0xac%2F0xf0%3CBR%20%2F%3E%20%5B302.257729%5Dinvoke_syscall%2B0x48%2F0x114%3CBR%20%2F%3E%20%5B302.257735%5D%20el0_svc_common.constprop.0%2B0xcc%2F0xec%3CBR%20%2F%3E%5B302.257740%5D%20do_el0_svc%2B0x2c%2F0xd0%3CBR%20%2F%3E%20%5B302.257744%5D%20el0_svc%2B0x2c%2F0x84%3CBR%20%2F%3E%20%5B302.257749%5D%20el0t_64_sync_handler%2B0xf4%2F0x120%3CBR%20%2F%3E%20%5B302.257754%5D%20el0t_64_sync%2B0x18c%2F0x190%3CBR%20%2F%3E%20%5B302.257759%5D%20SMP%3A%E5%81%9C%E6%AD%A2%E8%BE%85%E5%8A%A9%20CPU%3CBR%20%2F%3E%20%5B302.257770%5D%20%E5%86%85%E6%A0%B8%E5%81%8F%E7%A7%BB%EF%BC%9A%E5%B7%B2%E7%A6%81%E7%94%A8%3CBR%20%2F%3E%5B302.257771%5D%20CPU%E5%8A%9F%E8%83%BD%EF%BC%9A0x30000%2C000400a4%2C6600721b%3CBR%20%2F%3E%20%5B302.257775%5D%E5%86%85%E5%AD%98%E9%99%90%E5%88%B6%EF%BC%9A%E6%97%A0%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1862960%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9Aimx9352%20npu%20%E4%B8%8D%E5%B7%A5%E4%BD%9C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1862960%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E9%97%AE%E9%A2%98%E5%B7%B2%E8%A7%A3%E5%86%B3%EF%BC%8C%E8%B0%A2%E8%B0%A2%E6%82%A8%E7%9A%84%E5%9B%9E%E7%AD%94%EF%BC%81%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1862349%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9Aimx9352%20npu%20%E4%B8%8D%E5%B7%A5%E4%BD%9C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1862349%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E7%9A%84%E6%9D%BF%E5%AD%90%E6%98%AF1g%20ddr%EF%BC%8C%E6%88%91%E6%8A%8Anpu%E7%9A%84%E5%85%B1%E4%BA%AB%E5%86%85%E5%AD%98%E6%B1%A0%E8%AE%BE%E7%BD%AE%E5%B0%8F%E4%B8%80%E7%82%B9%E4%B9%8B%E5%90%8E%EF%BC%8C%E5%B0%B1%E4%B8%8D%E4%BC%9A%E5%8D%A1%E4%BA%86%EF%BC%8C%E4%BD%86%E6%98%AF%E4%BC%9A%E6%8A%A5%E4%B8%8B%E9%9D%A2%E7%9A%84%E9%94%99%E8%AF%AF%EF%BC%8C%E6%88%91%E8%A7%89%E5%BE%97%E6%98%AF%E4%BD%BF%E7%94%A8%E4%BA%86evk%E7%9A%84%E5%9B%BA%E4%BB%B6%EF%BC%8C%E8%B7%9F%E6%88%91%E8%87%AA%E5%B7%B1%E7%9A%841g%20ddr%E6%9D%BF%E5%AD%90%E4%B8%8D%E5%85%BC%E5%AE%B9%EF%BC%8C%E8%AF%B7%E9%97%AE%E8%BF%99%E8%AF%A5%E6%80%8E%E4%B9%88%E5%8A%9E%EF%BC%9F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Eroot%40ok-mx93%3A%2Fusr%2Fbin%2Fethosu%2Fexamples%23%20.%2Finference_runner-n%20%E8%BE%93%E5%87%BA%2Fmobilenet_v1_1.0_224_quant_vela.tflite%20-i%20grace_hopper.bmp%20-l%20%E6%A0%87%E7%AD%BE.txt%20-o%20%E8%BE%93%E5%87%BA.txt%3CBR%20%2F%3E%5B58.063151%5Dremoteproc%20remoteproc0%3A%E5%90%AF%E5%8A%A8imx%20rproc%3CBR%20%2F%3E%20%5B58.070435%5D%20remoteproc%20remoteproc0%3A%20%E5%90%AF%E5%8A%A8%E5%9B%BA%E4%BB%B6%E6%98%A0%E5%83%8F%20ethosu_firmware%EF%BC%8C%E5%A4%A7%E5%B0%8F%20242568%3CBR%20%2F%3E%20%5B%2058.080759%5D%20remoteproc%20remoteproc0%EF%BC%9A%E6%B3%A8%E5%86%8C%E7%9A%84%20carveout%20%E4%B8%8D%E7%AC%A6%E5%90%88%20len%20%E8%AF%B7%E6%B1%82%3CBR%20%2F%3E%5B%2058.088171%5D%20rproc-virtio%3A%20rproc-virtio.0.auto%20%E6%8E%A2%E6%B5%8B%E5%A4%B1%E8%B4%A5%EF%BC%8C%E9%94%99%E8%AF%AF%E4%B8%BA%20-12%3CBR%20%2F%3E%20%5B%2058.097200%5D%20remoteproc%20remoteproc0%3A%20%E6%B3%A8%E5%86%8C%E7%9A%84%20carveout%20%E4%B8%8D%E7%AC%A6%E5%90%88%20len%20%E8%AF%B7%E6%B1%82%3CBR%20%2F%3E%5B58.105805%5D%20rproc-virtio%3A%20%E6%8E%A2%E6%B5%8B%20rproc-virtio.1.auto%E5%A4%B1%E8%B4%A5%EF%BC%8C%E9%94%99%E8%AF%AF%20-12%3CBR%20%2F%3E%20%5B58.630656%5Dremoteproc%20remoteproc0%3A%E8%BF%9C%E7%A8%8B%E5%A4%84%E7%90%86%E5%99%A8imx%20rproc%E7%8E%B0%E5%B7%B2%E5%90%AF%E5%8A%A8%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1847601%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9Aimx9352%20npu%20%E4%B8%8D%E5%B7%A5%E4%BD%9C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1847601%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E7%9A%84%20dts%20%E8%8A%82%E7%82%B9%E4%B8%8E%20EVK%20%E7%9B%B8%E5%90%8C%EF%BC%8C%E4%BD%86%20EVK%20%E6%9C%89%202GB%20RAM%EF%BC%8C%E6%88%91%E4%B8%8D%E7%9F%A5%E9%81%93%E6%82%A8%E4%B8%BB%E6%9D%BF%E4%B8%8A%E7%9A%84%20DDR%20%E5%A4%A7%E5%B0%8F%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%A6%82%E6%9E%9C%E6%82%A8%E7%9A%84%E4%B8%BB%E6%9D%BF%E6%9C%89%201GB%20DDR%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%9C%A8%20NPU%20%E4%B8%8B%E4%BD%BF%E7%94%A8%E8%BE%83%E5%B0%8F%E7%9A%84%E5%85%B1%E4%BA%AB%E5%86%85%E5%AD%98%E6%B1%A0%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1847599%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9Aimx9352%20npu%20%E4%B8%8D%E5%B7%A5%E4%BD%9C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1847599%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%88%91%E6%83%B3%E9%97%AE%E4%B8%80%E4%B8%8B%E6%88%91%E7%9A%84%E8%AE%BE%E5%A4%87%E6%A0%91%E9%85%8D%E7%BD%AE%E6%98%AF%E4%B8%8D%E6%98%AF%E6%9C%89%E9%97%AE%E9%A2%98%EF%BC%9F%3C%2FLINGO-BODY%3E