Skip to content

Development Environment Setup

Cross-Compilation Docker Environment (x86 Host)

Used to compile arm64 programs that can run on the A8550MA1 on an x86 architecture host.

Environment Information

ItemPath
SYSROOT Root Directory/usr/local/rb-debug-x86_64/sysroots/aarch64-oe-linux/
Header File Directory/usr/local/rb-debug-x86_64/sysroots/aarch64-oe-linux/usr/local/include
Library File Directory/usr/local/rb-debug-x86_64/sysroots/aarch64-oe-linux/usr/local/lib

Standard Build Workflow

bash
# Enter the example project directory
cd /opt/aplux/aidlite_qnn236_le_example
# Create build directory and compile
mkdir -p build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=/opt/aplux/aidlite_qnn236_le_example/toolchain.cmake ..
make -j $(nproc)
# Deploy to A8550MA1 target device
scp qnn_yolov5_multi aidlux@192.168.100.3:/usr/local/share/aidlite/examples/aidlite_qnn236/cpp/

Local Runtime Environment (A8550MA1 SOM Module)

System Access Methods

The A8550MA1 comes pre-installed with a pure Ubuntu 22.04 system, supporting two access methods:

  1. ADB Command-Line Access
bash
# Check device connection on the Windows/Linux side
adb devices
# Enter device shell (default root privileges)
adb shell
  1. SSH Remote Access
bash
# Ensure the compute card has network configured and SSH service enabled
ssh aidlux@<device_IP>
# Default credentials: aidlux / aidlux

Runtime Environment Notes

Due to the system libstdc++ version, all AI programs must preload the specified version library file at runtime:

bash
LD_PRELOAD=/usr/lib/libstdc++.so.6.0.30 ./your_program