]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Add a 64-bit 'coreboot64' build
authorSimon Glass <sjg@chromium.org>
Fri, 1 May 2020 13:36:10 +0000 (07:36 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 4 May 2020 07:28:28 +0000 (15:28 +0800)
commitcff6406bc2330876929f68c6bbd51dc2afc04993
tree50ff767d8d52438b551ae11641c9d42d4274ea36
parent10118680ad610598170255603d9d66ef02ea39ab
x86: Add a 64-bit 'coreboot64' build

Coreboot is a first-stage bootloader mostly used on x86 devices as an
alternative to UEFI. Coreboot runs in 32-bit mode.

U-Boot currently supports booting from coreboot as a second-stage
bootloader, also in 32-bit mode. However it is useful to be able to run
U-Boot in 64-bit mode. To do this we can have a 32-bit SPL which switches
over the CPU and jumps to a 64-bit U-Boot proper.

Add a new 'coreboot64' board for running 64-bit U-Boot from coreboot. This
uses binman to create an image with a 32-bit SPL and a 64-bit U-Boot.

This allows running 64-bit EFI images on x86, for example, without needing
a native U-Boot port for a board.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
board/coreboot/coreboot/MAINTAINERS
configs/coreboot64_defconfig [new file with mode: 0644]
doc/board/coreboot/coreboot.rst