Flashing the NavQ with 18.04 rootfs (internal)

Grabbing necessary files

Download Ubuntu rootfs + bootloader

You will need to download the Ubuntu 18.04 rootfs files from this link:
​LINK
NOTE: NXP Internal. Only NXP employees currently have access to this link.
The two files you will need from this link are located in the im8mmevk/ folder:
  • imx-boot-imx8mmevk-ds.bin-flash_evk
  • imx-image-multimedia-ubumtu-imx8mmevk-20200611102300.rootfs.sdcard.bz2
You will need to extract the .bz2 file using 7zip on Windows or bzip2 -d <filename> on Linux.

Download UUU

UUU is a tool used for flashing i.MX8 boards. You can download UUU for Windows or Linux using the link below:
​LINK​

Preparing the board

Setting DIP switches

In order to flash the NavQ using UUU, you'll have to change the DIP switches to the following configuration:

Powering the board

Power the board over USB-C as normal. You'll also want to connect to the USB-C/UART adapter and pull up a serial console (with baud rate 115200) to watch the serial output while flashing in case there are any errors.

Flashing the board

Using UUU to flash the board

(NOTE: This has only been tested on Windows 10)
Open CMD on Windows as administrator and change your directory to where you stored the uuu.exe, boot, and ubuntu rootfs files that you downloaded at the beginning of this guide. Then, plug the NavQ in with the correct DIP switch configuration and run the following command in the CMD:
1
.\uuu.exe -b emmc_all imx-boot-imx8mmevk-ds.bin-flash_evk imx-image-multimedia-ubumtu-imx8mmevk-20200611102300.rootfs.sdcard
Copied!
Your eMMC should now be flashed with the Ubuntu 18.04 rootfs. After this step, it still won't boot, so there are a few more steps to get it to boot.

Adding correct NavQ DTB file

(NOTE: You must have an SD card that you can boot from or you can't perform these steps.)
Boot from the SD card and run the following commands to mount the eMMC boot partition:
1
cd /mnt/
2
mkdir boot
3
sudo mount /dev/mmcblk2p1 /mnt/boot
Copied!
Your eMMC boot partition should now be mounted. Next, you'll need to connect your NavQ over ethernet to your computer or router. Use an FTP client (I used FileZilla) to FTP into the NavQ, and then place the following file in /mnt/boot:
imx8mm-navq.dtb
39KB
Binary
imx8mm-navq.dtb
This is a Device Tree Blob (dtb) file that tells Linux what the device tree looks like. (WiFi does not work with this .dtb, a new one with WiFi working will be provided soon). Once you've successfully copied over the .dtb file, you'll need to unmount the boot partition:
1
sudo umount /dev/mmcblk2p1
Copied!
Now you can change the DIP switches to boot from eMMC and reboot by running reboot in the serial console.

Configure U-Boot to use new .dtb file

Once the NavQ starts booting from the eMMC, you'll want to press enter repeatedly until you get to the U-Boot console prompt. Once you're in the U-Boot prompt, you'll need to run the following commands:
1
setenv fdt_file imx8mm-navq.dtb
2
saveenv
3
boot
Copied!
Your NavQ should then boot into the Ubuntu rootfs.
The default username and password for this image is:
1
Username: bluebox
2
Password: bluebox
Copied!
Note there are other usernames and passwords used for the SDK and Demo (Ubuntu) images.
Whala! You're done!
Last modified 1yr ago