Driver Commands
The tables below provide a summary of driver commands.
The tables list any additional libraries and binaries that are required. Default required libraries, such as libc.so and libgcc_s.so.1 aren't listed, but should be included in your buildfile.
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.
- 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.
Here's the list of drivers available for this board and the order they appear in the provided buildfile:
Flash driver
Device | Flash |
Command | devf-j7-ospi -s soc=rclk=200000000:base=0xfc40000:clk=25000000:rdelay=4 |
Command with DMA support | devf-j7-ospi -I -s soc=rclk=200000000:base=0xfc40000: clk=25000000:rdelay=4:poffset=0x3fc0000:phy=1:dma=1 |
Required binaries | devf-j7-ospi, devf-ram, flashctl, shmemallocator, tiipc-mgr, tisci-mgr, tiudma-mgr |
Required libraries | libsecpol.so, libti-pdk.so, libti-sciclient.so, libti-udmalld.so, libtiudma-usr.so |
Source location | src/hardware/flash/boards/j7-ospi |
devf-j7-ospisection in the
BSP-specific Drivers and Utilitieschapter of this guide.
Inter-integrated Circuit (I2C)
The Jacinto 7 J722S EVM supports I2C devices on buses 0 and 1. You need to launch an I2C driver instance for each device.
Device | I2C |
Commands | i2c-tda4 -p0x20000000 -i193 -d i2c-tda4 -p0x20010000 -i194 -d --u1 i2c-tda4 -p0x20020000 -i195 -d --u2 |
Required binaries | i2c-tda4, isendrecv, isend |
Required libraries | libsecpol.so |
Source location | $BSP_ROOT_DIR/src/hardware/i2c |
For more information about this driver, see the i2c-tda4
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
|
Command with CPSW driver | io-sock -m phy -m usb -d axe -d axge -d cdce -d smsc -m fdt -d cpsw-j722s |
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-cpsw-j722s.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.
For more information about the devs-cpsw.so driver, see the
devs-cpsw-j722s.so
section in the BSP-specific Drivers and Utilities
chapter of this guide.
SD/MMC
The Jacinto 7 J722S EVM BSP supports all of the following:
- the eMMC memory
- the SD_CARD (J36) port on the EVM
Device | microSD card, eMMC |
Command (eMMC) | devb-sdmmc-am65x sdio addr=0x0fa10000,bw=~4:8,irq=165,timing=~hs400,emmc,bs=sscfg=0x8000 disk name=emmc |
Command (microSD card) | devb-sdmmc-am65x sdio addr=0x0fa00000,irq=115,bs=sscfg=0x8000:ldo=0x600000^70:trm-icp=2 cam pnp disk name=sd |
Required binaries | devb-sdmmc-am65x, 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 |
Command | devc-seromap -e -F 0x02800000,210 |
Required binaries | devc-seromap, devc-seromap_hci |
Required libraries | libsecpol.so |
Source location | $BSP_ROOT_DIR/src/hardware/devc/seromap |
devc-seromapsection in the
BSP-specific Drivers and Utilitieschapter of this guide.
Startup
Device | STARTUP |
Command | startup-j722s-evm -u arg -v -r0x99A00000,0x26600000,1 -r0xC0000000,0x30000000,1 -r0x880000000,0x30000000,1 |
Required binaries | startup-j722s-evm |
Required libraries | N/A |
Source location | $BSP_ROOT_DIR/src/hardware/startup/boards/ti-j7/j722s |
For more about the options for this driver, see the startup-*
options described in the Utilities Reference guide of the QNX Software Development Platform 8.0 documentation.
USB Host Mode
Device | USB OTG (Host mode) |
Command | io-usb-otg -d dwc3-xhci ioport=0x31000000,irq=220 -d cdns3-xhci ioport=0x31210000,irq=258,iosize=65536 |
Required binaries | io-usb-otg, usb, devb-umass, devb-ram |
Required libraries | devu-hcd-dwc3-xhci.so, devu-hcd-cdns3-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-cdns3-xhci.so and devu-hcd-dwc3-xhci.so driver, see the
devu-hcd-cdns3-xhci
and devu-hcd-dwc3-xhci
section in the BSP-specific Drivers and Utilities
chapter of this guide.