Driver Commands

QNX Board Support Packages8.0BSP User's GuideAMD Sapphire Ryzen EdgeAMDAMDx86

The tables below provide a summary of driver commands for the AMD Ryzen V2000 Sapphire IPC-FP6 Board.

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 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 the requirements of your system. 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.

Note:
Some drivers depend on other drivers, so it's sometimes necessary to start them in a specific order because of these dependencies. For example, in the provided buildfile, the USB host driver is started before the mass storage drivers because they rely on it.
  • 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 cases, you'll find the information in the chapter BSP-specific Drivers and Utilities.

Here's the list of drivers available for this board:

Startup

Device STARTUP
Command startup-x86
Required binaries startup-x86
Source location $BSP_ROOT_DIR/src/hardware/startup/boards/x86

For more information about the startup-x86 driver, see the startup-x86section in the Utilities Reference guide of the QNX SDP 8.0 documentation.

Watchdog utility

Device Watchdog timer
Command amd_wdtkick
Required binaries amd_wdtkick
Required libraries libc.so, libgcc_s.so
Source location $BSP_ROOT_DIR/src/hardware/support/amd/wdtkick/

For more information about this driver, see wdtkick in the Utilities Reference guide of the QNX SDP 8.0 documentation.

SMBus

Device SMBus
Command smbus-pch -P0xFED80A00^0xFF -p
Required binaries smbus-pch,smbus-block,smbus-byte-word
Required libraries libc.so, libgcc_s.so, libsecpol.so
Source location $BSP_ROOT_DIR/src/hardware/support/smbus/

For more information about this driver, see the smbus-pch section in the BSP-specific Drivers and Utilities chapter of this guide.

Real-time clock (RTC)

Device RTC
Command rtc hw
Required binaries rtc, date
Required libraries libc.so, libgcc_s.so
Source location Binary Only

For more information about this driver, see the rtc in the Utilities Reference guide of the QNX SDP 8.0 documentation.

SPI

Device SPI
Command

spi-amd

Required binaries spi-amd, spi_amdromdump
Required libraries libc.so, libgcc_s.so, libsecpol.so
Configuration files spi.conf (Update the configuration file for DMA, as required)
Source location $BSP_ROOT_DIR/src/hardware/spi/amd, $BSP_ROOT_DIR/src/lib/io-spi

For more information about this driver, see spi-amd in the chapter BSP-specific Drivers and Utilities of this guide.

PCI Server

Device PCI bridge
Environment variables PCI_HW_MODULE,

PCI_SLOG_MODULE,

PCI_DEBUG_MODULE,

PCI_BKWD_COMPAT_MODULE,

PCI_HW_CONFIG_FILE,

Command pci-server --aspace-enable --config=/etc/system/config/pci/pci_server.cfg
Required libraries ldqnx-64.so.2, libc.so, libgcc_s.so, libpci.so, pci/pci_*.so,

libsecpol.so, libslog2.so

Source location Binary only

For more information about the PCI Server, see the PCI Server User's Guide; and the pci-server section in the Utilities Reference guide of the QNX SDP 8.0 documentation.

Serial

Device UART
Command

devc-ser8250 -b 115200 -e

waitfor /dev/ser2

Required binaries devc-ser8250
Required libraries ldqnx-64.so.2, libc.so, libgcc_s.so, libpci.so, libsecpol.so
Source location Binary only

For more information about this driver, see the devc-ser8250 section in the BSP-specific Drivers and Utilities chapter of this guide.

Network

Device Network devices
Command io-sock -m phy -m pci -d em -d ix -d re -d igc -m usb -d axe -d axge -d cdce -d smsc
Required binaries io-sock, dhcpcd, ifconfig, sshd, qconn
Required libraries devs-vmx.so, devs-em.so, devs-ix.so, devs-re.so, devs-axe.so, devs-axge.so,

devs-cdce.so, devs-smsc.so, mods-phy.so, mods-pci.so, mods-usb.so, libfdt.so,

libsocket.so, libqcrypto.so, libz.so, ldqnx-64.so.2, libc.so, libgcc_s.so,

libpci.so, libsecpol.so, libslog2.so

Source location Binary only

For more information about the io-sock, see the High-Performance Networking Stack (io-sock) User's Guide. For more information about the devs-* and mod-* drivers, see the the Utilities Reference guide of the QNX SDP 8.0 documentation.

USB OTG (Host Controller)

Device USB (Host driver)
Command io-usb-otg -d xhci -d ehci -d ohci -d uhci
Required binaries io-usb-otg, usb
Required libraries devu-hcd-xhci.so, devu-hcd-ehci.so, devu-hcd-uhci.so, devu-hcd-ohci.so

ldqnx-64.so.2, libc.so, libgcc_s.so, libpci.so, pci/pci_*.so,

libsecpol.so, libslog2.so, libm.so

Source location Binary only

For more information about the io-usb-otg driver and usb utility, see the io-usb-otg and usb section in the Utilities Reference guide of the QNX SDP 8.0 documentation.

Example of USB controller:
                io-usb-otg  -d xhci -d ehci -d ohci -d uhci
                waitfor /dev/usb/io-usb-otg
                devb-umass cam pnp dos exe=all disk name=umass
                
When a mass storage device is plugged in, devb-umass creates a resource manager under /dev/hdXtY where X represents the partition number and Y represents the partition type. For example, if you use a mass storage with one FAT32 partition (MBR), it creates two resource manager paths, which are /dev/hd0 and /dev/hd0t11. You would mount the second resource manager, where in this example, 11 specifies a FAT32 filesystem (i.e., mount -t dos /dev/hd0t11 /fs/usb0).

NVMe

Device Non-Volatile Memory Express (NVMe)
Command devb-nvme cam pnp disk name=nvme
Required binaries devb-nvme
Required libraries libcam.so, cam-disk.so, io-blk.so, fs-dos.so, fs-qnx6.so,

ldqnx-64.so.2, libc.so, libgcc_s.so, libpci.so, pci/pci_*.so,

libsecpol.so, libslog2.so, libfsnotify.so

Source location Binary only

For more information about this driver, see the devb-nvme section in the BSP-specific Drivers and Utilities chapter of this guide.

GPIO

Device GPIO Resource Manager
Command (/dev/gpio) gpio-amd-ryzen
Required binaries gpio-amd-ryzen
Required libraries libslog2.so, libsecpol.so, libc.so.6
Source location $BSP_ROOT_DIR/src/hardware/support/amd/gpio/

For more information about this driver, see gpio-amd-ryzen in the chapter BSP-specific Drivers and Utilities of this guide.

Page updated: