a4b22fe999
K230 chip has two T-Head C908 RiscV cores, previously we run NuttX on either little or big cores. This patch runs NuttX on both cores with OpenAMP support via the RPTUN driver. New additions: - in arch/risc-v/src/k230 - k230_rptun.c K230 RPTUN driver - k230_rptun.h K230 RPTUN driver header file - in baords/risc-v/k230/canmv230 - configs/master Build config for master node - configs/remote Build config for remote node - scripts/ld-rptun.script Build script for RPTUN Major changes: - arch/risc-v/Kconfig Select NUTTSBI_LATE_INIT upon NUTTSBI - in arch/risc-v/include - k230/irq.h Add UART3 IRQ defs - in arch/risc-v/src/k230 - Kconfig Add RPTUN related config items - Make.defs Add k230-rptun.c to sources - hardware/k230_memorymap.h Add K230 device and CSR defs - k230_hart.c Add hart ctrl for RPTUN - k230_hart.h Add hart ctrl for RPTUN - k230_mm_init.c Add Svpmbt to support RPTUN - k230_start.c Revised to support RPMsg UART - in boards/risc-v/k230/canmv230 - scripts/Make.defs Add RPTUN script selection - src/canmv_init.c Add RPTUN and RPMsg_UART initialization - in Documentation/platforms/risc-v/k230/boards/canmv230 - index.rst Add AMP usage information. Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
96 lines
2.6 KiB
Plaintext
96 lines
2.6 KiB
Plaintext
#
|
|
# This file is autogenerated: PLEASE DO NOT EDIT IT.
|
|
#
|
|
# You can use "make menuconfig" to make any modifications to the installed .config file.
|
|
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
|
|
# modifications.
|
|
#
|
|
# CONFIG_DISABLE_OS_API is not set
|
|
# CONFIG_NSH_DISABLE_LOSMART is not set
|
|
CONFIG_16550_ADDRWIDTH=0
|
|
CONFIG_16550_REGWIDTH=32
|
|
CONFIG_16550_SERIAL_DISABLE_REORDERING=y
|
|
CONFIG_16550_SUPRESS_CONFIG=y
|
|
CONFIG_16550_UART0=y
|
|
CONFIG_16550_UART0_BASE=0x91400000
|
|
CONFIG_16550_UART0_CLOCK=50000000
|
|
CONFIG_16550_UART0_IRQ=41
|
|
CONFIG_16550_UART0_SERIAL_CONSOLE=y
|
|
CONFIG_16550_UART=y
|
|
CONFIG_16550_WAIT_LCR=y
|
|
CONFIG_ARCH="risc-v"
|
|
CONFIG_ARCH_ADDRENV=y
|
|
CONFIG_ARCH_BOARD="canmv230"
|
|
CONFIG_ARCH_BOARD_K230_CANMV=y
|
|
CONFIG_ARCH_CHIP="k230"
|
|
CONFIG_ARCH_CHIP_K230=y
|
|
CONFIG_ARCH_DATA_NPAGES=128
|
|
CONFIG_ARCH_DATA_VBASE=0xC0100000
|
|
CONFIG_ARCH_HEAP_NPAGES=128
|
|
CONFIG_ARCH_HEAP_VBASE=0xC0200000
|
|
CONFIG_ARCH_INTERRUPTSTACK=3072
|
|
CONFIG_ARCH_KERNEL_STACKSIZE=3072
|
|
CONFIG_ARCH_LAZYFPU=y
|
|
CONFIG_ARCH_PGPOOL_MAPPING=y
|
|
CONFIG_ARCH_PGPOOL_PBASE=0x8600000
|
|
CONFIG_ARCH_PGPOOL_SIZE=10485760
|
|
CONFIG_ARCH_PGPOOL_VBASE=0x8600000
|
|
CONFIG_ARCH_RISCV=y
|
|
CONFIG_ARCH_TEXT_NPAGES=128
|
|
CONFIG_ARCH_TEXT_VBASE=0xC0000000
|
|
CONFIG_ARCH_USE_MMU=y
|
|
CONFIG_ARCH_USE_MPU=y
|
|
CONFIG_ARCH_USE_S_MODE=y
|
|
CONFIG_BINFMT_ELF_EXECUTABLE=y
|
|
CONFIG_BOARD_LATE_INITIALIZE=y
|
|
CONFIG_BOARD_LOOPSPERMSEC=6366
|
|
CONFIG_BUILD_KERNEL=y
|
|
CONFIG_DEBUG_ASSERTIONS=y
|
|
CONFIG_DEBUG_FEATURES=y
|
|
CONFIG_DEV_ZERO=y
|
|
CONFIG_ELF=y
|
|
CONFIG_EXAMPLES_HELLO=y
|
|
CONFIG_FS_PROCFS=y
|
|
CONFIG_FS_ROMFS=y
|
|
CONFIG_IDLETHREAD_STACKSIZE=3072
|
|
CONFIG_INIT_FILEPATH="/system/bin/init"
|
|
CONFIG_INIT_MOUNT=y
|
|
CONFIG_INIT_MOUNT_FLAGS=0x1
|
|
CONFIG_INIT_MOUNT_TARGET="/system/bin"
|
|
CONFIG_INIT_STACKSIZE=3072
|
|
CONFIG_LIBC_ENVPATH=y
|
|
CONFIG_LIBC_EXECFUNCS=y
|
|
CONFIG_LIBC_PERROR_STDOUT=y
|
|
CONFIG_LIBC_STRERROR=y
|
|
CONFIG_LIBM=y
|
|
CONFIG_MEMSET_64BIT=y
|
|
CONFIG_MEMSET_OPTSPEED=y
|
|
CONFIG_MM_PGALLOC=y
|
|
CONFIG_NFILE_DESCRIPTORS_PER_BLOCK=6
|
|
CONFIG_NSH_ARCHINIT=y
|
|
CONFIG_NSH_FILEIOSIZE=512
|
|
CONFIG_NSH_FILE_APPS=y
|
|
CONFIG_NSH_READLINE=y
|
|
CONFIG_NUTTSBI=y
|
|
CONFIG_NUTTSBI_MTIMECMP_BASE=0xf04004000
|
|
CONFIG_NUTTSBI_MTIME_BASE=0xf0400bff8
|
|
CONFIG_PATH_INITIAL="/system/bin"
|
|
CONFIG_RAM_SIZE=132116480
|
|
CONFIG_RAM_START=0x8080000
|
|
CONFIG_RAW_BINARY=y
|
|
CONFIG_READLINE_CMD_HISTORY=y
|
|
CONFIG_RR_INTERVAL=200
|
|
CONFIG_SCHED_LPWORK=y
|
|
CONFIG_SCHED_WAITPID=y
|
|
CONFIG_SERIAL_UART_ARCH_MMIO=y
|
|
CONFIG_STACK_COLORATION=y
|
|
CONFIG_STANDARD_SERIAL=y
|
|
CONFIG_START_DAY=15
|
|
CONFIG_START_YEAR=2024
|
|
CONFIG_SYMTAB_ORDEREDBYNAME=y
|
|
CONFIG_SYSTEM_NSH=y
|
|
CONFIG_SYSTEM_NSH_PROGNAME="init"
|
|
CONFIG_TESTING_GETPRIME=y
|
|
CONFIG_TESTING_OSTEST=y
|
|
CONFIG_USEC_PER_TICK=1000
|