Preparing the microSD card to boot the board
You can prepare your microSD card to boot using U-Boot.
For descriptions of the boot processes, see Boot using U-Boot
.
Pre-built image
After you have unzipped the BSP, a prebuilt QNX IFS image is available in the BSP's /images directory.
This prebuilt IFS image is generated by the BSP make utility, and is configured for the various BSP device drivers already on your system. When you build the BSP, this image is overwritten with a new QNX IFS file that gets generated by the BSP build process, so you may want to make a copy of it for future reference. If you forget to make a backup copy of this image, you can simply extract the BSP from the ZIP file (.zip archive) again to recover the original prebuilt IFS. Before you can put the boot image on the microSD card, you must prepare the microSD card to be bootable. For more information, see the Preparing to boot using U-Boot
in this chapter.
.
Preparing to boot using U-Boot
- Insert a 16GB microSD card into your host computer if you haven't done so.
- On your host computer, download the tisdk-edgeai-image-am62a-evm.wic.xz file that's available on the Texas Instruments website at https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-AM62A/10.01.00.05.
- Flash the tisdk-edgeai-image-am62a-evm.wic.xz file to the microSD card by following the steps in section 1.1.2. Create SD Card of the Processor SDK Linux Software Developer’s Guide for AM62A documentation that's available on the Texas Instruments website at https://dev.ti.com/tirex/content/am62ax_academy_10_01_00_00/ _build_am62ax_academy_10_01_00_00/source/linux/ch-eval/eval-flash-sdcard.html #evaluating-create-linux-bootable-sdcard
- Copy the QNX IFS for this BSP to the microSD card with the name qnx-ifs if you want to boot the QNX OS directly from the microSD card. For Linux hosts:
cd $BSP_ROOT_DIR/images cp ifs-am62a-evm.raw mountpoint/BOOT/qnx-ifs
For a Windows host:
cd $BSP_ROOT_DIR\images copy ifs-am62a-evm.raw drive:\BOOT\qnx-ifs
- Copy the psdk_linux_9.2_k3-am62a7-sk.dtb from $BSP_ROOT_DIR/prebuilt/usr/lib/ to the microSD card.
For Linux hosts:
cd $BSP_ROOT_DIR/prebuilt/usr/lib/ cp psdk_linux_9.2_k3-am62a7-sk.dtb mountpoint/BOOT
For a Windows host:cd $BSP_ROOT_DIR\prebuilt\usr\lib\ copy psdk_linux_9.2_k3-am62a7-sk.dtb drive:\BOOT