Flashing SD Card with Linux Image from Linux Host

1. Installing Images from Linux Host

The following instructions describe how to flash a micro SD card with a Linux image suitable for running on the i.MX 8M NAVQ Plus kit from the Linux host as well as how to prepare the kit for booting from that card.

Instructions on building Linux images for the i.MX 8M NAVQ Plus kit can be found at the following page: https://voxelbotics.atlassian.net/wiki/spaces/DOC/pages/3735641 . Having completed the build, follow the step-wise procedure below:

  1. When the build is complete the resultant image will be located at the following path in the Yocto build directory tmp/deploy/images/imx8mpnavq/. Look for the following image: imx-image-desktop-ros-imx8mpnavq.wic.zst.

  2. Insert a SD card (capacity of 8GB or more) into the Linux host PC. Write the decompressed image onto the SD card (change /dev/sdX to the actual device name, as available on your Linux host):

    zstd -d -c imx-image-desktop-ros-imx8mpnavq.wic.zst | sudo dd of=/dev/sdX bs=64M conv=fdatasync

2. Verifying New Installation

  1. Set up the boot switches on the i.MX 8M NAVQ Plus kit for booting from the SD card:
    SW2.1 - 1, SW2.2 - 1

  2. Insert the flashed SD card into the SD card slot on the NAVQ Plus kit and power the kit up.

  3. Verify that the following Linux boot-up messages appear on the serial console:

    NOTICE: BL31: v2.4(release): NOTICE: BL31: Built : 05:49:10, Mar 2 2022 U-Boot 2021.04-lf_v2021.04+g60519b47e7 (Jul 31 2022 - 08:56:04 +0000) CPU: i.MX8MP[8] rev1.1 1800 MHz (running at 1200 MHz) CPU: Commercial temperature grade (0C to 95C) at 44C Reset cause: POR Model: Voxelbotics NAVQPlus board DRAM: 4 GiB ... Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] ... Ubuntu 20.04.3 LTS imx8mpnavq ttymxc1 imx8mpnavq login:
  4. Enter the Linux session by typing user for both the user name and the password.