summaryrefslogtreecommitdiff
path: root/resources/scripts/build/boot
diff options
context:
space:
mode:
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>2022-08-26 13:27:23 +0300
committerAlper Nebi Yasak <alpernebiyasak@gmail.com>2022-08-28 13:09:52 +0300
commit1dc05e4066c4984df4a16e17177cb0e4b26bab7b (patch)
tree7202b6145f69368ac6c27e88d4d51d6a4f5ec84b /resources/scripts/build/boot
parentcf295741650aaffcb03866ab15a0c7175c3dc882 (diff)
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>
Diffstat (limited to 'resources/scripts/build/boot')
0 files changed, 0 insertions, 0 deletions