Why num_of_vrings is set to 0 if I start M4 code with spl and why is it set to 2 when I start code with linux?
Hi,
I'm using stm32mp153c and I managed to start M4 code after the SPL initialization and before U-BOOT. All initializations work fine except for the MX_OPENAMP_Init.
I see that if I start the code after SPL the variable of num_of_vrings (that is equal to the define VRING_COUNT 2) is 0. Whereas if I start the M4 code directly from linux the variable is set to 2 and the OPENAMP initialization works.
I tried to set a delay of 1 minute before the IPCC and OPENAMP initializations (in order to wait for LINUX to enable virt_uart and rpmsg_sdb devices) but the OPENAMP initialization still failed.
Any suggestions?
Thanks in advance.
Best regards,
Andrea
