Ticket #76 (new enhancement)

Opened 22 months ago

Last modified 8 months ago

coreboot messages should be accessible in dmesg

Reported by: stepan Owned by: rminnich
Priority: major Milestone: Setting up coreboot v3
Component: coreboot Version: v3
Keywords: Cc:
Dependencies: Patch Status: there is no patch

Description

The LinuxBIOS messages should be written to a log buffer so they can be read from Linux' dmesg command.

Attachments

Change History

Changed 9 months ago by uwe

Untested yet by me, but it looks like this is (partly?) implemented in r590.

Changed 9 months ago by hailfinger

  • type changed from defect to enhancement

I implemented the buffer in r590, but the payload has to know a hardcoded buffer address to read the message buffer. There is no explicit mechanism for passing the log buffer address to a payload.

Changed 9 months ago by anonymous

No. The code in r590 only creates infrastructure within coreboot. Someone on the uboot mailing list stated that you have to change the linux kernel to know where to look for the buffer (and potentially check the format, not sure). This (at least a pointer to the log) should be passed in the coreboot table.

Changed 9 months ago by uwe

  • summary changed from LinuxBIOS messages should be accessible in dmesg to coreboot messages should be accessible in dmesg

FYI, I'll add a coreinfo module which can display (and scroll through) the coreboot "dmesg buffer" as part of GSoC (if I'll get accepted). Actually, that code is pretty much finished already and works quite nicely (hardcodes the buffer address in RAM though). Will post a patch when GSoC officially started.

I haven't done any work on using it from _Linux_, though.

Changed 8 months ago by uwe

Done, that module is in coreinfo now.

Add/Change #76 (coreboot messages should be accessible in dmesg)

Author



Action
as new
 
Note: See TracTickets for help on using tickets.