Flash Prerequisites
This section provides step-by-step instructions for preparing your development host for flashing the image to the device. Follow the guide that matches your operating system.
Note
The following instructions assume you are using Ubuntu 22.04 LTS.
For more information and custom setup check MediaTek IoT Yocto (Linux) documentation.
Install Fastboot
Fastboot is used by Genio tools to flash the image.
Install it from the apt repository:
sudo apt install android-tools-fastboot
Create udev Rules
To enable USB device access for your user account, create new udev rules, reload the udev rules, and trigger them.
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
Enable UART Access
Your user account must be in the dialout group to access UART devices.
Check your group memberships:
groups
If dialout is not listed, add your user to the group:
sudo usermod -a -G dialout $USER
Note
You must log out and log back in for the new group membership to take effect.
Install genio-tools
Install the genio-tools package:
pip3 install -U genio-tools
Verify installation and development host setup by running:
genio-config
Expected output:
fastboot: OK
udev rules: OK
Serial device write access: OK
If any checks fail, follow the tool’s guidance or consult MediaTek IoT Yocto (Linux).
To prepare your Windows host for flashing, follow the official MediaTek guide:
MediaTek IoT Yocto (Windows) – Flash Environment Setup
The vendor documentation provides the full setup process, including driver installation, fastboot configuration, and environment preparation. In case you encounter issues during the setup or flashing procedure, refer to the official troubleshooting guide: