Take the following steps when preparing NVIDIA DRIVE CX for Boot to Qt:

Note: It is important that you repeat the steps in this section after you update Qt Automotive Suite.

The image containing the Boot to Qt stack for the device, as well as the flashing tool are included in Qt Automotive Suite.

Note: The flashing tool that is used in Installing the Boot to Qt Image is only supported in a Linux host platform.

Installing the Boot to Qt Image

Connect the DRIVE CX board to the development host via USB, and set it in recovery mode by changing the position of J9 jumper on the board.

Then, run the flashing tool:

sudo 5.9/Automotive/tegra-t18x/flash-nvidia/flash_device.sh

After the installation is complete, replace the J9 jumper to its original position, and restart the device. After reboot, check that the automotive UI appears.

Setting up USB Access

On Ubuntu Linux, the development user account must have access to plugged in devices. To allow the development user access to the device via USB, create a new udev rule.

  1. From Qt 5.9 onwards, run the following command in a shell:
    echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="dbdb", TAG+="udev-acl", TAG+="uaccess"' | sudo tee -a /etc/udev/rules.d/70-boot2qt.rules

    For Qt 5.8 or older, run the following command in a shell:

    echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", TAG+="udev-acl", TAG+="uaccess"' | sudo tee -a /etc/udev/rules.d/70-boot2qt.rules
  2. Connect the running device to the development host with a USB cable. If the device is already connected, disconnect and reconnect the USB cable after running the command above.

The system log files /var/log/udev and /var/log/syslog may provide relevant information in case of connection problems.

Configuring a Device Kit in Qt Creator

After you have prepared the hardware, you must perform one final step to set up the development tools in Qt Creator for your device. That is, you must configure the correct device to be used for each build and run kit. Connect your device to the development host via USB and launch Qt Creator. In Qt Creator:

  1. Select Tools > Options > Build & Run > Kits.
  2. Select one of the predefined kits starting with Boot to Qt... that matches the type of your device.
  3. Select the correct device in the Device field.
  4. Select OK.

You are now ready to start developing for your device. For more information, see Tutorial: Deploying Your First Project with Qt Automotive Suite.

© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.