incubator-nuttx/boards/risc-v
Yanfeng Liu ea8682572c build/cmake: add initial KERNEL mode support
Currently only FLAT mode development can enjoy cmake build system. This
patch tries to add initial kernel mode support. It can build NuttX kernel
and libproxies.a, the latter will be further checked though.

This can already help to build an AMP remote node image as it can share
userland apps living in the AMP master node.

Major changes:

- in top folder:
  - CMakeLists.txt    adjust for KERNEL mode, separate from PROTECTED mode.
- in `syscall`:
  - CMakeLists.txt    add mksyscall target for stubs/proxies generation
- in `syscall/stubs`:
  - CMakeLists.txt    use dependency to mksyscall
- in `syscall/proxies`:
  - CMakeLists.txt    use dependency to mksyscall
- in `arch`:
  - CMakeLists.txt    separate KERNEL from PROTECTED mode.
- in `arch/risc-v/src`:
  - CMakeLists.txt    separate from PROTECTED mode, add sub folders.
- in `arch/risc-v/common`:
  - CMakeLists.txt    add sources and sub-folders for KERNEL mode.
- in `arch/risc-v/k230`:
  - CMakeLists.txt    add sources for KERNEL mode.
- in `boards/risc-v/k230/canmv230/src`:
  - CMakeLists.txt    adjust k230 specific scripts for kernel mode.

New additions:

- in `arch/risc-v/src/nuttsbi/`           add CMakeLists.txt
- in `arch/risc-v/src/common/supervisor/` add CMakeLists.txt

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-03-15 16:21:23 +08:00
..
bl602/bl602evb xmc4/spi: fix typo 2023-11-30 06:16:09 -08:00
bl808/ox64 risc-v/bl808: Flush MMU Cache after updating SATP 2024-01-23 01:25:20 -08:00
c906/smartl-c906 Documentation: migrate the rest boards 2023-10-26 18:13:34 -03:00
esp32c3 boards/esp32c6: Remove sotest config for esp32c6 2024-03-06 00:49:50 +08:00
esp32c3-legacy boards/esp32c6: Remove sotest config for esp32c6 2024-03-06 00:49:50 +08:00
esp32c6 esp32c6/scripts: Add simpleboot support for esp32c6 2024-03-09 11:53:47 +08:00
esp32h2 esp32h2/scripts: Add simpleboot support for esp32h2 2024-03-09 11:53:47 +08:00
fe310/hifive1-revb Documentation: migrate the rest boards 2023-10-26 18:13:34 -03:00
hpm6000/hpm6360evk Add support for hpm6360evk 2024-02-18 09:17:56 -08: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 build/cmake: add initial KERNEL mode support 2024-03-15 16:21:23 +08: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 riscv: Implement page-fault exception and on-demand paging 2024-03-05 09:45:49 +08:00
rv32m1/rv32m1-vega Documentation: migrate the rest boards 2023-10-26 18:13:34 -03:00