Table of Contents | ||
---|---|---|
|
1. Structure
...
2. Resource
To support the use of dual NPUs, it is necessary to prepare the system environment and runtime environment of the C3V Dual EVB. Currently, two parts of the compressed packages are available:
...
Please patch file modifications into the Xboot and Linux codes, and Compile the working environments for the master and slave separately. Reburn master and slave ISP_SD_BOOOT.img to micro SD card.
Execute the following command in the master Linux system:
Code Block |
---|
cat /sys/kernel/debug/clk/clk_summary | grep "NPU_SLAVE" |
When you see the following results, it indicates that the modifications to the Master kernel have taken effect.
Code Block |
---|
NPU_SLAVE 0 0 0 500000000 0 0 50000 |
Please confirm that the Slave serial port prints the following log, which indicates that Slave CPU has been initialized
Code Block |
---|
---- CPIO-R slave mode Begin ---- VCO: 4.0G, PLL: 1.0G PHY status change: 0x08000001 PHY status check Passed CPIO Initial Finished PHY Mode: 0x0000008D Timer start: 0x00000000 Timer End: 0x00000009 gic init ... |
NPU Version choice v6.4.15.9. Compile master/slave modules
Code Block | ||
---|---|---|
| ||
make kconfig > Device Drivers > Multimedia support > Media drivers > ML Inference Processor VIP9000_NPU > NPU Core choice |
...