Startup for x86 systems (QNX Neutrino)
startup-x86 [-ABbCTx] [-D channel[.channel_opts]] [-F [~]value] [-f [cpu_freq][,[cycles_freq][,timer_freq]]] [-I flag] [-i ifs2_size[,flags][,paddr_src][,paddr_dst]] [-j addr] [-K channel[.channel_opts]] [-N hostname] [-P max_cpus] [-p str] [-R size[,align[,name[,use_low_memory]]]] [-r addr,size[,flag]] [-S [~]section] [-s size] [-v[v]...] [-z[z]] startup-x86-32 [-ABbCTx] [-D channel[.channel_opts]] [-F [~]value] [-f [cpu_freq][,[cycles_freq][,timer_freq]]] [-I flag] [-i ifs2_size[,flags][,paddr_src][,paddr_dst]] [-j addr] [-K channel[.channel_opts]] [-N hostname] [-P max_cpus] [-p str] [-R size[,align[,name[,use_low_memory]]]] [-r addr,size[,flag]] [-S [~]section] [-s size] [-v[v]...] [-z[z]]
QNX Neutrino
x86 and x86_64
In addition to the generic startup-* and x86-specific options, startup-x86 and startup-x86-32 support the following options:
x86_pcbios_shadow_rom( 0xc0000, size );
For more information, see the Startup Library chapter of Building Embedded Systems.
Debug channels
The debug channel specified with the -D and -K options can be:
The common arguments for the 8250 and 8250_pci_io channel definitions are as follows:
Argument | Description | Default (8250) | Default (PCI) |
---|---|---|---|
shift | The spacing between the I/O registers, in 2shift bytes | 0 | 2 |
baud | The baud rate for the debug channel | 57600 | 115200 |
clock | The clock rate (in Hz) input to the chip | 1843200 | 1843200 |
divisor | The divisor used on the clock rate by the chip | 16 | 16 |
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-x86 and startup-x86-32 programs are the startup for x86 boards. They're similar, except that startup-x86 uses 64-bit physical addresses, and startup-x86-32 uses 32-bit ones.
Direct debug output to the console:
startup-x86 -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-x86 -Nnode120 -vvvv -D8250..115200
Direct debug output to the serial port at 0x2f8:
startup-x86 -Nnode120 -vvvv -D8250.2f8.115200