u-boot-brain/board/emulation/qemu-riscv
Lukas Auer 897206c5cc riscv: qemu: clear kernel-start/-end in device tree as workaround for BBL
QEMU specifies the location of Linux (supplied with the -kernel
argument) in the device tree using the riscv,kernel-start and
riscv,kernel-end properties. We currently rely on the SBI implementation
of BBL to run Linux and therefore embed Linux as payload in BBL. This
causes an issue, because BBL detects the kernel properties in the device
tree and ignores the Linux payload as a result.
Work around this issue by clearing the kernel properties in the device
tree before booting Linux.

Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2018-11-26 13:57:33 +08:00
..
Kconfig riscv: qemu: clear kernel-start/-end in device tree as workaround for BBL 2018-11-26 13:57:33 +08:00
MAINTAINERS riscv: Add QEMU virt board support 2018-10-03 17:48:37 +08:00
Makefile riscv: Add QEMU virt board support 2018-10-03 17:48:37 +08:00
qemu-riscv.c riscv: qemu: clear kernel-start/-end in device tree as workaround for BBL 2018-11-26 13:57:33 +08:00