On Tue, Oct 30, 2018 at 8:57 PM Lukas Auer
<lukas.a...@aisec.fraunhofer.de> wrote:
>
> 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.a...@aisec.fraunhofer.de>
> ---
>
> Changes in v2:
> - New patch
>
>  board/emulation/qemu-riscv/Kconfig      |  1 +
>  board/emulation/qemu-riscv/qemu-riscv.c | 39 +++++++++++++++++++++++++
>  2 files changed, 40 insertions(+)
>

Reviewed-by: Bin Meng <bmeng...@gmail.com>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to