Console and outputs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(fix typo) |
||
(24 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
! Output name | ! Output name | ||
! direction (from the target coreboot machine point of view) | ! direction (from the target coreboot machine point of view) | ||
! software compatibility | ! Requirements | ||
! software compatibility (compatibility with software loaded after coreboot, like OS payloads etc...) | |||
|- | |- | ||
! [[Serial console]] | ! [[Serial console]] | ||
(sends coreboot logs over the serial port) | |||
| | | | ||
* input | * input | ||
* output | * output | ||
| | |||
* An internal(not USB) serial port: | |||
** it can be on the mainboard | |||
** it can also be a PCIe OXPCIe952 card with the 0x1415 and 0xc158 vendor and device ID (respectively). | |||
** USB serial ports are not supported by coreboot yet. | |||
| | | | ||
* seabios | * seabios | ||
Line 18: | Line 25: | ||
|- | |- | ||
! [[EHCI Debug Port| Console Over EHCI debug port]] | ! [[EHCI Debug Port| Console Over EHCI debug port]] | ||
(sends coreboot logs over the usb debug port) | |||
| | | | ||
* input? | * input? | ||
* output | * output | ||
| | |||
* An USB debug port supported by coreboot. | |||
* To find on which usb connector it goes. | |||
| | |||
* grub | |||
* linux kernel in its early initialisation (I'm not sure that it can be kept afterward, because, after the early initialisation, by default it tries to initialise the USB port normally) | |||
|- | |- | ||
! [[Spkmodem| Console trough spkmodem]] | ! [[Spkmodem| Console trough spkmodem]] | ||
(sends coreboot logs over the sound card) | |||
| | | | ||
* output only | * output only | ||
| | |||
* A working "beep" sound card at boot. | |||
* On some laptops it's necessary to tell the embedded controller to enable sound output to get it working. | |||
| | |||
For writting to it from the coreboot target computer: | |||
* coreboot's console | |||
* grub's console | |||
For reading it from a remote computer: | |||
* coreboot's/grub's spkmodem_recv uttilty (same uttility, but it's available in both git repositories) | |||
|- | |- | ||
! [[Network console]] | ! [[Network console]] | ||
(sends coreboot logs over the network) | |||
| | | | ||
* output | * output | ||
* probably no input | |||
| | |||
* A ne2k compatible ethernet card on the coreboot target system. | |||
* A network between the coreboot computer and the computer receiving the logs. | |||
| | |||
For sending the logs: | |||
* the linux kernel | |||
For receiving the logs: | |||
* nc and similar networking uttilities. | |||
|- | |- | ||
! [[Cbmem console]] | ! [[Cbmem console]] | ||
(Ram buffer, like dmesg) | |||
| | | | ||
* output only | * output only for coreboot. | ||
* input/output for grub. | |||
* It requires the computer to be booted to retrive the logs. | |||
| | |||
* A coreboot device that supports cbmem: not all devices supports it in coreboot. | |||
| | |||
For writting to the buffer which is in the coreboot target computer: | |||
* coreboot console output | |||
* grub console output | |||
* seabios | |||
For reading the buffer on the coreboot target computer, after coreboot booted: | |||
* grub with the cbmemc command | |||
* coreboot's userspace cbmem -c uttility | |||
|- | |- | ||
|} | |} |
Revision as of 17:08, 15 September 2015
Coreboot has various possible consoles:
Output name | direction (from the target coreboot machine point of view) | Requirements | software compatibility (compatibility with software loaded after coreboot, like OS payloads etc...) |
---|---|---|---|
Serial console
(sends coreboot logs over the serial port) |
|
|
|
Console Over EHCI debug port
(sends coreboot logs over the usb debug port) |
|
|
|
Console trough spkmodem
(sends coreboot logs over the sound card) |
|
|
For writting to it from the coreboot target computer:
For reading it from a remote computer:
|
Network console
(sends coreboot logs over the network) |
|
|
For sending the logs:
For receiving the logs:
|
Cbmem console
(Ram buffer, like dmesg) |
|
|
For writting to the buffer which is in the coreboot target computer:
For reading the buffer on the coreboot target computer, after coreboot booted:
|
Other output:
- POST Card
- Tracing the Flash chip's access?