coreboot-kgpe-d16/util/nvramtool
Stefan Reinauer 764fe40f09 This patch adds "high coreboot table support" to coreboot version 2.
Some bootloaders seem to overwrite memory starting at 0x600, thus destroying
the coreboot table integrity, rendering the table useless.

By moving the table to the high tables area (if it's activated), this problem
is fixed.

In order to move the table, a 40 bytes mini coreboot table with a single sub
table is placed at 0x500/0x530 that points to the real coreboot table. This is
comparable to the ACPI RSDT or the MP floating table.

This patch also adds "table forward" support to flashrom and nvramtool.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>




git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4013 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2009-03-17 14:39:36 +00:00
..
COPYING
ChangeLog Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
DISCLAIMER Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
Makefile Move the nvramtool manpage to section 8 (as it's only really usable as root), 2008-10-31 05:40:04 +00:00
README Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
cmos_lowlevel.c Allow nvramtool to build and work on FreeBSD. Tested on FreeBSD 7. 2008-10-30 15:41:39 +00:00
cmos_lowlevel.h Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
cmos_ops.c Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
cmos_ops.h Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
common.c Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
common.h Allow nvramtool to build and work on FreeBSD. Tested on FreeBSD 7. 2008-10-30 15:41:39 +00:00
compute_ip_checksum.c Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
coreboot_tables.h This patch adds "high coreboot table support" to coreboot version 2. 2009-03-17 14:39:36 +00:00
hexdump.c Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
hexdump.h Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
input_file.c Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
input_file.h Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
ip_checksum.h Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
layout.c Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
layout.h Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
layout_file.c Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
layout_file.h Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
lbtable.c This patch adds "high coreboot table support" to coreboot version 2. 2009-03-17 14:39:36 +00:00
lbtable.h Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
nvramtool.8 Move the nvramtool manpage to section 8 (as it's only really usable as root), 2008-10-31 05:40:04 +00:00
nvramtool.c Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
nvramtool.spec Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
opts.c Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
opts.h Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
reg_expr.c Add string support to nvramtool. 2008-09-27 10:08:28 +00:00
reg_expr.h Add string support to nvramtool. 2008-09-27 10:08:28 +00:00

README

Summary of Operation
--------------------
nvramtool is a utility for reading/writing coreboot parameters and
displaying information from the coreboot table.  It is intended for x86-based
systems (both 32-bit and 64-bit) that use coreboot.

The coreboot table resides in low physical memory, and may be accessed
through the /dev/mem interface.  It is created at boot time by coreboot, and
contains various system information such as the type of mainboard in use.  It
specifies locations in the CMOS (nonvolatile RAM) where the coreboot
parameters are stored.

For information about coreboot, see http://www.coreboot.org/.

Ideas for Future Improvements
-----------------------------
1.  Move the core functionality of this program into a shared library.
2.  Consider adding options for displaying other BIOS-provided information
    such as the MP table, ACPI table, PCI IRQ routing table, etc.