Cbmem console: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 9: | Line 9: | ||
Note that it can fails to compile if that is not supported either for your device. | Note that it can fails to compile if that is not supported either for your device. | ||
Then select Send console output to a CBMEM buffer like explained before. | Then select Send console output to a CBMEM buffer like explained before. | ||
=== Runtime === | |||
* coreboot's cbmem uttility can read that buffer: | |||
sudo cbmem -c | |||
* grub from bzr is also able to read the cbmem buffer. | |||
== Disavantages == | |||
* require a booted computer | |||
* Logs are often incomplete: part of the logs are replaced with: | |||
*** Log truncated, 348 characters dropped. *** |
Revision as of 18:01, 5 June 2013
Howto
Coreboot configuration
If your hardware supports early cbmem console you should see the following in "Console --->" after making make menuconfig
[*] Send console output to a CBMEM buffer (0x10000) Room allocated for console output in CBMEM (0xc00) Room allocated for console output in Cache as RAM
Else you may try to select the following configuration option in "General setup --->"
[*] The CBMEM space is dynamically grown. Note that it can fails to compile if that is not supported either for your device. Then select Send console output to a CBMEM buffer like explained before.
Runtime
- coreboot's cbmem uttility can read that buffer:
sudo cbmem -c
- grub from bzr is also able to read the cbmem buffer.
Disavantages
- require a booted computer
- Logs are often incomplete: part of the logs are replaced with:
*** Log truncated, 348 characters dropped. ***