Use the QNX IPL to boot your board

You can use the QNX IPL (Initial Program Loader) to boot your board and load the QNX IFS to run QNX OS on the target. Depending on the host you use, you must use the steps to copy the IPL and IFS to your SD using the steps in Copy the IPL and IFS (Linux) or Copy the IPL and IFS (Windows).

Copy the IPL and IFS (Linux)

To copy the images to an SD, perform the following steps:

  1. Insert the SD into your host system and mount it if necessary.

    The SD should appear in the list of mounted devices. If it doesn't appear, remove and re-insert the card into your host system.

  2. In a terminal on your host system, navigate to the $BSP_ROOT_DIR/images directory and copy the QNX IPL file to the SD using the dd command.
    Note:
    The number 1 at the end of the specified mountpoint must be removed, so for the mountpoint /dev/sda1, you would specify /dev/sda.

    For example:

    cd $BSP_ROOT_DIR/images
    dd if=ipl-imx93-evk_a0.imx of=/dev/sda bs=512 seek=64
  3. Copy the QNX IFS image to the SD as qnx-ifs. The filename must be qnx-ifs because the QNX IPL expects that name. To do this, you copy the file to the mountpoint for your SD. If necessary, run the mount command again to determine your mountpoint.
    For example on the i.MX 93 EVK board:
    $ mount
    ...
    /dev/sda1 on /media/074B-DAC7
    ...
    $ cp qnx-ifs /media/074B-DAC7/qnx-ifs
    
  4. Copy the DTB to the SD as IMX-DTB. The filename must be IMX-DTB because the QNX IPL expects that name. To do this, you copy the file to the mountpoint for your SD.
    For example on the i.MX 93 EVK board:
    $ cp imx93-11x11-evk.dtb /media/074B-DAC7/IMX-DTB
    

The SD should now be ready to boot your i.MX 93 EVK board.

Copy the QNX IPL and IFS (Windows)

The Windows host doesn't support the dd utility used on Linux hosts to convert files while copying them. However, if you don't have your own utility to convert files while copying them, NXP provides the CFImager (cfimager) utility, which you can download from the NXP website.

Go to www.nxp.com. If you are not already registered with NXP, register; then search for CFImager. You should find the Windows Tool for the creation of bootSDs for the i.MX platforms.

  1. Download the CFImager utility and install it in a convenient location on your host.
  2. Open a Command Prompt window (you should run this as an Administrator).
  3. Go to the location where you installed the CFImager utility and run it to copy the IPL to an offset of 0x8000 for boards on the SD .
    For example:
    > cfimager.exe -raw -offset 0x8000 -skip 0x00 -f ipl-imx93-evk_a0.imx -d G
  4. In a Command Prompt window, run bash. You might need to run the qnxsdp-env.bat from your QNX SDP 8.0 installation to set up your environment to use bash.
     $ bash
  5. Navigate to the $BSP_ROOT_DIR/images directory. Copy the QNX IFS file to the SD as qnx-ifs. The filename must be qnx-ifs because the QNX IPL expects that name. The SD_location_of_card is determined in step 3.
    For example, on the i.MX 93 EVK board, where G: is the location of the SD_location_of_card:
    $ cd $BSP_ROOT_DIR/images
    $ cp qnx-ifs  G:/qnx-ifs 
  6. Navigate to the location of the DTB for the device and copy the DTB file to the SD as IMX-DTB. The filename must be IMX-DTB because the QNX IPL expects that name. The SD_location_of_card is determined in step 3.
    For example, on the i.MX 93 EVK board, where G: is the location of the SD_location_of_card:
    $ cp imx93-11x11-evk.dtb G:/IMX-DTB	 

The SD should now be ready to boot your i.MX 93 EVK board.

Booting QNX IFS using U-Boot

It is possible to boot the i.MX 93 EVK board using U-Boot. To use U-Boot to boot the i.MX 93 EVK board, you are required to download the Embedded Linux for i.MX Applications Processors package for i.MX93 EVK that is available at NXP's website at https://www.nxp.com/webapp/sps/download/license.jsp?colCode=L6.1.22_2.0.0_MX93 -BETA&appType=file1&DOWNLOAD_ID=null. When booting from U-Boot the following applies
  1. 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 set start_cylinder to 129 in Linux or offset=4098 in Windows.
  2. The U-Boot file used is imx-boot-imx93evk-sd.bin-flash_singleboot. Flash U-Boot with the same steps as the QNX IPL.
  3. Instead of using $BSP_ROOT_DIR/images/qnx-ifs, the file $BSP_ROOT_DIR/images/ifs-imx93-evk.raw should be used.
  4. To load the DTB and QNX IFS stop the U-Boot autoboot by pressing any key and run the following commands:
    • fatload mmc 1 0x80600000 imx-dtb
    • fatload mmc 1 80800000 ifs-imx93-evk.raw
    • go 80800000 80600000
Page updated: