[coreboot] Coreboot+SeaBios Boot speed: ~12sec till GRUB Boot Screen

Paul Menzel paulepanter at users.sourceforge.net
Tue Sep 26 08:41:21 CEST 2017


Dear 17299,


Am Montag, den 25.09.2017, 20:37 -0400 schrieb One7two99 via coreboot:

> -------- Original Message --------
> Subject: Re: [coreboot] Coreboot+SeaBios Boot speed: ~12sec till Grub Boot Screen
> Local Time: 25 September 2017 9:17 AM
> From: paulepanter at users.sourceforge.net
> 
> > > First, please just sent plain text messages to mailing lists.
> 
> ok, I'll try

Your reply still contained an HTML part. :(

> > > 1. Your coreboot configuration (`.config`).
> 
> See attached.
> 
> > > 2. The output of `build/cbfstool build/coreboot.rom print`.
> 
> ./coreboot/build/cbfstool ./coreboot/build/coreboot.rom print
> 
> Name                           Offset     Type         Size
> cbfs master header             0x0        cbfs header  32
> fallback/romstage              0x80       stage        81604
> config                         0x13fc0    raw          641
> revision                       0x14280    raw          570
> cmos.default                   0x14500    cmos_default 256
> cmos_layout.bin                0x14640    cmos_layout  1804
> fallback/dsdt.aml              0x14dc0    raw          13643
> payload_config                 0x18380    raw          1611
> payload_revision               0x18a40    raw          237
> etc/ps2-keyboard-spinup        0x18b80    raw          8
> (empty)                        0x18bc0    null         29400
> mrc.cache                      0x1fec0    mrc_cache    65536
> fallback/ramstage              0x2ff00    stage        79642
> pci8086,0166.rom               0x43680    optionrom    65536
> img/coreinfo                   0x53700    payload      1150904
> fallback/payload               0x16c700   payload      67051
> (empty)                        0x17cd40   null         2631064
> bootblock                      0x3ff300   bootblock    3000
> 
> > > 3. Build the utility cbmem with `make -C util/cbmem`.
> 
> ok, done.
> 
> > > 4. The output of `./util/cbmem/cbmem -c`.
> > > 5. The output of `./util/cbmem/cbmem -t`.
> 
> both commands fail with "Failed to gain memory access: Permission denied"

I assume, you ran this with administrator privileges. But, newer Linux
kernels forbid access to that region.

In recent Linux kernels, there is a module for that.

`sudo modprobe memconsole_coreboot` should load it, and then the logs
should be available under `/sys/firmware/log`.

If you don’t have that, please pass the parameter `iomem=relaxed` to
the Linux kernel. For example, by pressing `e` in the GRUB menu.

[…]


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20170926/128edfa7/attachment.asc>


More information about the coreboot mailing list