Startup for PC-compatible systems with a BIOS (QNX Neutrino)
startup-bios [-ABb] [-D channel[.channel_opts]] [-F [~]value] [-f [cpu_freq][,[cycles_freq][,timer_freq]]] [-I irq] [-j addr] [-K channel[.channel_opts]] [-L] [-N hostname] [-P max_cpus] [-R size[,align]] [-r addr,size[,flag]] [-S [~]section] [-s size] [-T] [-v[v]...] [-x] startup-bios-32 [-ABb] [-D channel[.channel_opts]] [-F [~]value] [-f [cpu_freq][,[cycles_freq][,timer_freq]]] [-I irq] [-j addr] [-K channel[.channel_opts]] [-L] [-N hostname] [-P max_cpus] [-R size[,align]] [-r addr,size[,flag]] [-S [~]section] [-s size] [-T] [-v[v]...] [-x]
Neutrino
x86 with a PC-compatible BIOS
In addition to the generic startup-* and x86-specific options, startup-bios and startup-bios-32 support the following options:
This overrides the default -I option. |
x86_pcbios_shadow_rom( 0xc0000, size );
For more information, see “The startup library” in the Customizing Image Startup Programs chapter of Building Embedded Systems.
The debug channel specified with the -D and -K options can be:
You can skip options by leaving out the data associated with that part. For example, if you want to send the debugging output to an 8250 chip using 9600 baud, use:
-D 8250..9600
The default -D and -K settings are:
-D console -K 8250.3f8^0.57600.1843200.16
The startup-bios and startup-bios-32 programs are responsible for probing PC hardware resources using the BIOS. They're similar, except that startup-bios uses 64-bit physical addresses, and startup-bios-32 uses 32-bit ones.
If you want to use Message Signaled Interrupts (MSI) or Extended MSI (MSI-X), use startup-apic instead of startup-bios in your build file. You must use startup-apic in conjunction with pci-bios-v2.
Direct debug output to the console:
startup-bios -Nnode120 -vvvv -Dconsole
Direct debug output to the first serial port (making sure the baud rate was set to 115200 on the receiving side):
startup-bios -Nnode120 -vvvv -D8250..115200
Direct debug output to the serial port at 2f8:
startup-bios -Nnode120 -vvvv -D8250.2f8.115200
For more examples, see ${QNX_TARGET}/x86/build.
mkifs, procnto, procnto-smp, startup-*
ClockTime(), SYSPAGE_ENTRY() in the QNX Neutrino Library Reference
Customizing Image Startup Programs in Building Embedded Systems