
22 Oct
2018
22 Oct
'18
11:35 a.m.
On Sat, Oct 20, 2018 at 6:11 AM Lukas Auer lukas.auer@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@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@gmail.com