nuttx/arch
Lee Lup Yuen 614570cdcb arch/riscv: Add support for Bouffalo Lab BL808 SoC (T-Head C906)
This PR adds support for the Bouffalo Lab BL808 SoC, based on T-Head C906 64-bit RISC-V Core. This will be used by the upcoming port of NuttX for PINE64 Ox64 SBC.

Most of the code was derived from NuttX for Star64 JH7110. The UART Driver was derived from BL602 NuttX. The source files are explained in the articles here: https://github.com/lupyuen/nuttx-ox64

`Kconfig`: Added ARCH_CHIP_BL808 for BL808 SoC

`include/bl808/chip.h`: BL808 Definitions

`include/bl808/irq.h`: External Interrupts

`src/bl808/chip.h`: Interrupt Stack Macro

`src/bl808/bl808_allocateheap.c`: Kernel Heap

`src/bl808/bl808_head.S`: Linux Header and Boot Code

`src/bl808/bl808_irq.c`: Configure Interrupts

`src/bl808/bl808_irq_dispatch.c`: Dispatch Interrupts

`src/bl808/bl808_memorymap.h`: Memory Map

`src/bl808/bl808_mm_init.c`, `bl808_mm_init.h`: Memory Mgmt

`src/bl808/bl808_pgalloc.c`: Page Allocator

`src/bl808/bl808_serial.c`, `bl808_serial.h`: UART Driver

`src/bl808/bl808_start.c`: Startup Code

`src/bl808/bl808_timerisr.c`: Timer Interrupt

`src/bl808/hardware/bl808_memorymap.h`: PLIC and UART Base Address

`src/bl808/hardware/bl808_plic.h`: PLIC Register Addresses

`src/bl808/hardware/bl808_uart.h`: UART Register Addresses

`src/bl808/Kconfig`: BL808 Config

`src/bl808/Make.defs`: Makefile
2023-12-12 08:50:03 -08:00
..
arm Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
arm64 Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
avr arch/dumponexit: unify dump on exit to common code 2023-11-15 08:28:25 -08:00
ceva format: modify spin_lock_irqsave format 2023-10-06 20:00:04 -04:00
dummy
hc arch/dumponexit: unify dump on exit to common code 2023-11-15 08:28:25 -08:00
mips arch/dumponexit: unify dump on exit to common code 2023-11-15 08:28:25 -08:00
misoc arch/dumponexit: unify dump on exit to common code 2023-11-15 08:28:25 -08:00
or1k arch/dumponexit: unify dump on exit to common code 2023-11-15 08:28:25 -08:00
renesas arch/dumponexit: unify dump on exit to common code 2023-11-15 08:28:25 -08:00
risc-v arch/riscv: Add support for Bouffalo Lab BL808 SoC (T-Head C906) 2023-12-12 08:50:03 -08:00
sim sched/procfs:use instrument to statistics run time max stack 2023-12-11 02:06:51 -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 Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
z16 arch/dumponexit: unify dump on exit to common code 2023-11-15 08:28:25 -08:00
z80 arch/dumponexit: unify dump on exit to common code 2023-11-15 08:28:25 -08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig arch/arm:add up_debugpoint api 2023-12-11 08:43:26 -08:00