[U-Boot] [PATCH 30/30] riscv: qemu: detect and boot the kernel passed by QEMU

Bin Meng bmeng.cn at gmail.com
Mon Oct 22 09:35:37 UTC 2018


On Sat, Oct 20, 2018 at 6:11 AM Lukas Auer
<lukas.auer at aisec.fraunhofer.de> wrote:
>
> QEMU embeds the location of the kernel image in the device tree. Store
> this address in the environment as variable kernel_start and use it in
> CONFIG_BOOTCOMMAND to boot the kernel.
>
> Signed-off-by: Lukas Auer <lukas.auer at aisec.fraunhofer.de>
> ---
>
>  board/emulation/qemu-riscv/Kconfig      |  1 +
>  board/emulation/qemu-riscv/qemu-riscv.c | 30 +++++++++++++++++++++++++
>  configs/qemu-riscv32_defconfig          |  1 +
>  configs/qemu-riscv64_defconfig          |  1 +
>  include/configs/qemu-riscv.h            |  7 ++++++
>  5 files changed, 40 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list