gnuboot/resources/scripts
Alper Nebi Yasak b0aa9e3bc1
build/payload: Add helper script to build U-Boot as payload
This enables building U-Boot for boards which have config files in
resources/u-boot, and copying built files that could be usable to make
coreboot payloads. Right now, there is no such board in this repo.

The most important file here is "u-boot.elf", which is a combination of
the U-Boot binary and the appropriate device-tree file for the board.
Building this needs CONFIG_REMAKE_ELF=y on the U-Boot part, and using
this with CONFIG_PAYLOAD_ELF=y on the coreboot build works fine.

Note that this isn't enough to make U-Boot-only releases, since
low-level prerequisites like arm-trusted-firmware aren't passed in to
the U-Boot build system. Coreboot builds its own copy of TF-A and sets
it up on the board, so using these U-Boot builds as payloads should
still work.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
2023-11-13 16:37:26 +01:00
..
build build/payload: Add helper script to build U-Boot as payload 2023-11-13 16:37:26 +01:00
download download: Use shallow clones for big projects 2023-11-13 16:37:25 +01:00
misc scripts: process git versions when lbmk is a worktree or submodule 2022-03-04 14:14:05 -05:00
modify add scripts for modifying coreboot configs 2021-12-11 14:25:26 +00:00
update update coreboot and nuke tianocore 2021-11-22 10:03:50 +00:00