diff options
author | Alper Nebi Yasak <alpernebiyasak@gmail.com> | 2023-10-13 22:41:15 +0300 |
---|---|---|
committer | Alper Nebi Yasak <alpernebiyasak@gmail.com> | 2023-10-14 16:48:41 +0300 |
commit | eb267733fabe6c773720706539ef37f1ce591f81 (patch) | |
tree | 3307f4a5cb385e4ce20a47432fe22533815fc24b /config/coreboot/t440pmrc_12mb | |
parent | 65af756fc33ce1a8960c690e681d12ebeef20750 (diff) |
build/fw/coreboot: Fix misuse of raw u-boot.bin as payload
The "u-boot.bin" file generated by U-Boot builds is a raw binary. When
adding payloads to a CBFS, we need to use ELF files with add-payload
or manually pass the entry point and load address of the payload binary
with add-flat-binary.
We primarily use the "u-boot.elf" which gets build with the REMAKE_ELF
option, as it also has the necessary device-tree binary that U-Boot
usually needs to work. When the option is not set (e.g. for QEMU), we
need to use the "u-boot" file which is an ELF.
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Diffstat (limited to 'config/coreboot/t440pmrc_12mb')
0 files changed, 0 insertions, 0 deletions