nuttx/boards/risc-v/mpfs/icicle/configs/rpmsg-sbi/defconfig

124 lines
3.2 KiB
Plaintext
Raw Normal View History

risc-v/mpfs: introduce IHC driver This provides an example of Asymmetric Multiprocessing (AMP). The master from Linux sends pings that this NuttX echoes back. The system uses RPMsg from OpenAMP. The Inter-Hart Communication module is present in the vendor's software stack with the tag "2021.11". The software is present on github at the polarfire-soc project. The following conditions must be met: 1. FPGA programmed with 2021.11 software 2. HSS (Vendor bootloader) with 2021.11 software 3. U-boot and Linux kernel from 2011.11 software Currently the IHC works as a slave only on the hart number 4. On the NuttX side, this patch uses rptun that incorporates rpmsg and virtio. If it used only rpmsg and virtio, the future maintenance would likely be much heavier. Using rptun also simplifies many things. Upon success, the master side from Linux may issue an example test: root@icicle-kit-es-amp:/opt/microchip/amp/rpmsg-pingpong# ./rpmsg-pingpong However, the rpmsg-pingpong.c (compiled on target with gcc), may need to be modified as seen below to match the device id: - char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.0"; + char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.1024"; This work uses a separate linker script. Due to a bug yet unknown to date, a small NuttX, when loaded by the vendor HSS bootloader, will cause the Linux kernel to hang at boot. Thus, the binary size is increased with a section 'filler_area' whose only purpose is to increase the image size so that the Linux kernel will boot up. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-05-03 06:33:16 +02:00
#
# 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_NDEBUG is not set
# CONFIG_NSH_DISABLE_MW is not set
CONFIG_ALLOW_BSD_COMPONENTS=y
risc-v/mpfs: introduce IHC driver This provides an example of Asymmetric Multiprocessing (AMP). The master from Linux sends pings that this NuttX echoes back. The system uses RPMsg from OpenAMP. The Inter-Hart Communication module is present in the vendor's software stack with the tag "2021.11". The software is present on github at the polarfire-soc project. The following conditions must be met: 1. FPGA programmed with 2021.11 software 2. HSS (Vendor bootloader) with 2021.11 software 3. U-boot and Linux kernel from 2011.11 software Currently the IHC works as a slave only on the hart number 4. On the NuttX side, this patch uses rptun that incorporates rpmsg and virtio. If it used only rpmsg and virtio, the future maintenance would likely be much heavier. Using rptun also simplifies many things. Upon success, the master side from Linux may issue an example test: root@icicle-kit-es-amp:/opt/microchip/amp/rpmsg-pingpong# ./rpmsg-pingpong However, the rpmsg-pingpong.c (compiled on target with gcc), may need to be modified as seen below to match the device id: - char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.0"; + char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.1024"; This work uses a separate linker script. Due to a bug yet unknown to date, a small NuttX, when loaded by the vendor HSS bootloader, will cause the Linux kernel to hang at boot. Thus, the binary size is increased with a section 'filler_area' whose only purpose is to increase the image size so that the Linux kernel will boot up. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-05-03 06:33:16 +02:00
CONFIG_ARCH="risc-v"
CONFIG_ARCH_BOARD="icicle"
CONFIG_ARCH_BOARD_COMMON=y
CONFIG_ARCH_BOARD_ICICLE_MPFS=y
CONFIG_ARCH_CHIP="mpfs"
CONFIG_ARCH_CHIP_MPFS250T_FCVG484=y
CONFIG_ARCH_CHIP_MPFS=y
CONFIG_ARCH_INTERRUPTSTACK=2048
CONFIG_ARCH_RISCV=y
CONFIG_ARCH_STACKDUMP=y
CONFIG_BOARDCTL_MKRD=y
CONFIG_BOARD_LOOPSPERMSEC=54000
CONFIG_BUILTIN=y
CONFIG_DEBUG_FEATURES=y
CONFIG_DEBUG_FULLOPT=y
CONFIG_DEBUG_SYMBOLS=y
CONFIG_EXPERIMENTAL=y
CONFIG_FAT_LCNAMES=y
CONFIG_FAT_LFN=y
CONFIG_FS_FAT=y
CONFIG_FS_PROCFS=y
CONFIG_FS_ROMFS=y
CONFIG_IDLETHREAD_STACKSIZE=2048
CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_INIT_STACKSIZE=3072
CONFIG_INTELHEX_BINARY=y
CONFIG_LIBC_HOSTNAME="icicle"
CONFIG_LIBC_PERROR_STDOUT=y
CONFIG_LIBC_STRERROR=y
CONFIG_MEMSET_64BIT=y
CONFIG_MEMSET_OPTSPEED=y
CONFIG_MMCSD=y
CONFIG_MMCSD_SDIO=y
CONFIG_MPFS_BOOTLOADER=y
CONFIG_MPFS_DDR_INIT=y
CONFIG_MPFS_EMMCSD=y
CONFIG_MPFS_HART1_ENTRYPOINT=0xa2000000
CONFIG_MPFS_HART2_ENTRYPOINT=0xa3000000
CONFIG_MPFS_HART3_ENTRYPOINT=0x80200000
CONFIG_MPFS_HART3_SBI=y
CONFIG_MPFS_HART4_ENTRYPOINT=0x80200000
CONFIG_MPFS_HART4_SBI=y
CONFIG_MPFS_IHC_NUTTX_ON_HART1=1
CONFIG_MPFS_IHC_SBI=y
CONFIG_MPFS_IHC_TWO_RPMSG_CHANNELS=y
CONFIG_MPFS_OPENSBI=y
CONFIG_MPFS_UART0=y
risc-v/mpfs: introduce IHC driver This provides an example of Asymmetric Multiprocessing (AMP). The master from Linux sends pings that this NuttX echoes back. The system uses RPMsg from OpenAMP. The Inter-Hart Communication module is present in the vendor's software stack with the tag "2021.11". The software is present on github at the polarfire-soc project. The following conditions must be met: 1. FPGA programmed with 2021.11 software 2. HSS (Vendor bootloader) with 2021.11 software 3. U-boot and Linux kernel from 2011.11 software Currently the IHC works as a slave only on the hart number 4. On the NuttX side, this patch uses rptun that incorporates rpmsg and virtio. If it used only rpmsg and virtio, the future maintenance would likely be much heavier. Using rptun also simplifies many things. Upon success, the master side from Linux may issue an example test: root@icicle-kit-es-amp:/opt/microchip/amp/rpmsg-pingpong# ./rpmsg-pingpong However, the rpmsg-pingpong.c (compiled on target with gcc), may need to be modified as seen below to match the device id: - char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.0"; + char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.1024"; This work uses a separate linker script. Due to a bug yet unknown to date, a small NuttX, when loaded by the vendor HSS bootloader, will cause the Linux kernel to hang at boot. Thus, the binary size is increased with a section 'filler_area' whose only purpose is to increase the image size so that the Linux kernel will boot up. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-05-03 06:33:16 +02:00
CONFIG_NSH_ARCHINIT=y
CONFIG_NSH_BUILTIN_APPS=y
CONFIG_NSH_DISABLE_BASENAME=y
CONFIG_NSH_DISABLE_CAT=y
CONFIG_NSH_DISABLE_CD=y
CONFIG_NSH_DISABLE_CMP=y
CONFIG_NSH_DISABLE_CP=y
CONFIG_NSH_DISABLE_DD=y
risc-v/mpfs: introduce IHC driver This provides an example of Asymmetric Multiprocessing (AMP). The master from Linux sends pings that this NuttX echoes back. The system uses RPMsg from OpenAMP. The Inter-Hart Communication module is present in the vendor's software stack with the tag "2021.11". The software is present on github at the polarfire-soc project. The following conditions must be met: 1. FPGA programmed with 2021.11 software 2. HSS (Vendor bootloader) with 2021.11 software 3. U-boot and Linux kernel from 2011.11 software Currently the IHC works as a slave only on the hart number 4. On the NuttX side, this patch uses rptun that incorporates rpmsg and virtio. If it used only rpmsg and virtio, the future maintenance would likely be much heavier. Using rptun also simplifies many things. Upon success, the master side from Linux may issue an example test: root@icicle-kit-es-amp:/opt/microchip/amp/rpmsg-pingpong# ./rpmsg-pingpong However, the rpmsg-pingpong.c (compiled on target with gcc), may need to be modified as seen below to match the device id: - char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.0"; + char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.1024"; This work uses a separate linker script. Due to a bug yet unknown to date, a small NuttX, when loaded by the vendor HSS bootloader, will cause the Linux kernel to hang at boot. Thus, the binary size is increased with a section 'filler_area' whose only purpose is to increase the image size so that the Linux kernel will boot up. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-05-03 06:33:16 +02:00
CONFIG_NSH_DISABLE_DF=y
CONFIG_NSH_DISABLE_DIRNAME=y
CONFIG_NSH_DISABLE_DMESG=y
CONFIG_NSH_DISABLE_ECHO=y
CONFIG_NSH_DISABLE_ENV=y
CONFIG_NSH_DISABLE_EXEC=y
risc-v/mpfs: introduce IHC driver This provides an example of Asymmetric Multiprocessing (AMP). The master from Linux sends pings that this NuttX echoes back. The system uses RPMsg from OpenAMP. The Inter-Hart Communication module is present in the vendor's software stack with the tag "2021.11". The software is present on github at the polarfire-soc project. The following conditions must be met: 1. FPGA programmed with 2021.11 software 2. HSS (Vendor bootloader) with 2021.11 software 3. U-boot and Linux kernel from 2011.11 software Currently the IHC works as a slave only on the hart number 4. On the NuttX side, this patch uses rptun that incorporates rpmsg and virtio. If it used only rpmsg and virtio, the future maintenance would likely be much heavier. Using rptun also simplifies many things. Upon success, the master side from Linux may issue an example test: root@icicle-kit-es-amp:/opt/microchip/amp/rpmsg-pingpong# ./rpmsg-pingpong However, the rpmsg-pingpong.c (compiled on target with gcc), may need to be modified as seen below to match the device id: - char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.0"; + char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.1024"; This work uses a separate linker script. Due to a bug yet unknown to date, a small NuttX, when loaded by the vendor HSS bootloader, will cause the Linux kernel to hang at boot. Thus, the binary size is increased with a section 'filler_area' whose only purpose is to increase the image size so that the Linux kernel will boot up. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-05-03 06:33:16 +02:00
CONFIG_NSH_DISABLE_EXIT=y
CONFIG_NSH_DISABLE_EXPORT=y
CONFIG_NSH_DISABLE_FREE=y
CONFIG_NSH_DISABLE_GET=y
CONFIG_NSH_DISABLE_HEXDUMP=y
CONFIG_NSH_DISABLE_IFCONFIG=y
CONFIG_NSH_DISABLE_IFUPDOWN=y
CONFIG_NSH_DISABLE_KILL=y
CONFIG_NSH_DISABLE_LOSETUP=y
CONFIG_NSH_DISABLE_MKDIR=y
risc-v/mpfs: introduce IHC driver This provides an example of Asymmetric Multiprocessing (AMP). The master from Linux sends pings that this NuttX echoes back. The system uses RPMsg from OpenAMP. The Inter-Hart Communication module is present in the vendor's software stack with the tag "2021.11". The software is present on github at the polarfire-soc project. The following conditions must be met: 1. FPGA programmed with 2021.11 software 2. HSS (Vendor bootloader) with 2021.11 software 3. U-boot and Linux kernel from 2011.11 software Currently the IHC works as a slave only on the hart number 4. On the NuttX side, this patch uses rptun that incorporates rpmsg and virtio. If it used only rpmsg and virtio, the future maintenance would likely be much heavier. Using rptun also simplifies many things. Upon success, the master side from Linux may issue an example test: root@icicle-kit-es-amp:/opt/microchip/amp/rpmsg-pingpong# ./rpmsg-pingpong However, the rpmsg-pingpong.c (compiled on target with gcc), may need to be modified as seen below to match the device id: - char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.0"; + char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.1024"; This work uses a separate linker script. Due to a bug yet unknown to date, a small NuttX, when loaded by the vendor HSS bootloader, will cause the Linux kernel to hang at boot. Thus, the binary size is increased with a section 'filler_area' whose only purpose is to increase the image size so that the Linux kernel will boot up. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-05-03 06:33:16 +02:00
CONFIG_NSH_DISABLE_MKFATFS=y
CONFIG_NSH_DISABLE_MKRD=y
CONFIG_NSH_DISABLE_MOUNT=y
CONFIG_NSH_DISABLE_MV=y
CONFIG_NSH_DISABLE_PRINTF=y
CONFIG_NSH_DISABLE_PS=y
risc-v/mpfs: introduce IHC driver This provides an example of Asymmetric Multiprocessing (AMP). The master from Linux sends pings that this NuttX echoes back. The system uses RPMsg from OpenAMP. The Inter-Hart Communication module is present in the vendor's software stack with the tag "2021.11". The software is present on github at the polarfire-soc project. The following conditions must be met: 1. FPGA programmed with 2021.11 software 2. HSS (Vendor bootloader) with 2021.11 software 3. U-boot and Linux kernel from 2011.11 software Currently the IHC works as a slave only on the hart number 4. On the NuttX side, this patch uses rptun that incorporates rpmsg and virtio. If it used only rpmsg and virtio, the future maintenance would likely be much heavier. Using rptun also simplifies many things. Upon success, the master side from Linux may issue an example test: root@icicle-kit-es-amp:/opt/microchip/amp/rpmsg-pingpong# ./rpmsg-pingpong However, the rpmsg-pingpong.c (compiled on target with gcc), may need to be modified as seen below to match the device id: - char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.0"; + char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.1024"; This work uses a separate linker script. Due to a bug yet unknown to date, a small NuttX, when loaded by the vendor HSS bootloader, will cause the Linux kernel to hang at boot. Thus, the binary size is increased with a section 'filler_area' whose only purpose is to increase the image size so that the Linux kernel will boot up. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-05-03 06:33:16 +02:00
CONFIG_NSH_DISABLE_PUT=y
CONFIG_NSH_DISABLE_PWD=y
CONFIG_NSH_DISABLE_RM=y
CONFIG_NSH_DISABLE_RMDIR=y
CONFIG_NSH_DISABLE_SET=y
CONFIG_NSH_DISABLE_SLEEP=y
CONFIG_NSH_DISABLE_SOURCE=y
CONFIG_NSH_DISABLE_TEST=y
CONFIG_NSH_DISABLE_TIME=y
CONFIG_NSH_DISABLE_TRUNCATE=y
CONFIG_NSH_DISABLE_UMOUNT=y
CONFIG_NSH_DISABLE_UNAME=y
CONFIG_NSH_DISABLE_UNSET=y
CONFIG_NSH_DISABLE_UPTIME=y
risc-v/mpfs: introduce IHC driver This provides an example of Asymmetric Multiprocessing (AMP). The master from Linux sends pings that this NuttX echoes back. The system uses RPMsg from OpenAMP. The Inter-Hart Communication module is present in the vendor's software stack with the tag "2021.11". The software is present on github at the polarfire-soc project. The following conditions must be met: 1. FPGA programmed with 2021.11 software 2. HSS (Vendor bootloader) with 2021.11 software 3. U-boot and Linux kernel from 2011.11 software Currently the IHC works as a slave only on the hart number 4. On the NuttX side, this patch uses rptun that incorporates rpmsg and virtio. If it used only rpmsg and virtio, the future maintenance would likely be much heavier. Using rptun also simplifies many things. Upon success, the master side from Linux may issue an example test: root@icicle-kit-es-amp:/opt/microchip/amp/rpmsg-pingpong# ./rpmsg-pingpong However, the rpmsg-pingpong.c (compiled on target with gcc), may need to be modified as seen below to match the device id: - char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.0"; + char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.1024"; This work uses a separate linker script. Due to a bug yet unknown to date, a small NuttX, when loaded by the vendor HSS bootloader, will cause the Linux kernel to hang at boot. Thus, the binary size is increased with a section 'filler_area' whose only purpose is to increase the image size so that the Linux kernel will boot up. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-05-03 06:33:16 +02:00
CONFIG_NSH_DISABLE_USLEEP=y
CONFIG_NSH_DISABLE_WGET=y
CONFIG_NSH_DISABLE_XD=y
CONFIG_NSH_LINELEN=160
CONFIG_OPENSBI=y
risc-v/mpfs: introduce IHC driver This provides an example of Asymmetric Multiprocessing (AMP). The master from Linux sends pings that this NuttX echoes back. The system uses RPMsg from OpenAMP. The Inter-Hart Communication module is present in the vendor's software stack with the tag "2021.11". The software is present on github at the polarfire-soc project. The following conditions must be met: 1. FPGA programmed with 2021.11 software 2. HSS (Vendor bootloader) with 2021.11 software 3. U-boot and Linux kernel from 2011.11 software Currently the IHC works as a slave only on the hart number 4. On the NuttX side, this patch uses rptun that incorporates rpmsg and virtio. If it used only rpmsg and virtio, the future maintenance would likely be much heavier. Using rptun also simplifies many things. Upon success, the master side from Linux may issue an example test: root@icicle-kit-es-amp:/opt/microchip/amp/rpmsg-pingpong# ./rpmsg-pingpong However, the rpmsg-pingpong.c (compiled on target with gcc), may need to be modified as seen below to match the device id: - char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.0"; + char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.1024"; This work uses a separate linker script. Due to a bug yet unknown to date, a small NuttX, when loaded by the vendor HSS bootloader, will cause the Linux kernel to hang at boot. Thus, the binary size is increased with a section 'filler_area' whose only purpose is to increase the image size so that the Linux kernel will boot up. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-05-03 06:33:16 +02:00
CONFIG_PREALLOC_TIMERS=4
CONFIG_RAM_SIZE=1048576
CONFIG_RAM_START=0x08000000
risc-v/mpfs: introduce IHC driver This provides an example of Asymmetric Multiprocessing (AMP). The master from Linux sends pings that this NuttX echoes back. The system uses RPMsg from OpenAMP. The Inter-Hart Communication module is present in the vendor's software stack with the tag "2021.11". The software is present on github at the polarfire-soc project. The following conditions must be met: 1. FPGA programmed with 2021.11 software 2. HSS (Vendor bootloader) with 2021.11 software 3. U-boot and Linux kernel from 2011.11 software Currently the IHC works as a slave only on the hart number 4. On the NuttX side, this patch uses rptun that incorporates rpmsg and virtio. If it used only rpmsg and virtio, the future maintenance would likely be much heavier. Using rptun also simplifies many things. Upon success, the master side from Linux may issue an example test: root@icicle-kit-es-amp:/opt/microchip/amp/rpmsg-pingpong# ./rpmsg-pingpong However, the rpmsg-pingpong.c (compiled on target with gcc), may need to be modified as seen below to match the device id: - char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.0"; + char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.1024"; This work uses a separate linker script. Due to a bug yet unknown to date, a small NuttX, when loaded by the vendor HSS bootloader, will cause the Linux kernel to hang at boot. Thus, the binary size is increased with a section 'filler_area' whose only purpose is to increase the image size so that the Linux kernel will boot up. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-05-03 06:33:16 +02:00
CONFIG_RAW_BINARY=y
CONFIG_RR_INTERVAL=200
CONFIG_SCHED_HPWORK=y
CONFIG_SCHED_LPWORK=y
CONFIG_SCHED_WAITPID=y
CONFIG_SERIAL_NPOLLWAITERS=2
risc-v/mpfs: introduce IHC driver This provides an example of Asymmetric Multiprocessing (AMP). The master from Linux sends pings that this NuttX echoes back. The system uses RPMsg from OpenAMP. The Inter-Hart Communication module is present in the vendor's software stack with the tag "2021.11". The software is present on github at the polarfire-soc project. The following conditions must be met: 1. FPGA programmed with 2021.11 software 2. HSS (Vendor bootloader) with 2021.11 software 3. U-boot and Linux kernel from 2011.11 software Currently the IHC works as a slave only on the hart number 4. On the NuttX side, this patch uses rptun that incorporates rpmsg and virtio. If it used only rpmsg and virtio, the future maintenance would likely be much heavier. Using rptun also simplifies many things. Upon success, the master side from Linux may issue an example test: root@icicle-kit-es-amp:/opt/microchip/amp/rpmsg-pingpong# ./rpmsg-pingpong However, the rpmsg-pingpong.c (compiled on target with gcc), may need to be modified as seen below to match the device id: - char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.0"; + char *rpmsg_dev="virtio0.rpmsg-amp-demo-channel.-1.1024"; This work uses a separate linker script. Due to a bug yet unknown to date, a small NuttX, when loaded by the vendor HSS bootloader, will cause the Linux kernel to hang at boot. Thus, the binary size is increased with a section 'filler_area' whose only purpose is to increase the image size so that the Linux kernel will boot up. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-05-03 06:33:16 +02:00
CONFIG_STACK_COLORATION=y
CONFIG_START_MONTH=4
CONFIG_START_YEAR=2021
CONFIG_SYSTEM_NSH=y
CONFIG_SYSTEM_TIME64=y
CONFIG_TASK_NAME_SIZE=20
CONFIG_UART0_SERIAL_CONSOLE=y