Configure the hardware and boot the reference image

The default configuration of the image is set up to run the ADAS example application and demonstrates how a system boots to immediately show a live camera stream.

If you want to connect physical cameras or sensors to the NXP iMX8QM-MEK board, you must change the reference image configuration settings. For more information, see Connect cameras and sensors and Configure cameras and sensors on the reference image in the next chapter.

Setting up the NXP iMX8QM-MEK board to use the reference image

Before you use the NXP iMX8QM-MEK board to boot the reference image, you must configure the board to boot from an SD card. If you haven't done so already, connect your board to a USB-serial cable for a console.

Booting the reference image

After you have transferred the image to an SD card, use it to boot your board.
  1. Insert the SD card into the board's SD card slot.
  2. Power on your board. You should see the QNX Neutrino boot menu, as follows:
    Welcome to QNX Neutrino Initial Program Loader for NXP i.MX8QM CPU MEK Board (ARM Cortex-A53/A72)
    SCFW build version: 4124, SCFW commit: B929EDFE
    SECO version: 2.5.6, commit: 27167FF2
    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'
    Press 'F' for NOR flash download, IFS MUST be at 0x100000 offset
  3. Press M at this point to boot from the SD card. This will have the following output:
    eSDC download...
    load image done.
    Found image               @ 0x88000000
    Jumping to startup        @ 0x82300800
    
    board_smp_num_cpu: 6 cores
    MAC address for ENET0 is not programmed in Fuses. Random MAC will be used.
    MAC address for ENET1 is not programmed in Fuses. Random MAC will be used.
    Welcome to QNX Neutrino 7.1.0 on the NXP i.MX8QM CPU MEK Board (ARM Cortex-A53/A72)
    Failed to initialize PRNG ret=22
    random: Could not initialize PRNG.
    Starting Watchdog driver...
    Setting OS clock from RTC
    Starting Serial driver (/dev/ser1)...
    Starting PCI Server...
    Starting SPI0 driver (/dev/spi0)...
    Starting SPI1 driver (/dev/spi1)...
    Starting SPI2 driver (/dev/spi2)...
    Starting SPI3 driver (/dev/spi3)...
    Starting CAN driver (/dev/can0/*)...
    Starting I2C driver (/dev/i2c0,1)...
    Starting OTG1 & OTG2 controller in the host mode (/dev/usb/*)...
    Starting USB Type-C Port Manager...
    Launching devb-umass for /dev/usb/* ...
    Starting SD Card as system disk /dev/sysdisk0...
    Starting screen.
    imx8qm-mek# sourcing env.sh
    Starting SLM...
After the image boots, it runs the ADAS example application by default and uses a live camera stream. If you want to run another application or change the configuration to use other cameras or sensors connected to your board, see the Use the Reference Image chapter for more information.