nuttx/boards/risc-v
Inochi Amaoto 49b3f52db1 arch/riscv/qemu-rv: replace M-mode init code with SBI in kernel build
The qemu-rv use a small init code for M mode in kernel build.
It is hard-coding and is difficult to change. Due to the fact,
introduce a already mature SBI implement (e.g OpenSBI) to
replace existing code is a better choice.

This patch introduce some change for qemu-rv:
1. use SSTC to provide time interrupt in kernel build
2. remove uncessary M mode trap.

For simplicity, this patch does not add support for booting
nuttx for any core, but force boot core to start core 0 and
let core 0 do the initialization.

Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
2024-04-27 22:09:22 -03:00
..
bl602/bl602evb xmc4/spi: fix typo 2023-11-30 06:16:09 -08:00
bl808/ox64 arch/risc-v: introduce dynamic stack allocation. 2024-04-27 22:09:22 -03:00
c906/smartl-c906 Documentation: migrate the rest boards 2023-10-26 18:13:34 -03:00
esp32c3 esp32[c3|h2|c6]: Bugfixes for filesystem errors 2024-04-09 10:48:40 +08:00
esp32c3-legacy fix nxstyle 2024-04-16 19:09:12 +08:00
esp32c6 esp32[c3|h2|c6]: Bugfixes for filesystem errors 2024-04-09 10:48:40 +08:00
esp32h2 fix nxstyle 2024-04-16 19:09:12 +08:00
fe310/hifive1-revb boards: Fix board configs after disabling NSH_DISABLE_HELP 2024-04-04 12:27:03 +08:00
hpm6000/hpm6360evk fix nxstyle 2024-04-16 19:09:12 +08:00
hpm6750/hpm6750evk2 boards: Fix board configs after disabling NSH_DISABLE_HELP 2024-04-04 12:27:03 +08:00
jh7110/star64 arch/risc-v: introduce dynamic stack allocation. 2024-04-27 22:09:22 -03:00
k210/maix-bit arch/risc-v: introduce dynamic stack allocation. 2024-04-27 22:09:22 -03:00
k230/canmv230 arch/risc-v: introduce dynamic stack allocation. 2024-04-27 22:09:22 -03:00
litex/arty_a7 Fix Kconfig style 2023-11-08 22:58:26 +08:00
mpfs arch: Remove the identity mapping of up_addrenv_va_to_pa and up_addrenv_pa_to_va 2024-02-04 09:54:05 +01:00
qemu-rv/rv-virt arch/riscv/qemu-rv: replace M-mode init code with SBI in kernel build 2024-04-27 22:09:22 -03:00
rv32m1/rv32m1-vega Documentation: migrate the rest boards 2023-10-26 18:13:34 -03:00