Skip to content

Advanced Usage of KNEO Pi SDK

For advanced developers seeking to fully leverage KNEO Pi’s capabilities, additional tools and resources are available, allowing for comprehensive control over hardware and enhanced AI functionality. Below is an overview of the advanced features and documentation available.

Model Compiler for NPU-Compatible AI Models

To run an AI model on KNEO Pi, the Model Compiler is required to compile models into a format compatible with the Neural Processing Unit (NPU) Instruction Set Architecture (ISA). This tool prepares and optimizes AI models, ensuring efficient execution on the KNEO Pi hardware.

Info

Refer to Kneron Document Center-model compiler for details on usage and model preparation.

PLUS Library for External AI Dongle Control

For users needing to integrate external Kneron AI dongles with KNEO Pi, the optional PLUS Library offers robust control options, enabling seamless communication with compatible AI hardware. This library provides a convenient way to expand KNEO Pi’s AI processing capabilities by connecting external inference units.

Info

Refer to Kneron Document Center-PLUS for details on download instruction and usage.

Building Binaries Using chroot + QEMU on a Unix/Linux PC

For resource-intensive builds, using a chroot environment ensures better isolation, improved performance, and streamlined development. When cross-compiling for a different CPU architecture, chroot and QEMU can be used together to create a compatible build environment on a Linux PC.

  • chroot (change root) isolates a filesystem environment, allowing processes to run with a different root directory (/) while restricting access to files outside that directory.
  • QEMU User-Mode Emulation translates system calls, enabling execution of binaries compiled for a different architecture (e.g., ARM on x86_64).

This method allows efficient building of KNEO Pi packages and binaries on a Unix/Linux PC, ensuring a controlled and optimized development environment. See more....

Important

Alternatively, you can use a cross-compiler to build KNEO Pi packages and binaries on a Unix/Linux PC. However, the cross-compiler is not included in the KNEO Pi SDK; it is only available in the Full-Function SDK. For more details, please refer to Full-Function SDK section.

Full-Function SDK

KNEO Pi offers a Full-Function SDK tailored for users who need complete access to the main chip of KNEO Pi. This SDK enables advanced control over all Intellectual Property (IP) blocks within the SoC, making it ideal for highly customized and optimized applications.

Important

The Full-Function SDK is available separately and not included with the standard KNEO Pi package. For pricing and licensing information, please email us . Access to the SDK is granted upon approval and is subject to additional costs.