Transfer the image

QNX Board Support Packages8.0BSP User's GuideNXP S32G399 RDB3NXPNXPARM

After you build your images, you can put them on an microSD card. You can later use that microSD card to boot your board.

For information about setting up a bootable microSD card, see the Prepare a bootable microSD card section in this guide.

To boot the board with U-Boot, you must get the U-Boot binaries from the NXP S32G-VNP-RDB3 Linux BSP distribution that's supported in this release the NXP S32G-VNP-RDB3 (S32G3_LinuxBSP_37 or 38). For information about where to get the U-Boot files, see Required software in the Before You Begin chapter.

Preparing to boot using U-Boot using microSD card (Linux)

  1. For S32G-VNP-RDB3, copy the fip.s32-sdcard file as the first file to your formatted microSD card where devicename below represents the device name, such as(e.g., sdc):
    $ sudo dd if=fip.s32-sdcard of=/dev/devicename  conv=notrunc seek=0 bs=256 count=1
    $ sudo dd if=fip.s32-sdcard of=/dev/devicename  conv=notrunc bs=512 seek=1 skip=1
  2. Synchronize the microSD card:
    $ sync
  3. Remove the microSD card from your system and then re-insert it.
  4. Copy the DTB file to the card. 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

     $mount
    	.....
    	/dev/sda1 on /media/$LOGNAME/boot
      
     $ cp s32g399a-rdb3.dtb /media/$LOGNAME/boot
  5. Navigate to the $BSP_ROOT_DIR/images directory and then copy the QNX IFS (ifs-s32g399a-rdb3.ui) file.

    On S32G-VNP-RDB3 on a Ubuntu host system, use these commands: /media/$LOGNAME/boot:

    $ cd $BSP_ROOT_DIR/images
    $ cp ifs-s32g399a-rdb3.ui /media/$LOGNAME/boot
    
  6. Unmount the FAT partition:
    $ umount /media/$LOGNAME/boot 

Preparing to boot using the microSD card (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 utility, which you can download from the NXP website.

Go to www.nxp.com. If you aren't registered with NXP, do so, and then search for CFImager. You should find the Windows Tool for the creation of boot microSD cards for the i.MX platforms. Download it and install it on your host.

  1. Download the CFImager utility and install it in a convenient location.
  2. Open a Command Prompt window (you should run this as an Administrator).
  3. Go to the location where you installed CFImager and run the utility to copy U-Boot to offset 0x0 on the SD card. For example, where G is the location of your microSD card: for S32G-VNP-RDB3
    C:\CFImager>cfimager.exe -raw -offset 0x0 -f fip.s32-sdcard -d G

    CFImager should output something like this:

    drive = G
    removable = no
    device block size = 256 bytes
    device block count = 0x1dd071a
    
    firmware size = 0x44000 bytes (0x220 blocks)
    extra blocks = 1502
    Writing firmware...
    done!
  4. In a Command Prompt window, run bash. You might need to run the qnxsdp-env.bat (Windows) or the source qnxsdp-env.sh (Linux) 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 and copy the QNX IFS (ifs-s32g399a-rdb3.ui) file and the DTB file to G, where G is the location of the SD location of card as shown in step 3. For example, for S32G-VNP-RDB3:
    $ cd $BSP_ROOT_DIR/images
    $ copy ifs-s32g399a-rdb3.ui G:\
    $ copy s32g399a-rdb3.dtb G:\
    Note:
    If you're dragging the files to the microSD card in Windows Explorer, ensure you drag them one at a time in the specified order.
Page updated: