nuttx/arch
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
..
arm CMake: arm/armv8-r: init armv8-r cmake build 2024-01-15 00:46:52 -08:00
arm64 docs/comments: fix some typos 2024-01-15 13:22:13 +08:00
avr arch/dumponexit: unify dump on exit to common code 2023-11-15 08:28:25 -08:00
ceva docs/comments: fix some typos 2024-01-15 13:22:13 +08:00
dummy
hc arch/dumponexit: unify dump on exit to common code 2023-11-15 08:28:25 -08:00
mips Update kconfig2html.c 2023-12-14 20:02:52 -08:00
misoc netdev/ipv6: Move xxx_ipv6multicast from arch to common code 2023-12-16 05:26:16 -08:00
or1k arch/dumponexit: unify dump on exit to common code 2023-11-15 08:28:25 -08:00
renesas docs/comments: fix some typos 2024-01-15 13:22:13 +08:00
risc-v risc-v/k230: add NUTTSBI based kernel build support 2024-01-17 10:31:29 -03:00
sim cmake: fix CONFIG_HAVE_CXXINITIALIZE on macOS 2024-01-06 04:21:52 -08:00
sparc Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
x86 tcbinfo:remove total_num form tcbinfo. 2023-11-21 21:52:24 -08:00
x86_64 tcbinfo:remove total_num form tcbinfo. 2023-11-21 21:52:24 -08:00
xtensa esp32s3/spi: Add SPI bus init in bringup and fix SPI bus 2 and 3 conflict 2024-01-17 09:29:20 -03:00
z16 docs/comments: fix some typos 2024-01-15 13:22:13 +08:00
z80 docs/comments: fix some typos 2024-01-15 13:22:13 +08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig arch/risc-v: add ARCH_QPFPU for Quad-Precision Floating-Point 2024-01-15 22:31:39 -08:00