[U-Boot] [PATCH v3 27/28] riscv: qemu: detect and boot the kernel passed by QEMU
Bin Meng
bmeng.cn at gmail.com
Tue Nov 13 05:57:24 UTC 2018
On Fri, Nov 9, 2018 at 9:00 PM 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. It is used in
> the board-local distro boot command QEMU to boot the kernel with the
> U-Boot device tree. The QEMU boot command is added as the first boot
> target device.
>
> Signed-off-by: Lukas Auer <lukas.auer at aisec.fraunhofer.de>
> ---
>
> Changes in v3:
> - Adapt code and commit message to distro boot
> - Replace printf with debug
> - Clarify debug messages if no chosen node is found
>
> Changes in v2:
> - Rebase onto u-boot-dm/next
> - Boot Linux with the device tree provided by the prior boot stage
>
> board/emulation/qemu-riscv/Kconfig | 1 +
> board/emulation/qemu-riscv/qemu-riscv.c | 29 +++++++++++++++++++++++++
> include/configs/qemu-riscv.h | 10 +++++++++
> 3 files changed, 40 insertions(+)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list