Retrieve the DTB file

Before you can boot the board with QNX, you need to retrieve the DTB file from the pre-installed linux that comes with the board. For more information, see the Quick Start Guide on the Variscite Website: https://www.variscite.com/wp-content/uploads/2020/10/DART-MX8M-PLUS-quick-start-guide.pdf. The following is an overview of how to retrieve the required DTB file.

Prepare SD Card

Note:
It is recommended that when preparing the bootable SD there be a 4MB offset before the bootable partition. To do this, follow the steps in Prepare a bootable microSD and use the settings described for your host system:
  • For Linux, set start_cylinder to 129
  • For Windows, set offset to 4098
  1. First, format the SD card as mentioned in Prepare a bootable microSD depending on the host system (Linux/Windows).
  2. Follow the link Yocto Recovery SD card (https://variwiki.com/index.php?title=Yocto_Recovery_SD_card&release=mx8mp-yocto-mickledore-6.1.36_2.1.0-v1.3) to download, install & rebuilt U-boot, Linux kernel & file system into the SD card. For Linux, example command will be:
     zstdcat mx8mp__yocto-mickledore-6.1.36_2.1.0-v1.2__android-14.0.0_1.0.0-v1.0.wic.zst | sudo dd of=/dev/sda bs=1M && sync 
    for SD card formatting. For Windows, check the steps in the link provided above.

Retrieve DTB from target filesystem

  1. Remove the SD card from the host system and insert into the board. Keep SW7 position to external boot i.e. EXT position and boot the board.
  2. Log in to the Linux shell and navigate to the /boot directory:
    cd /boot
  3. Copy the DTB file from the Linux filesystem to a connected USB drive or other accessible storage:
    cp imx8mp-var-dart-dt8mcustomboard.dtb /run/media/QNX-NEW-sda1/
Note:
The QNX-NEW-sda1 is another file system not the primary SD card and replace /run/media/QNX-NEW-sda1/ with the correct mount point of your external USB drive or storage device. From this external USB drive, copy the required DTB file to your host filesystem and save it, as it will be required for booting to QNX.
Page updated: