commit | 8bf47998f1a86558d3f29d27d73e58777e2c3184 | [log] [tgz] |
---|---|---|
author | Raul E Rangel <rrangel@chromium.org> | Mon Mar 02 23:43:22 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Mar 04 02:05:53 2020 |
tree | 408b51fb2e047409e6e48578051b63bd0c6a1b5c | |
parent | 1e0da58476e389c4b82b7c1bcacd3d5272adbd06 [diff] |
HACK: Add script to build an image without portage This script allows building a mandolin, trembyle, etc rom without portage. This script must be run inside the chroot and from the coreboot-zork directory. Usage: ./build-fast trembyle mandolin-hardcore *** Built /tmp/coreboot/trembyle/image-trembyle.serial.bin *** *** Built /tmp/coreboot/mandolin-hardcore/image-mandolin-hardcore.serial.bin *** The script utilizes a cache located in /tmp/coreboot so repeat builds don't have to start from scratch. ./build-fast trembyle real 0m4.420s user 0m3.235s sys 0m2.785s BUG=none BRANCH=none TEST=Built a mandolin rom and trembyle rom. Verified trembyle rom boots to OS. Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I7dff8620705070b594a0ab67f37ab1900192357b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/2083901 Reviewed-by: Martin Roth <martinroth@google.com>
coreboot is a Free Software project aimed at replacing the proprietary BIOS (firmware) found in most computers. coreboot performs a little bit of hardware initialization and then executes additional boot logic, called a payload.
With the separation of hardware initialization and later boot logic, coreboot can scale from specialized applications that run directly firmware, run operating systems in flash, load custom bootloaders, or implement firmware standards, like PC BIOS services or UEFI. This allows for systems to only include the features necessary in the target application, reducing the amount of code and flash space required.
coreboot was formerly known as LinuxBIOS.
After the basic initialization of the hardware has been performed, any desired “payload” can be started by coreboot.
See https://www.coreboot.org/Payloads for a list of supported payloads.
coreboot supports a wide range of chipsets, devices, and mainboards.
For details please consult:
ANY_TOOLCHAIN
Kconfig option if you’re feeling lucky (no support in this case).Optional:
make menuconfig
and make nconfig
)Please consult https://www.coreboot.org/Build_HOWTO for details.
If you want to test coreboot without any risks before you really decide to use it on your hardware, you can use the QEMU system emulator to run coreboot virtually in QEMU.
Please see https://www.coreboot.org/QEMU for details.
Further details on the project, a FAQ, many HOWTOs, news, development guidelines and more can be found on the coreboot website:
You can contact us directly on the coreboot mailing list:
https://www.coreboot.org/Mailinglist
The copyright on coreboot is owned by quite a large number of individual developers and companies. Please check the individual source files for details.
coreboot is licensed under the terms of the GNU General Public License (GPL). Some files are licensed under the “GPL (version 2, or any later version)”, and some files are licensed under the “GPL, version 2”. For some parts, which were derived from other projects, other (GPL-compatible) licenses may apply. Please check the individual source files for details.
This makes the resulting coreboot images licensed under the GPL, version 2.