2023-12-12 03:53:45 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
config RPMSG
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select OPENAMP
|
2023-12-22 09:09:24 +01:00
|
|
|
|
|
|
|
if RPMSG
|
|
|
|
|
2024-02-04 08:04:16 +01:00
|
|
|
config RPMSG_LOCAL_CPUNAME
|
|
|
|
string "Rpmsg Local Cpuname"
|
|
|
|
default LIBC_HOSTNAME
|
|
|
|
|
2023-12-22 09:09:24 +01:00
|
|
|
config RPMSG_PING
|
|
|
|
bool "rpmsg ping support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This is for debugging & profiling, create ping rpmsg
|
|
|
|
channel, user can use it to get send/recv speed & latency.
|
|
|
|
|
2024-01-04 07:10:44 +01:00
|
|
|
config RPMSG_PORT
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Rpmsg port transport layer used for cross chip communication.
|
|
|
|
|
2023-12-22 09:09:24 +01:00
|
|
|
endif # RPMSG
|
2024-02-06 04:12:15 +01:00
|
|
|
|
|
|
|
config RPMSG_VIRTIO
|
|
|
|
bool "rpmsg virtio transport support"
|
|
|
|
default n
|
|
|
|
select RPMSG
|
|
|
|
|
|
|
|
if RPMSG_VIRTIO
|
|
|
|
|
|
|
|
config RPMSG_VIRTIO_PRIORITY
|
|
|
|
int "rpmsg virtio rx thread priority"
|
|
|
|
default 224
|
|
|
|
|
|
|
|
config RPMSG_VIRTIO_STACKSIZE
|
|
|
|
int "rpmsg virtio rx thread stack size"
|
|
|
|
default DEFAULT_TASK_STACKSIZE
|
|
|
|
|
2024-02-23 07:57:40 +01:00
|
|
|
config RPMSG_VIRTIO_IVSHMEM
|
|
|
|
bool "rpmsg virtio ivshmem support"
|
|
|
|
default n
|
2024-04-25 13:56:05 +02:00
|
|
|
depends on PCI_IVSHMEM
|
2024-02-23 07:57:40 +01:00
|
|
|
---help---
|
|
|
|
This is rpmsg virtio driver based on pci ivshmem.
|
|
|
|
|
|
|
|
if RPMSG_VIRTIO_IVSHMEM
|
|
|
|
|
|
|
|
config RPMSG_VIRTIO_IVSHMEM_NAME
|
|
|
|
string "rpmsg virtio ivshmem name"
|
|
|
|
---help---
|
2024-04-25 13:56:05 +02:00
|
|
|
Using this config to custom the rpmsg virtio ivshmem id, cpuname and role,
|
2024-02-23 07:57:40 +01:00
|
|
|
using ";" to split the names.
|
2024-04-25 13:56:05 +02:00
|
|
|
For example, if RPMSG_VIRTIO_IVSHMEM_CPUNAME = "0:cpu1:m;1:cpu2:s" and pass
|
2024-02-23 07:57:40 +01:00
|
|
|
two ivshmem devices to the qemu, we will get two rpmsg virtio ivshmem drivers
|
2024-04-25 13:56:05 +02:00
|
|
|
with remote cpu ids: "0","1", names: "cpu1", "cpu2", and roles: "master", "slave"
|
2024-02-23 07:57:40 +01:00
|
|
|
|
|
|
|
config RPMSG_VIRTIO_IVSHMEM_BUFFSIZE
|
|
|
|
int "rpmsg virtio ivshmem rpmsg buffer size"
|
|
|
|
default 2048
|
|
|
|
---help---
|
|
|
|
The rpmsg buffer size in share memory, the RX and TX buffer size
|
|
|
|
are same for now.
|
|
|
|
|
|
|
|
config RPMSG_VIRTIO_IVSHMEM_BUFFNUM
|
|
|
|
int "rpmsg virtio ivshmem rpmsg buffer number"
|
|
|
|
default 8
|
|
|
|
---help---
|
|
|
|
The rpmsg virtio buffer number in share memory, the RX and TX buffer number
|
|
|
|
are same for now.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2024-02-06 04:12:15 +01:00
|
|
|
endif
|