Migrating from QNX SDP 7.1 io-sock to QNX SDP 8.0 io-sock

QNX SDP8.0Migrating to QNX OS 8.0Developer

The general drivers for Ethernet PHY, PCI bus, USB bus, and Flattened Device Tree bus devices are now provided as modules. For more information, see Starting io-sock and Driver Management in the High-Performance Networking Stack (io-sock) User's Guide and the mods-*.so entries in the Utilities Reference.

Build changes

Some build modifications that were needed in QNX SDP 7.1 to allow an application to work with io-sock are not needed in the QNX SDP 8.0 envrionment.

The separate io-sock directory for io-sock binaries and libraries is no longer provided or required. Your application may fail to build because the io-sock directory for binaries is no longer present. Remove:

  • path_to_libsocket from LIBVPATH, and
  • path_to_io-sock from EXTRA_INCVPATH.

For more information about the LIBVPATH, INCVPATH, and EXTRA_INCVPATH macros, see The common.mk file in the QNX OS Programmer's Guide.

Command-line options

Many of the QNX SDP 7.1 io-sock command-line options have been replaced by new or existing sysctl variables, which are set using the io-sock config option.

QNX SDP 7.1 io-sock command-line option QNX SDP 8 io-sock sysctl tunable
timer_pulse_prio qnx.timer_prio
taskq_pulse_prio qnx.taskq_prio
isr_pulse_prio qnx.ist_prio
netisr_threads net.isr.maxthreads
usb_stack qnx.usb_stack_path
npnp_pci qnx.pnp.pci (set to 0)
npnp_ofw qnx.pnp.ofw (set to 0)
npnp_usb qnx.pnp.usb (set to 0)
iolevel qnx.iolevel

The behavior that was set using the QNX SDP 7.1 io-sock options ignore_usb, ignore_pci, and ignore_phy is now the default behavior. Instead, you use the io-sock -m option to load the appropriate module (e.g., for Ethernet PHY devices, specify -m phy).

The Device Tree Blob that was loaded from a file specified by the io-sock option dtb in QNX SDP 7.1 is now automatically loaded directly from a memory location specified in the system page. Use -m fdt to load the Flattened Device Tree (FDT) mechanism when you start io-sock.

For more information, see Starting io-sock and Driver Management in the High-Performance Networking Stack (io-sock) User's Guide and the mods-*.so entries in the Utilities Reference.

Drivers with PTP

In QNX SDP 8.0.1, io-sock networking drivers that implement the Precision Time Protocol (PTP) in hardware must use the io-sock PTP module to work with ptpd2. For detailed information, go to Migrating io-sock networking drivers with PTP to QNX SDP 8.0.1 io-sock.

Page updated: