hello i use imx6sx to create simple rpmsg driver where pass data from rpmsg callback to a kernel thread.
The problem was that data is not copied, i.e. printk for the trhead works well, but coping to kthread buffer alwas fails.
That behavior is quite mysterious for me.
maybe you have any idea.
best wishes.
Solved! Go to Solution.
>Problem exist in Linux driver when data copied to upper layer driver by reference.
what "linux" used in the case. One can try latest nxp official linux from source.codeaurora.org/external/imx/linux-imx repository
https://source.codeaurora.org/external/imx/linux-imx/tree/?h=lf-5.10.y
Documentation
Best regards
igor
Hi Oleg
may be useful to look at examples provided in NXP FreeRTOS releases
Best regards
igor
Hello Igor.
I saw examples and i use it ( FreeRTOS task).
Problem exist in Linux driver when data copied to upper layer driver by reference.
Problem exist in Linux driver when data copied to upper layer driver by reference.
in case when data is generated inside the kthread, then passed properly.
>Problem exist in Linux driver when data copied to upper layer driver by reference.
what "linux" used in the case. One can try latest nxp official linux from source.codeaurora.org/external/imx/linux-imx repository
https://source.codeaurora.org/external/imx/linux-imx/tree/?h=lf-5.10.y
Documentation
Best regards
igor