Coreboot debugging, configuration, tint, etc.

Coreboot provides a lot of possibilities of configurations, primary and secondary payloads and debugging mechanisms.

In the coreboot git make the following configuration.

$ make menuconfig
$ touch bootorder.txt

General setup




Generic Drivers


System tables


Secondary Payloads


To get necessary information to set the boot order. The cbmem tool is used to read the debug information after the coreboot has booted on the device.
Change to the util/cbmem in the coreboot git. (See previous post)

$ cd ~/coreboot/util/cbmem

Build the tool.


Read from the debug messages and grep for bootorder entries.

sudo ./cbmem -c | grep bootorder -A 1
Searching bootorder for: /pci@i0cf8/pci-bridge@1c/*@0
Found 0 lpt ports
Searching bootorder for: /rom@img/tint
Searching bootorder for: /rom@img/coreinfo
Discarding ps2 data 0f (status=11)
Searching bootorder for: /pci@i0cf8/*@1f,2/drive@1/disk@0
AHCI/1: registering: "DVD/CD [AHCI/1: PLDS DVD-RW DS8A8SH ATAPI-8 DVD/CD]"
Searching bootorder for: /pci@i0cf8/usb@1d/hub@1/storage@1/*@0/*@0,0
Searching bootorder for: /pci@i0cf8/usb@1d/hub@1/usb-*@1
Searching bootorder for: /pci@i0cf8/*@1f,2/drive@0/disk@0
AHCI/0: Set transfer mode to UDMA-6
Searching bootorder for: HALT

Insert the following to the bootorder.txt and include it in the build process (see make menuconfig).


Tint as a secondary payload

Leave a Reply

Your email address will not be published. Required fields are marked *


5 − one =

This site uses Akismet to reduce spam. Learn how your comment data is processed.