diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/README | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/README b/c/src/lib/libbsp/i386/pc386/README index bfebf1951c..4ed8829719 100644 --- a/c/src/lib/libbsp/i386/pc386/README +++ b/c/src/lib/libbsp/i386/pc386/README @@ -7,7 +7,7 @@ a Pentium or above, the TSC register is used for timing calibration purposes rather than relying entirely on the i8254. Partial support is implemented for more modern PCs which do not have -a complete complement of legacy peripherals. +a complete complement of legacy peripherals. Console/Printk Device Selection =============================== @@ -19,9 +19,9 @@ in the following order of priority: + VGA and keyboard + COM1 through COM4aaa -+ Any COM devices on the PCI bus ++ Any COM devices on the PCI bus including IO and memory mapped. -Beyond the dynamic probing for device presence, a combination of +Beyond the dynamic probing for device presence, a combination of configure and boot time options are available. By default, all devices are enabled. The configure time options are: @@ -45,7 +45,7 @@ specify the console and kernel debug IO device. The --printk is then interpreted to specify the debug kernel IO device. For example, ---console=com1 --printk=vgacons +--console=/dev/com1 --printk=/dev/vgacons specifies that com1 is to be used for stdin, stdout, and stderr while the VGA console is to be used for kernel debug IO. @@ -55,8 +55,21 @@ the RTEMS device /dev/com1. The device name may be followed by a baud rate. The following example illustrates this: ---console=com1,19200 --printk=vgacons +--console=/dev/com1,19200 --printk=/dev/vgacons If the specified device is not present, then a suitable fallback device is selected. The fallback order is based upon the probe order listed earlier. + +PCI UART devices are /dev/pcicom1 etc as they are probed and found. + +GDB +=== + +GDB can be support using: + + --gdb=/dev/com1,115200 : where the device and baudrate are selectable. + --gdb-break : halt at a break point in the BSP and wait for GDB. + --gdb-remote-debug : Output the GDB remote protocol data to printk + +The GDB stub details and in shared/comm/GDB.HOWTO. |