Installation Guide for Genio EVK
Updated: January 2025 by ITRI (EOSL-R3)
Prerequisites
- An x86_64 Workstation with Ubuntu 22.04 LTS is required to install the Flash Tools (including
aiot-config
,aiot-flash
,aiot-board
).- Ensure Conda is installed on the computer to set up the NeuronPilot Tools (
NCC-TFLite
,MTK-Converter
), which require Python 3.7.
Install Flash Tools
Step 1: Install Required Packages
Run the following command to install the necessary packages:
$ sudo apt update && sudo apt upgrade -y
$ sudo apt-get install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint xterm python3-subunit mesa-common-dev
Step 2: Install Fastboot and Setup the Environment
Execute the following command to install Fastboot and set up the environment:
$ sudo apt-get install android-tools-adb android-tools-fastboot
Step 3: Install USB Driver and Setup the Environment
Execute the following commands to install the USB driver and set up the environment:
$ echo -n 'SUBSYSTEM=="usb", ATTR{idVendor}=="0e8d", ATTR{idProduct}=="201c", MODE="0660", TAG+="uaccess"
SUBSYSTEM=="usb", ATTR{idVendor}=="0e8d", ATTR{idProduct}=="0003", MODE="0660", TAG+="uaccess"
SUBSYSTEM=="usb", ATTR{idVendor}=="0403", MODE="0660", TAG+="uaccess"
SUBSYSTEM=="gpio", MODE="0660", TAG+="uaccess"
' | sudo tee /etc/udev/rules.d/72-aiot.rules
$ sudo udevadm control --reload-rules
$ sudo udevadm trigger
$ echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="0e8d", ATTR{idProduct}=="201c", MODE="0660", $ GROUP="plugdev"' | sudo tee -a /etc/udev/rules.d/96-rity.rules
$ sudo udevadm control --reload-rules
$ sudo udevadm trigger
$ sudo usermod -a -G plugdev $USER
Step 4: Install Genio Tools
Execute the following commands to install Genio tools and verify the installation:
$ pip3 install -U genio-tools
Step 5: Verify the Installation
Verify the installation:
$ genio-config
fastboot: OK
udev rules: OK
Install NeuronPilot Tools
Step 2: Extract and Install NeuronPilot
Download the NeuronPilot from HERE and install it:
$ sudo apt update
$ sudo apt install build-essential
# Make sure GLIBCXX_3.4.29 in your list.
$ strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
Step 3: Set Library Path and Install Dependencies
$ sudo apt install libncurses5 libstdc++6 libc++1
$ tar zxvf neuronpilot-6.0.5_x86_64.tar.gz -C ~
Step 4: Verify the Installation
$ ~/neuronpilot-6.0.5/neuron_sdk/host/bin/ncc-tflite