Use QNX IPL to boot board
To boot the target using QNX IPL, you need first to copy the required files in the tezi_qnx_bsp_imx8qm-cpu-apalis_b0.zip, (BB-QNX-40x.png, image.json, ipl-imx8qm-cpu-apalis_b0.imx, and qnx-ifs) to your microSD card, then use the Toradex Easy Installer (TEZI) to install QNX OS on your target.
CAUTION:
After you complete the following steps, you won't be able to use the Toradex Easy Installer (TEZI) anymore to
install QNX OS (QNX IPL and QNX IFS) on the target because the TEZI is removed.
If you decide that you want to use the TEZI again to install QNX OS,
you must load TEZI from an SD card, USB stick, or via USB OTG.
For more information, see
Use recovery mode to load the Toradex Easy Installerin this chapter.
After you run the TEZI on the target and access it, for example using VNC client.
- Insert your microSD card into your board.
The TEZI automatically detects TEZI compatible files from the SD card as shown in the following illustration:
Figure 1Install QNX IPL using TEZI - Select QNX Neutrino RTOS, and then press i
or and click Install. A prompt appears that notifies you that
All existing data on the internal flash will be overwritten
. - Click Yes and then you'll see the following loading prompt that
indicates that the QNX IPL and QNX IFS are being installed on the board (copied to the eMMC):
Figure 2Flash QNX IPL to on-board eMMC - When the following prompt appears, select or click the Reboot button to reset the board.
Figure 3Prompt to reset the board
Welcome to QNX Initial Program Loader for Toradex Apalis i.MX8QM(Rev B) SoM (ARM Cortex-A53/A72)
SCFW build version: 4612, SCFW commit: 732e719a
SECO version: 3.6.2, commit: 732e719a
ATF commit: 2fa8c63
Command:
Press 'D' for serial download, using the 'sendnto' utility
Press 'M' for eSDC download, IFS filename MUST be 'QNX-IFS'
Press 'E' for eMMC download, IFS filename MUST be 'QNX-IFS'
eSDC download...
load image done.
Found image @ 0x88000000
Jumping to startup @ 0x80800800
Loading FDT @ 0x80400000
ARM trusted firmware is enabled
Hypervisor support disabled
board_smp_num_cpu: 6 cores
MMU: 16-bit ASID 40-bit PA TCR_EL1=00000012b5183519
ARM GIC-500 r1p1, arch v3.0 detected
board_smp_num_cpu: 6 cores
...
Welcome to QNX 8.0.0 on Apalis_i.MX8QM_CPU_Board !
...
Starting SC resource manager ...
...
Starting ADC driver (/dev/adc0/*)...
Starting shell ...
#
For IPL to boot QNX IFS from on-board eMMC, the board device tree file needs to be copied to on-board eMMC as imx-dtb.
# mount -t dos /dev/sd0t12 /sd
# mount -t dos /dev/emmc0t12 /emmc
# cp -V /sd/imx8qm-apalis-v1.1-ixora-v1.2.dtb /emmc/imx-dtb
# umount /sd
# umount /emmc
# shutdown
ARM trusted firmware is enabled
Welcome to QNX Initial Program Loader for Toradex Apalis i.MX8QM(Rev B) SoM (ARM Cortex-A53/A72)
SCFW build version: 4612, SCFW commit: 732e719a
SECO version: 3.6.2, commit: 732e719a
ATF commit: 2fa8c63
Command:
Press 'D' for serial download, using the 'sendnto' utility
Press 'M' for eSDC download, IFS filename MUST be 'QNX-IFS'
Press 'E' for eMMC download, IFS filename MUST be 'QNX-IFS'
eMMC download...
load image done.
Found image @ 0x88000000
Jumping to startup @ 0x80800800
Loading FDT @ 0x80400000
ARM trusted firmware is enabled
...
Welcome to QNX 8.0.0 on Apalis_i.MX8QM_CPU_Board !
...
Starting SC resource manager ...
...
Starting ADC driver (/dev/adc0/*)...
Starting shell ...
#
Page updated: