coreboot-kgpe-d16/payloads/coreinfo
Nico Huber bea01e32b2 libpayload: Cache physical location of CBMEM entries
In the presence of self-relocating payloads, it's safer to keep
physical addresses in `libsysinfo`. This updates all the references
to CBMEM entries that are not consumed inside libpayload code.

Change-Id: I3be64c8be8b46d00b457eafd7f80a8ed8e604030
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43580
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2020-08-24 09:13:30 +00:00
..
COPYING
Kconfig treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Makefile payloads/coreinfo: Fix `make clean` 2020-08-18 10:23:55 +00:00
README
bootlog_module.c libpayload: Cache physical cbmem console address 2020-08-24 09:12:47 +00:00
cbfs_module.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
coreboot_module.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
coreinfo.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
coreinfo.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cpuid.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cpuinfo_module.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
multiboot_module.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
nvram_module.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pci_module.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ramdump_module.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
timestamps_module.c libpayload: Cache physical location of CBMEM entries 2020-08-24 09:13:30 +00:00

README

This is a silly little program that demonstrates how cool libpayload is
and also serves a purpose.  It is fun and educational!

Requirements
------------

You should use the coreboot reference cross compiler. If you insist on using
your system compiler, some Linux distributions might require you to install
a package called gcc-multilib if you are on a 64bit system.

Build
-----

You need libpayload to build coreinfo. So, first, you need follow the README of
libpayload to build it but install libpayload into its own directory by doing
this:

 $ make DESTDIR=/path/to/libpayload/install install

Then you can build coreinfo now:

 $ cd coreinfo

 $ make menuconfig
 
 $ make