These instructions explain how to prepare a Renesas R-Car H3 target hardware platform to boot and run the QNX Hypervisor.
Preparing a board for a hypervisor system is no different from preparing a board for a non-virtualized system. You need to set DIP switches to configure board behavior (such as where it looks for IPL and startup code), and connect Ethernet, USB and serial cables so you can connect to your host system and your network (see the QNX BSP User's Guide for the Renesas R-Car H3, and the board manufacturer's documentation).
To run a virtualized system, ARM boards such as the R-Car H3 Salvator-X and the R-Car H3 Starter Kit require firmware that boots into EL2. Currently, the required firmware isn't installed on these boards when they are shipped.
If you attempt to boot the hypervisor without the appropriate firmware on the board, the boot will fail with a message like the following:
# qvm @qnx7.qvmconf QVM disabled: hypervisor support not available
To update your R-Car H3 (or other ARM) board to boot into EL2, you can either request the appropriate bootloader from Renesas or other manufacturer, or build the bootloader yourself.
The following information should be helpful if you choose to build the bootloader yourself for an R-Car H3 board:
When you have a bootloader that will boot into EL2, you must flash it into your board's firmware (see the QNX BSP User's Guide for the Renesas R-Car H3 for instructions).
We recommend flashing all the firmware files together as a precaution against possible mismatches. Please see the manufacturer's documentation for the latest board information.
Assuming that your R-Car H3 board includes a bootloader that provides EL2 (see Updating the firmware to boot into EL2 above), you can boot in HyperFlash mode. To support the QNX Hypervisor, your board must also be in 64-bit mode. For these configurations, different DIP switch settings are required on different silicon revision of this board.
For the WS 1.0 silicon revision, set the following switches as shown below.
To set Hyperflash mode, set the SW1, SW2, SW3, and SW10 switches as follows:
To set 64-bit mode, set the SW12 switch as follows::
For the WS 1.1 silicon revision, set the following switches as shown below.
To set Hyperflash mode, set the SW1, SW2, SW3, and SW10 switches as follows:
To set 64-bit mode, set the SW12 switch as follows:
If you need to use QSPI mode, or need other information about using the R-Car H3 DIP switches, see the BSP User's Guide that accompanies the Renesas R-Car H3 BSP, and the board manufacturer's documentation.
The QNX Hypervisor includes two smmuman configuration files for R-Car H3 boards:
Provided you are using one of the above board revisions, the startup script will select the appropriate configuration file (see DMA device containment (smmuman) in the Using Your Hypervisor System chapter, and smmuman in the Utilities and Drivers Reference chapter).