coreboot/payloads/coreinfo
Arthur Heymans 1dfe9dc460 libpayload: Set reasonable arch defaults
This makes it easy to switch between x86_32 and x86_64 in payloads.

Change-Id: I3ac5f24d83dc80db924e92b53403c477e6256c44
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84014
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2024-08-27 09:06:58 +00:00
..
.gitignore coreinfo: Use libpayload's new Makefile.payload 2021-02-07 16:22:56 +00:00
AUTHORS coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
bootlog_module.c payloads/coreinfo: Use C99 flexible arrays 2023-08-01 12:40:59 +00:00
cbfs_module.c payloads/coreinfo: Use C99 flexible arrays 2023-08-01 12:40:59 +00:00
COPYING
coreboot_module.c payloads/coreinfo/coreboot_module.c: Remove 'break' after 'return' 2022-05-16 02:56:31 +00:00
coreinfo.c cbfs: Remove broken remnants of PAYLOAD_INFO feature 2024-03-13 18:51:11 +00:00
coreinfo.h coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
cpuid.S coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
cpuinfo_module.c coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
Kconfig cbfs: Remove broken remnants of PAYLOAD_INFO feature 2024-03-13 18:51:11 +00:00
Makefile libpayload: Set reasonable arch defaults 2024-08-27 09:06:58 +00:00
multiboot_module.c coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
nvram_module.c coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
pci_module.c payloads/coreinfo: Rename pci_scan_bus() 2020-10-20 20:34:35 +00:00
ramdump_module.c coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00
README treewide: Remove trailing whitespace 2021-02-17 17:30:05 +00:00
timestamps_module.c coreinfo: Use SPDX license identifiers 2020-09-14 07:05:27 +00:00

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