Driver Commands
The tables below provide a summary of driver commands for the Honeycomb LX2.
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.
AHCI SATA
Device | SATA |
Command |
devb-ahci-mx8x ahci ioport=0x3200000,irq=165 disk name=hd
devb-ahci-mx8x ahci ioport=0x3210000,irq=168 disk name=hd devb-ahci-mx8x ahci ioport=0x3220000,irq=129 disk name=hd devb-ahci-mx8x ahci ioport=0x3230000,irq=132 disk name=hd |
Required binaries | devb-ahci-mx8x |
Required libraries | libsecpol.so, libc.so, libgcc_s.so, cam-disk.so, libcam.so |
Source location | $BSP_ROOT_DIR/src/hardware/devb/ahci |
For more information about the devb-ahci driver, see the
devb-ahci
section in the QNX OS Utilities Reference guide of the
QNX Software Development Platform 8.0 documentation.
Inter-integrated Circuit (I2C)
Device | I2C |
Command | i2c-imx -t1 -p 0x02000000 -i66 -c350000000 |
Required binaries | i2c-imx, isendrecv, isend |
Required libraries | libsecpol.so, libc.so, libgcc_s.so |
Source location | $BSP_ROOT_DIR/src/hardware/i2c/imx |
For information about this driver, see the i2c-imx
section
in the BSP-specific Drivers and Utilities
chapter of this guide.
Network
Device | Ethernet |
Commands | io-sock -m phy -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-em.so, devs-ix.so, devs-re.so, devs-axe.so, devs-axge.so, devs-cdce.so, devs-smsc.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 |
Source location | Prebuilt only |
For more information about the devs-axe.so driver, see the
devs-axe.so
section in the QNX OS Utilities Reference guide of the
QNX Software Development Platform 8.0 documentation.
NVME
Device | Non-Volatile Memory Express (NVMe) |
Command | devb-nvme 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 | $BSP_ROOT_DIR/src/hardware/devb/nvme |
For more information about the devb-nvme driver, see the
devb-nvme
section in the QNX OS Utilities Reference guide of the
QNX Software Development Platform 8.0 documentation.
PCI Server
Device | PCIe |
Commands | PCI_SLOG_MODULE=pci_slog2.so pci-server --config=/etc/system/config/pci/pci_server.cfg |
Required binaries | pci-server |
Required libraries | libpci.so, pci_server-buscfg-generic.so, pci_hw-nxp-QorIQ-lx2160a.so, pci_debug2.so, pci_slog2.so, pci_strings.so, pci_cap-0x10.so, pci_cap-0x11.so, pci_cap-0x05.so, pci_cap-0x01.so, libsecpol.so, libc.so, libgcc_s.so |
Environment variables | PCI_HW_MODULE,
PCI_HW_CONFIG_FILE, PCI_DEBUG_MODULE, PCI_BASE_VERBOSITY, PCI_SLOG_MODULE For more information about the environment,
see the |
Source location | Prebuilt only |
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.
SD/MMC
Device | microSD |
Command (microSD) | devb-sdmmc-ls20xx cam pnp blk rw,cache=2M sdio clk=350000000, addr=0x2140000,irq=60,bs=per_clk=700000000:clk_max=100000000 disk name=sd |
Required binaries | devb-sdmmc-ls20xx, fdisk, mkdosfs |
Required libraries | libsecpol.so |
Source location | $BSP_ROOT_DIR/src/hardware/devb/sdmmc |
devb-sdmmc-*section in the Utilities Reference guide of the QNX Software Development Platform 8.0 documentation.
Serial
Device | Serial |
Commands | devc-serpl011 -b115200 -c174974400 -e -F -u1 0x21c0000,64 |
Required binaries | devc-serpl011 |
Required libraries | libsecpol.so, libc.so, libgcc_s.so |
Source location | $BSP_ROOT_DIR/src/hardware/devc |
For more information about the serial drivers, see the
devc-serpl011
section in the BSP-specific Drivers and Utilities
chapter of this guide.
Startup
Device | Startup |
Command | startup-honeycomb_lx2 -W |
Required binaries | startup-honeycomb_lx2 |
Required libraries | N/A |
Source location | $BSP_ROOT_DIR/src/hardware/startup/boards/honeycomb_lx2 |
In addition to the startup-*
options described in the
Utilities Reference, you can also use the following
option with this command:
- -W
- Enable watchdog timer support. Ensure that you start the watchdog driver after when you use this option.
Thermal
Device | Fan Controller |
Commands |
honeycomb_thermal -f 200 & |
Required binaries | honeycomb_thermal |
Required libraries | libsecpol.so, libc.so, libgcc_s.so |
Source location | $BSP_ROOT_DIR/src/hardware/support/honeycomb/honeycomb_thermal |
For more information about the serial drivers, see the
honeycomb_thermal
section in the BSP-specific Drivers and Utilities
chapter of this guide.
USB Host Mode
Device | USB OTG (Host mode) |
Command | io-usb-otg -d dwc3-xhci ioport=0x3100000,iosize=0x10000, irq=112,ioport=0x3110000,iosize=0x10000,irq=113 |
Required binaries | io-usb-otg, usb, devb-umass, devb-ram |
Required libraries | devu-hcd-dwc3-xhci.so, libhiddi.so, libusbdi.so, libusbdci.so |
Source location | Prebuilt only |
For more information about the io-usb-otg, see the
io-usb-otg
section in the QNX OS Utilities Reference guide of the QNX SDP 8.0 documentation.
For more information about the devu-hcd-dwc3-xhci.so driver, see the
devu-hcd-dwc3-xhci.so
section in the BSP-specific Drivers and Utilities
chapter of this guide.
Watchdog
Device | Watchdog timer |
Commands |
wdtkick -a 0x2390000 -p 253 -t 10000 -W0x00:0x1 |
Required binaries | wdtkick |
Required libraries | libc.so, libgcc_s.so |
Source location | $BSP_ROOT_DIR/src/hardware/support/wdtkick |
wdtkicksection in the Utilities Reference guide of the QNX Software Development Platform 8.0 documentation.