[U-Boot] [PATCH 0/3] RISC-V S-mode support
Anup Patel
anup at brainfault.org
Tue Nov 20 09:14:16 UTC 2018
This patchset allows us runing u-boot in S-mode.
This is particularly useful on platforms where M-mode
runtime firmware is an independent firmware and u-boot
is used as last stage OS bootloader.
The patchset is tested on QEMU in both M-mode and S-mode.
Anup Patel (3):
riscv: Add kconfig option to run u-boot in S-mode
riscv: qemu: Use different SYS_TEXT_BASE for S-mode
riscv: Add S-mode defconfigs for QEMU virt machine
arch/riscv/Kconfig | 6 ++++++
arch/riscv/cpu/start.S | 31 ++++++++++++++++++++++++++++
board/emulation/qemu-riscv/Kconfig | 3 ++-
configs/qemu-riscv32-smode_defconfig | 7 +++++++
configs/qemu-riscv64-smode_defconfig | 8 +++++++
5 files changed, 54 insertions(+), 1 deletion(-)
create mode 100644 configs/qemu-riscv32-smode_defconfig
create mode 100644 configs/qemu-riscv64-smode_defconfig
--
2.17.1
More information about the U-Boot
mailing list