Driver Commands
The tables below provide a summary of driver commands for the NXP S32G-VNP-RDB3.
Some of the drivers are commented out in the buildfile. To use these drivers on the target hardware, you may need to uncomment them in the buildfile, rebuild the image, and then load the image onto the board.
The order that the drivers are started in the provided buildfile is one way to start them. The order that you start the drivers is completely customizable and is often specific to your system requirements. For example, if you need an audible sound to play immediately, you must start the audio driver earlier than other drivers. It's important to recognize that the order you choose impacts the boot time.
- For more information on best practices for building an embedded system and optimizing boot times for your system, see the Building Embedded Systems and the Boot Optimization guides in the QNX Software Development Platform 8.0 documentation.
-
For more information about the drivers and commands listed here,
see the QNX OS Utilities Reference.
This chapter provides information about BSP-specific options for any of the
commands and drivers that aren't described in the Utilities Reference.
In some cases, the driver or command is specific to this BSP, in which case,
you'll find the information in the
BSP-specific Drivers and Utilities
chapter.
CAN
| Device | FlexCAN |
| Command |
|
| Required binaries | devcan-flexcan, canctl |
| Required libraries | libc.so.6, libgcc_s.so.1 |
| Source location | $BSP_ROOT_DIR/src/hardware/can/flexcan |
For more information about the devcan-flexcan driver, see devcan-flexcan
in the BSP-specific Drivers and Utilities
chapter of this guide.
I2C
| Device | I2C |
| Command |
i2c-imx -p 0x401E4000 -i124 -c 133000000 -l -t1 -vvvv --u0 i2c-imx -p 0x401E8000 -i125 -c 133000000 -l -t1 -vvvv --u1 i2c-imx -p 0x401EC000 -i126 -c 133000000 -l -t1 -vvvv --u2 i2c-imx -p 0x402D8000 -i127 -c 133000000 -l -t1 -vvvv --u3 i2c-imx -p 0x402DC000 -i128 -c 133000000 -l -t1 -vvvv --u4 |
| Required binaries | i2c-imx |
| Required libraries | libc.so.6, libgcc_s.so.1 |
| Source location | $BSP_ROOT_DIR/src/hardware/i2c/imx |
For S32G-VNP-RDB3 boards, only i2c4 is connected by default.
For information about this driver, see the i2c-imx
section
in the BSP-specific Drivers and Utilities
chapter of this guide.
Network
| Device | Ethernet |
| Command | io-sock -m phy -m fdt -m phy_fdt -d dwceqos -m pci -d em -d ix -d re -m usb -d axe -d axge -d cdce -d smsc |
| Required binaries | io-sock, if_up, dhcpcd, dhcpcd-run-hooks, ifconfig, pfctl, random |
| Required libraries | devs-axe.so, devs-axge.so, devs-cdce.so, devs-smsc.so, devs-dwceqos.so, devs-em.so, devs-ix.so, devs-re.so, libsocket.so, libsecpol.so, libjail.so, mods-phy.so, mods-pci.so, mods-usb.so, mods-fdt.so, mods-phy_fdt.so, libgcc_s.so.1, libc.so.6, qcrypto-openssl-3.so, libtracelog.so, libqcrypto |
For information about the devs-dwceqos.so driver, see the
devs-dwceqos.so
section,
respectively in the BSP-specific Drivers and Utilities
chapter of this guide.
For information about io-sock, see QNX SDP 8.0 High-Performance Networking Stack. User's Guide
PCI
| Device | Peripheral Component Interconnect (PCI) |
| Command | pci-server -c |
| Required binaries | pci-server, pci-tool |
| Required libraries | pci_hw-nxp-s32g-rdb.so, pci_bdwd_compat.so, pci_debug.so, pci_slog.solibgcc_s.so.1, libc.so.6 |
| Source location | Prebuilt only |
For more information on the switch settings for PCIe, refer to the Table 15. The multiplexing setting of SerDes in RMS32G-VNP-RDB3.pdf (S32G-VNP-RDB3 Reference Manual) available at https://www.nxp.com/design/design-center/development-boards-and-designs/S32G-VNP-RDB3. For more information on the different settings of Uboot environment variables for enabling PCIe, please refer to the Section 9.1 PCIe in U-Boot in S32G3_LinuxBSP_38.0_User_Manual.pdf available at https://www.nxp.com/design/design-center/software/embedded-software/linux-software-and-development-tools/bsp-for-s32-microcontrollers-and-processors:BSP-S32
For more information about this driver, see the pci-server
section in the QNX OS Utilities Reference guide of the QNX SDP 8.0 documentation.
QSPI NOR Flash
| Device | QSPI NOR flash (Spansion HyperFlash S26KL512) |
| Command | devf-fsl-qspi |
| Required binaries | devf-fsl-qspi, flashctl |
| Required libraries | libgcc_s.so.1, libc.so.6 |
| Source location | $BSP_ROOT_DIR/src/hardware/flash/boards/fsl-qspi |
For information about this driver, see the devf-fsl-qspi
section in the BSP-specific Drivers and Utilities
chapter of this guide.
SD/MMC
| Device | SD Card and eMMC |
| Command |
|
| Required binaries | devb-sdmmc-mx8x, fdisk, mkdosfs |
| Required libraries | libcam.so, io-blk.so, cam-disk.so,libgcc_s.so.1, libc.so.6 |
| Source location | $BSP_ROOT_DIR/src/hardware/devb/sdmmc |
For more information about this driver, see devb-sdmmc-mx8x
in the chapter BSP-specific Drivers and Utilities
of this guide.
Serial
| Device | SERIAL |
| Command | devc-serlinflexd -e -F -S -c125000000 0x401c8000,114 |
| Required binaries | devc-serlinflexd |
| Required libraries | libgcc_s.so.1, libc.so.6 |
| Source location | $BSP_ROOT_DIR/src/hardware/devc/serlinflexd |
For information about this driver, see devc-serlinflexd
in the BSP-specific Drivers and Utilities
of this guide.
SPI
| Device | SPI |
| Command | spi-nxpspi -c /etc/system/config/spi/spi.conf |
| Required binaries | spi-nxpspi |
| Required libraries | libgcc_s.so.1, libc.so.6 |
| Configuration Files | /etc/system/config/spi/spi.conf |
| Source location | $BSP_ROOT_DIR/src/hardware/spi/nxpspi |
For information about this driver, see thespi-nxpspi
section in the BSP-specific Drivers and Utilities
chapter of this guide.
Startup
| Device | Startup |
| Command | startup-s32g399a-rdb3 -a -u reg -r 0x8e0000000,0x20000000,1 -W |
| Required binaries | startup-s32g399a-rdb3 |
| Required libraries | N/A |
| Source location | $BSP_ROOT_DIR/src/hardware/startup/boards/s32g/s32g399a-rdb3 |
In addition to the startup-* options documented in the Utilities reference, the following option is also supported:
- -W
- Enable watchdog timer support. Ensure that you start the watchdog driver after when you use this option.
- -a
- For Arm-Trusted-Firmware (ATF) boot, use option '-a'.
USB OTG host controller (io-usb-otg stack)
USB host controller and OTG controller; host mode uses io-usb-otg stack.
| Device | USB host controller |
| Command |
|
| Required binaries | io-usb-otg, usb, devb-umass |
| Required libraries | devu-hcd-ehci-mx28.so, libc.so.6, libgcc_s.so.1 |
| Source location | Prebuilt only |
Watchdog
| Device | Watchdog |
| Command | wdtkick |
| Required binaries | wdtkick |
| Required libraries | libc.so.6, libgcc_s.so.1 |
| Source location | $BSP_ROOT_DIR/src/hardware/support/wdtkick |
For information about this driver, see the wdtkick
section in the BSP-specific Drivers and Utilities
chapter of this guide.
GPIO Utilities
| Device | GPIO Utility |
| Commands | gpio-siul2-s32g |
| Required binaries | gpio-siul2-s32g |
| Required libraries | libc.so.6, libgcc_s.so.1 |
| Source location | $BSP_ROOT_DIR/src/hardware/support/gpio-siul2/resmgr |
For more information about the gpio-siul2-s32g see the gpio-siul2-s32g
section, respectively in the BSP-specific Drivers and Utilities
chapter of this guide.
