Flashing the Rootfs Image
Prerequisites
uuu
tool on your host machine.- Prepare the rootfs bundle:
Make sure you have the following files available in the same folder as the flashing files on the host machine: -
debian-v2.auto
(this is the configuration file for the flashing process). -flash.bin
(the flash binary file). -debian-image-rootfs.tar.gz
(the root filesystem image to flash). - Male to Male USB cable
Installing the Flash Utility
The Mecha Comet relies on the uuu
(Universal Update) utility provided by NXP for the IMX8M Mini processor. This utility is used for flashing firmware and root filesystem images to devices in fastboot mode.
Follow the steps below to install the uuu
utility on your host machine.
Linux
-
If Running Ubutnu LTS / Debian
Install the
uuu
utility using the following command:sudo apt-get install uuu
-
Use Precompiled Binaries for any linux distro
Download the precompiled binaries from the official GitHub page.
MacOS
-
Using home brew
Install the
uuu
utility using the following command:brew install uuu
-
Use Precompiled Binaries for mac
For Intel Macs, download from the official GitHub page.
For M1 Macs, download from the official GitHub page
Windows
- Download exe from official GitHub page.
Now that you have uuu
installed, lets start preparing the flash image.
Steps to Flash the Image Bundle
1.Put the device into fastboot mode:
Locate the switch provided on the back of your Mecha comet device and toggle it to enter fastboot mode.

2. Connect the device to your machine: Use a USB cable to connect the Mecha
comet device to your host machine.

3. Ensure the necessary files are in place: Make sure the rootfs bundle (debian-image-rootfs.tar.gz
)
and the debian-v2.auto
file are in the same directory as the flashing files.
4. Flash the image: Run the following command on host machine to flash the device:
bash sudo uuu -v -b debian-v2.auto flash.bin debian-image-rootfs.tar.gz
This
command uses the uuu
utility to flash the flash.bin
file and the root filesystem
image (debian-image-rootfs.tar.gz
) to the device in fastboot mode.

Final Notes
- The flashing process will begin once the command is executed, and it will use the
debian-v2.auto
configuration file for the process. - Monitor the terminal output to ensure that the flashing completes successfully. If there are any errors during the flashing, they will be displayed in the terminal.