Dear All,
I'm using NRF54H20 taht have two cores: App and network. Network has uart and I have a shell on it. Now I want to add network core to shell to switch between cores using command "shell ipc".
I add line
zephyr,shell-ipc = &ipc0;
to dts of both cores.
additionally added few lines to App core conf:
CONFIG_IPC_SERVICE=y CONFIG_MBOX=y CONFIG_SHELL=y CONFIG_SHELL_BACKENDS=y CONFIG_SHELL_BACKEND_SERIAL=y CONFIG_SHELL_IPC=y CONFIG_SHELL_IPC_BACKEND_RX_RING_BUFFER_SIZE=1024 CONFIG_SHELL_PROMPT_UART="Also-IoT:~$ " CONFIG_SHELL_PROMPT_IPC="Also-IoT-net:~$ "
and on Network core conf:
CONFIG_SHELL=y CONFIG_MBOX=y CONFIG_IPC_SERVICE=y CONFIG_SHELL_BACKENDS=y CONFIG_SERIAL=n CONFIG_UART_CONSOLE=n CONFIG_SHELL_IPC=y CONFIG_SHELL_BACKEND_SERIAL=n CONFIG_SHELL_PROMPT_IPC="Also-IoT-net:~$ "
this changes cause that when I'm executing command "shell backends" I have:
Also-IoT:~$ shell backends Active shell backends: 0. :Also-IoT-net:~$ (shell_ipc) 1. :Also-IoT:~$ (shell_uart)
Which means that backend is ready but I did not get a command "shell ipc" to switch to Network core shell
additionally I'm getting lot of logs like below:
[00:28:55.723,101] <inf> shell_ipc: RX ring buffer full. Dropping 5 bytes [00:28:56.852,594] <inf> shell_ipc: RX ring buffer full. Dropping 118 bytes [00:28:56.852,719] <inf> shell_ipc: RX ring buffer full. Dropping 30 bytes [00:28:56.852,790] <inf> shell_ipc: RX ring buffer full. Dropping 30 bytes [00:28:56.852,859] <inf> shell_ipc: RX ring buffer full. Dropping 19 bytes [00:28:56.852,928] <inf> shell_ipc: RX ring buffer full. Dropping 4 bytes [00:28:56.853,014] <inf> shell_ipc: RX ring buffer full. Dropping 5 bytes [00:28:57.966,961] <inf> shell_ipc: RX ring buffer full. Dropping 118 bytes [00:28:57.967,105] <inf> shell_ipc: RX ring buffer full. Dropping 30 bytes [00:28:57.967,178] <inf> shell_ipc: RX ring buffer full. Dropping 30 bytes [00:28:57.967,248] <inf> shell_ipc: RX ring buffer full. Dropping 19 bytes [00:28:57.967,317] <inf> shell_ipc: RX ring buffer full. Dropping 4 bytes
That looks like data are incoming over ipc but somehow shell on app core do not recognize it or do not know where source of this data is.
Can you help me whats missing ?