Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When running the app, it is necessary to specify the link library path: LD_LIBRARY_PATH

3. Environmental

...

Preparation

3.1 System

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
---- 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 ...

3.2 NPU Modules Compile

NPU Version choice v6.4.15.9. Compile master/slave modules

Code Block
languagebash
make kconfig
> Device Drivers 
  > Multimedia support 
    > Media drivers 
      > ML Inference Processor VIP9000_NPU
        > NPU Core choice

...

galcore1.ko:slave NPU module;

...

3.3 Insmod Modules

Install the model using the following parameters:

...

After successful installation, you can see it in the device list /dev/galcore and /dev/galcore1.

...

3.4. Run Process

Executing the required processes in the script is recommended. Different SDK paths can be specified in the script file.

...