nuttx/boards/risc-v
Yanfeng Liu 87c9a0ee76 risc-v/k230: add NUTTSBI based kernel build support
Previously k230 kernel build needs OpenSBI wrapping for use on
target, thus leading to larger program and memory overheads.
This patch adds alternative small overhead kernel build support.

Changes:

- in arch/risc-v/src/k230:
  - k230_head.S          entrance renamed for sake of NUTTSBI
  - k230_irq.c           add M-mode handling for NUTTSBI case
  - k230_mm_init.c       add L3 table for smaller RAM case
  - hardware/k230_plic.h add PLIC_CTRL definition
  - Make.defs            use CHIP_ASRCS to fix entrance selection
- in boards/risc-v/canmv230/scripts:
  - Make.defs            add support for NUTTSBI case

Additions:

- in boards/riscv/canmv230/:
  - scripts/ld-nuttsbi.script  link script for NUTTSBI case
  - configs/nsbi/defconfig     config for NUTTSBI case

The artifact nuttx.bin from this configuration can be used directly
on target as OpenSBI wrapping is not needed.

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>

fix typo
2024-01-17 10:31:29 -03:00
..
bl602/bl602evb xmc4/spi: fix typo 2023-11-30 06:16:09 -08:00
bl808/ox64 boards/riscv: Add support for PINE64 Ox64 BL808 SBC 2023-12-15 18:52:16 -08:00
c906/smartl-c906 Documentation: migrate the rest boards 2023-10-26 18:13:34 -03:00
esp32c3 sched: move etc romfs mount from nsh to sched/init 2024-01-09 21:29:46 -03:00
esp32c6 build: Replace "$(shell $(INCDIR) $(CC) ...)" with $(INCDIR_PREFIX) 2023-06-23 00:11:25 +03:00
espressif risc-v/esp32c6: Add ostest defconfig 2023-12-18 11:10:53 -08:00
fe310/hifive1-revb Documentation: migrate the rest boards 2023-10-26 18:13:34 -03:00
hpm6750/hpm6750evk2 Documentation: migrate the rest boards 2023-10-26 18:13:34 -03:00
jh7110/star64 Run refresh.sh to update all board configs 2023-09-02 14:45:44 +08:00
k210/maix-bit Documentation: migrate the rest boards 2023-10-26 18:13:34 -03:00
k230/canmv230 risc-v/k230: add NUTTSBI based kernel build support 2024-01-17 10:31:29 -03:00
litex/arty_a7 Fix Kconfig style 2023-11-08 22:58:26 +08:00
mpfs rptun: Select OPENMAP under RPTUN 2023-12-28 11:08:57 +08:00
qemu-rv/rv-virt risc-v/rv-virt: use fully linked apps for kernel build 2024-01-11 00:51:07 -08:00
rv32m1/rv32m1-vega Documentation: migrate the rest boards 2023-10-26 18:13:34 -03:00