coreboot-kgpe-d16/payloads/coreinfo
Yasha Cherikovsky 37f4565b8b coreinfo: Rewrite bootlog_module
The old bootlog_module implementation was completely broken:
- It assumed that the console buffer is located at address 0x90000,
  and of size 64K. It is not correct nowadays.
- It displayed the buffer in a very hacky way, the code was riddled with
  TODOs and FIXMEs. Scrolling had sometimes unexpected behavior.

The new implementation:
- Uses the cbmem console as the source of data.
  It takes the console information from lib_sysinfo of libpayload, which is
  constructed from the coreboot tables (no more hardcoded adressess).
- Properly sanitizes the console buffer for display, which makes
  scolling and display much easier to implement.

Change-Id: I3f87ec920631da2acfd3f52273228703f22f469f
Signed-off-by: Yasha Cherikovsky <yasha.che3@gmail.com>
Reviewed-on: http://review.coreboot.org/12440
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
2015-11-21 18:03:40 +01:00
..
COPYING corinfo: Inital release of the coreinfo code 2008-03-20 00:11:05 +00:00
Kconfig tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Makefile tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
README Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
bootlog_module.c coreinfo: Rewrite bootlog_module 2015-11-21 18:03:40 +01:00
cbfs_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
coreboot_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
coreinfo.c coreinfo: Move screen dimensions to header 2015-11-19 17:32:24 +01:00
coreinfo.h coreinfo: Move screen dimensions to header 2015-11-19 17:32:24 +01:00
cpuid.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cpuinfo_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lar_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
multiboot_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
nvram_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pci_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ramdump_module.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01: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