Coreinfo: Difference between revisions

From coreboot
Jump to navigation Jump to search
m (Add coreinfo screenshots from QEMU.)
(Updates, more info.)
Line 1: Line 1:
'''coreinfo''' is a small informational [[Payloads|payload]] for coreboot. Currently, it can display CPU information, PCI information, and coreboot table information.
'''coreinfo''' is a small informational [[Payloads|payload]] for coreboot. Currently, it can display CPU information, PCI information, coreboot table information, and show a CMOS dump.


== Screenshots ==
== Screenshots ==
Line 14: Line 14:
The coreinfo payload uses [[libpayload]], thus you need to get that first and build it:
The coreinfo payload uses [[libpayload]], thus you need to get that first and build it:


  $ svn://coreboot.org/repos/trunk/payloads/libpayload
  $ svn co svn://coreboot.org/repos/trunk/payloads/libpayload
  $ cd libpayload
  $ cd libpayload
  $ make menuconfig
  $ make menuconfig
Line 22: Line 22:


  $ cd ..
  $ cd ..
  $ svn://coreboot.org/repos/trunk/payloads/coreinfo
  $ svn co svn://coreboot.org/repos/trunk/payloads/coreinfo
  $ cd coreinfo
  $ cd coreinfo
  $ make menuconfig
  $ make menuconfig
  $ make
  $ make


The file '''build/coreinfo.elf''' is your final coreinfo payload which you can use with coreboot.
The file '''build/coreinfo.elf''' is your final coreinfo payload which you can use with coreboot (v2 or v3), either on real hardware or in a QEMU image, e.g. like this:


$ qemu -L build -hda /dev/zero -serial stdio
(where '''build/bios.bin''' is your coreboot v3 image in this case)


{{PD-self}}
{{PD-self}}

Revision as of 15:26, 28 March 2008

coreinfo is a small informational payload for coreboot. Currently, it can display CPU information, PCI information, coreboot table information, and show a CMOS dump.

Screenshots

Downloading and building coreinfo

The coreinfo payload uses libpayload, thus you need to get that first and build it:

$ svn co svn://coreboot.org/repos/trunk/payloads/libpayload
$ cd libpayload
$ make menuconfig
$ make

You can then get coreinfo itself and build it:

$ cd ..
$ svn co svn://coreboot.org/repos/trunk/payloads/coreinfo
$ cd coreinfo
$ make menuconfig
$ make

The file build/coreinfo.elf is your final coreinfo payload which you can use with coreboot (v2 or v3), either on real hardware or in a QEMU image, e.g. like this:

$ qemu -L build -hda /dev/zero -serial stdio

(where build/bios.bin is your coreboot v3 image in this case)

Public domain I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.

In case this is not legally possible:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.