coreboot-kgpe-d16/payloads/coreinfo
Gabe Black 0af03d24f8 Refactor the endianness conversion functions and header files.
The endianness of an architecture is now set up automatically using Kconfig
and some common code. The available conversion functions were also expanded
to go to or from a particular endianness. Those use the abbreviation le or be
for little or big endian.

Built for Stumpy and saw coreinfo cbfs support work which uses network
byte order. Used the functions which convert to little endian to implement an
AHCI driver. The source arch is also little endian, so they were effectively
(and successfully) inert.

Change-Id: I3a2d2403855b3e0e93fa34f45e8e542b3e5afeac
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://review.coreboot.org/1719
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2012-11-08 19:49:51 +01:00
..
util/kconfig Respect linker order 2011-12-21 16:27:01 +01:00
COPYING corinfo: Inital release of the coreinfo code 2008-03-20 00:11:05 +00:00
Kconfig Change default path and configuration for Coreinfo. 2010-08-05 14:41:29 +00:00
Makefile Change default path and configuration for Coreinfo. 2010-08-05 14:41:29 +00:00
README Add build instructions for coreinfo, specially pointing out installing 2011-04-01 00:39:07 +00:00
bootlog_module.c Do not try to display non-printable characters on the bootlog and 2008-09-30 06:13:54 +00:00
cbfs_module.c Refactor the endianness conversion functions and header files. 2012-11-08 19:49:51 +01:00
coreboot_module.c coreinfo: fix build error (TRIVIAL) 2012-08-15 14:06:07 +02:00
coreinfo.c Add initial support for a CBFS module for coreinfo. 2009-07-07 15:10:13 +00:00
coreinfo.h Add support for an "NVRAM Dump" screen in coreinfo (optional), as well as for 2008-03-31 20:30:18 +00:00
cpuid.S Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
cpuinfo_module.c coreinfo: Move the rdtsc.h include into the #ifdef CONFIG_MODULE_CPUINFO 2008-05-06 21:32:52 +00:00
lar_module.c This patch updates coreinfo to use the ACS_ macros for line graphics. 2008-08-11 20:35:32 +00:00
multiboot_module.c [PATCH] coreinfo: Add multiboot parsing support 2008-11-11 19:53:42 +00:00
nvram_module.c This patch updates coreinfo to use the ACS_ macros for line graphics. 2008-08-11 20:35:32 +00:00
pci_module.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
ramdump_module.c Update Coreinfo to use TAG_FORWARD in tables. 2009-08-24 15:25:11 +00:00

README

This is a silly little program that demonstrates how cool libpayload is
and also serves a purpose.  Its 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