Thank very much guys !
Please, I've understood the use of cbmem, however, my question is: how can I read this log from the operating system ? That is, my PC has finished to boot and Linux has taken the control of the machine. In this situation I want to read the coreboot bios log. Is it possible this? How can I do ? Which linux command I need to use to read it ? Or where this log is stored in the filesystem ?
Thanks in advance,
Vincenzo.
Forensic Consultant Tribunale di Lecce
Studio: Strada di Garibaldi - Contrada Paradisi 73010 Lequile (LE)
cell: 339.7968555 skype: vincenzo.di_salvo
----Messaggio originale----
Da: felix@feldspaten.org
Data: 23-nov-2017 8.34
A: "ingegneriaforense@alice.it"ingegneriaforense@alice.it, coreboot@coreboot.org
Ogg: Re: [coreboot] BIOS log in coreboot
Hi Vincenzo,
I had the same issue just a day ago and solved it with cbmem When building coreboot, make sure you have selected the "Send console output to a CBMEM buffer"-option (Run `make menuconfig` and select `Console`) and then use the `cbmem` tool (in `util/cbmem` in the coreboot git repo)
Have a look at the following page https://www.coreboot.org/Cbmem_console
Greetings, Felix
On 22/11/17 19:09, ingegneriaforense@alice.it wrote:
Hello Guys !
I apologize with you if my question seems silly:
can you tell me if Coreboot stores a log of the POST phase in its EPROM memory ?
If so, is it possible to retrive the log by the Operative System and read it ?
Thanks in advance.
Vincenzo.
Forensic Consultant
Tribunale di Lecce
Studio: Strada di Garibaldi - Contrada Paradisi
73010 Lequile (LE)
cell: 339.7968555
skype: vincenzo.di_salvo
Hi Vincenzo,
The command is called "cbmem" and it may be part of a coreboot-utils package in distro or failing that you can use it from the utils directory from git cloned coreboot.
Regards,
John.
November 23, 2017 1:16 PM, ingegneriaforense@alice.it (mailto:ingegneriaforense@alice.it) wrote: Thank very much guys !
Please, I've understood the use of cbmem, however, my question is: how can I read this log from the operating system ? That is, my PC has finished to boot and Linux has taken the control of the machine. In this situation I want to read the coreboot bios log. Is it possible this? How can I do ? Which linux command I need to use to read it ? Or where this log is stored in the filesystem ?
Thanks in advance,
Vincenzo. Forensic Consultant Tribunale di Lecce
Studio: Strada di Garibaldi - Contrada Paradisi 73010 Lequile (LE)
cell: 339.7968555 skype: vincenzo.di_salvo ----Messaggio originale---- Da: felix@feldspaten.org (mailto:felix@feldspaten.org) Data: 23-nov-2017 8.34 A: "ingegneriaforense@alice.it (mailto:ingegneriaforense@alice.it)", Ogg: Re: [coreboot] BIOS log in coreboot Hi Vincenzo,
I had the same issue just a day ago and solved it with cbmem When building coreboot, make sure you have selected the "Send console output to a CBMEM buffer"-option (Run `make menuconfig` and select `Console`) and then use the `cbmem` tool (in `util/cbmem` in the coreboot git repo)
Have a look at the following page https://www.coreboot.org/Cbmem_console (https://www.coreboot.org/Cbmem_console)
Greetings, Felix On 22/11/17 19:09, ingegneriaforense@alice.it (javascript:false) wrote:
Hello Guys !
I apologize with you if my question seems silly:
can you tell me if Coreboot stores a log of the POST phase in its EPROM memory ?
If so, is it possible to retrive the log by the Operative System and read it ?
Thanks in advance.
Vincenzo.
Forensic Consultant Tribunale di Lecce
Studio: Strada di Garibaldi - Contrada Paradisi 73010 Lequile (LE)
cell: 339.7968555 skype: vincenzo.di_salvo
I believe you also need iomem=relaxed in the kernel command line with newer kernels.
with the right kernel configs the firmware log contents can be seen in /sys/firmware/log after Linux has booted up.
-vb
On Thu, Nov 23, 2017 at 5:12 AM, ingegneriaforense@alice.it < ingegneriaforense@alice.it> wrote:
Thank very much guys !
Please, I've understood the use of cbmem, however, my question is: how can I read this log from the operating system ? That is, my PC has finished to boot and Linux has taken the control of the machine. In this situation I want to read the coreboot bios log. Is it possible this? How can I do ? Which linux command I need to use to read it ? Or where this log is stored in the filesystem ?
Thanks in advance,
Vincenzo.
Forensic Consultant Tribunale di Lecce
Studio: Strada di Garibaldi - Contrada Paradisi 73010 Lequile (LE)
cell: 339.7968555 <(339)%20796-8555> skype: vincenzo.di_salvo
----Messaggio originale---- Da: felix@feldspaten.org Data: 23-nov-2017 8.34 A: "ingegneriaforense@alice.it"ingegneriaforense@alice.it, < coreboot@coreboot.org> Ogg: Re: [coreboot] BIOS log in coreboot
Hi Vincenzo,
I had the same issue just a day ago and solved it with cbmem When building coreboot, make sure you have selected the "Send console output to a CBMEM buffer"-option (Run `make menuconfig` and select `Console`) and then use the `cbmem` tool (in `util/cbmem` in the coreboot git repo)
Have a look at the following page https://www.coreboot.org/Cbmem_console
Greetings, Felix
On 22/11/17 19:09, ingegneriaforense@alice.it wrote:
Hello Guys !
I apologize with you if my question seems silly:
can you tell me if Coreboot stores a log of the POST phase in its EPROM memory ?
If so, is it possible to retrive the log by the Operative System and read it ?
Thanks in advance.
Vincenzo.
Forensic Consultant Tribunale di Lecce
Studio: Strada di Garibaldi - Contrada Paradisi 73010 Lequile (LE)
cell: 339.7968555 <(339)%20796-8555> skype: vincenzo.di_salvo
-- coreboot mailing list: coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot