[U-Boot] [RFC PATCH 10/11] riscv: qemu: add SPL configuration

Bin Meng bmeng.cn at gmail.com
Tue Jul 23 08:36:27 UTC 2019


On Mon, Jul 22, 2019 at 2:01 AM Lukas Auer
<lukas.auer at aisec.fraunhofer.de> wrote:
>
> Add two new configurations (qemu-riscv{32,64}_spl_defconfig) with SPL
> enabled for RISC-V QEMU. QEMU does not require SPL to run U-Boot. The
> configurations are meant to help the development of SPL on RISC-V.
>
> The configurations enable RAM as the only SPL boot device. Images must
> be loaded at address 0x80200000. In the default boot flow, U-Boot SPL
> starts in machine mode, loads the OpenSBI FW_DYNAMIC firmware and U-Boot
> proper from the supplied FIT image, and starts OpenSBI. U-Boot proper is
> then started in supervisor mode by OpenSBI.
>
> Signed-off-by: Lukas Auer <lukas.auer at aisec.fraunhofer.de>
> ---
>
>  board/emulation/qemu-riscv/Kconfig      | 10 ++++++++++
>  board/emulation/qemu-riscv/MAINTAINERS  |  2 ++
>  board/emulation/qemu-riscv/qemu-riscv.c | 17 +++++++++++++++++
>  configs/qemu-riscv32_spl_defconfig      | 11 +++++++++++
>  configs/qemu-riscv64_spl_defconfig      | 12 ++++++++++++
>  include/configs/qemu-riscv.h            | 14 ++++++++++++++
>  6 files changed, 66 insertions(+)
>  create mode 100644 configs/qemu-riscv32_spl_defconfig
>  create mode 100644 configs/qemu-riscv64_spl_defconfig
>

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


More information about the U-Boot mailing list