Difference between revisions of "Console and outputs"

From coreboot
Jump to navigation Jump to search
Line 6: Line 6:
|-
|-
! [[Serial console]]
! [[Serial console]]
(sends coreboot logs over the serial port)
|
|
* input
* input
Line 18: Line 19:
|-
|-
! [[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?
Line 23: Line 25:
|-
|-
! [[Spkmodem| Console trough spkmodem]]
! [[Spkmodem| Console trough spkmodem]]
(sends coreboot logs over the sound card)
|
|
* output only
* output only
Line 33: Line 36:
|-
|-
! [[Network console]]
! [[Network console]]
(sends coreboot logs over the network)
|
|
* output
* output
|-
|-
! [[Cbmem console]]
! [[Cbmem console]]
(Ram buffer, like dmesg)
|
|
* output only
* output only

Revision as of 12:44, 15 December 2013

Coreboot has various possible consoles:

Output name direction (from the target coreboot machine point of view) software compatibility (compatibility with software loaded after coreboot, like OS payloads etc...)
Serial console

(sends coreboot logs over the serial port)

  • input
  • output
  • seabios
  • grub as a payload
  • grub running after seabios
  • libpayload
  • linux kernel (loaded after the payload)
  • most GNU/Linux init systems(sysvinit, systemd, upstart etc...)
Console Over EHCI debug port

(sends coreboot logs over the usb debug port)

  • input?
  • output
Console trough spkmodem

(sends coreboot logs over the sound card)

  • output only

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

(sends coreboot logs over the network)

  • output
Cbmem console

(Ram buffer, like dmesg)

  • output only

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

Other output: