cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with the stm32_rpmsg_sdb.c

浩侯.1
Associate

I find the kernel Panic when I mmap 16 shared memory regions.(4KB/memory)

0693W000006H93lQAC.jpg

2 REPLIES 2
Olivier GALLIEN
ST Employee

Hi,  

Please confirm you are trying to play with provided example https://wiki.st.com/stm32mpu/wiki/How_to_exchange_large_data_buffers_with_the_coprocessor_-_example

In which ecosystem context are you ?

Please check that memory mapping is consistent between kernel dts and MP4 firmware for shared memory.

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
TBlec.1
Associate

running into the same issue it looks like there's a simple buffer overflow in the `sprintf` when trying to print an index larger than 9:

https://github.com/STMicroelectronics/meta-st-stm32mpu-app-logicanalyser/pull/3/commits/14b3ddbda9cf7d2413479fb7fbd6aebc0d626a0f