1.9 KiB
1.9 KiB
NanoKVM Support Instructions
Environment Preparation
- NanoKVM-Lite/Full/PCIe is based on the SG2002 as the main control chip. The projects in the support section are compiled under the MaixCDK framework. Before compiling, please ensure that the
MaixCDKenvironment is correctly configured. For configuration instructions, click here.
kvm_system Compilation Instructions
The
kvm_systemis responsible for monitoring the NanoKVM system status, system updates, screen key drivers, and a few system functions, compiled with MaixCDK.
- Before compiling, please ensure that the above-mentioned
MaixCDKenvironment is correctly configured. - Modify the paths of
MAIXCDK_PATHandNanoKVM_PATHin./build. - Execute
./build kvm_systemto compilekvm_system. - Use
scp ./kvm_system/dist/kvm_system_release/kvm_system root@192.168.x.x:/kvmapp/kvm_systemto copy it to NanoKVM for testing. - Use
./build add_to_kvmappto place the executable file into the/kvmappinstallation package. - Use
./build kvm_system cleanto clean the compilation ofkvm_system.
kvm_vision Compilation Instructions
kvm_visionrefers to the image acquisition and encoding subsystem of NanoKVM, compiled with MaixCDK to produce dynamic libraries for Go calls. Usekvm_vision_testto compile and test the dynamic library.
- Before compiling, please ensure that the above-mentioned
MaixCDKenvironment is correctly configured. - Modify the paths of
MAIXCDK_PATHandNanoKVM_PATHin./build. - Execute
./build kvm_visionto compilekvm_vision_test. - You can test the dynamic libraries in
kvm_vision_test/dist/kvm_vision_test_release/dl_lib/. - Use
./build add_to_kvmappto place the dynamic libraries into the/kvmappinstallation package. - Use
./build kvm_vision cleanto clean the compilation ofkvm_vision.