2020-09-24 01:52 AM
I want to exchange large data buffers with the coprocessor
I have tried following wiki page.
I tried to bitbake, but I have an error.
= Steps =
$ cd [my Distribution Package Directory Path]/layers/meta-st/
$ git clone https://github.com/STMicroelectronics/meta-st-stm32mpu-app-logicanalyser.git -b dunfell
$ DISTRO=openstlinux-weston MACHINE=stm32mp1-demo-logicanalyser source [my Distribution Package Directory Path]/layers/meta-st/scripts/envsetup.sh
$ bitbake st-image-weston
= Error =
ERROR: Layer stm-st-stm32mp-app-logicanalyzer is not compatible with the core layer which only supports these series
Are there missing something in my steps?
Best Regards.
H Masuda
Solved! Go to Solution.
2020-09-25 12:49 AM
Hi @HMasu.1
Ok fine if you succeed to compile.
Regarding the /dev/rpmsg_sdb, it is created when the kernle module stm32_rpmsg_sdb is probed, and this is not done automatically.
Please try:
insmod /lib/modules/$(uname -r)/kernel/drivers/misc/stm32_rpmsg_sdb.ko
Best regards
Jean-Philippe
2020-09-24 06:41 AM
Hi @HMasu.1
Are you using dunfell or thus yocto version?
Best regards
Jean-Philippe
2020-09-24 09:24 PM
Hi, @JeanPhilippeR ,
Thank you for your reply.
I'm using "thud" yocto version.
Does meta-st-stm32mpu-app-logicanalyser not correspond to "thud" yocto version?
I will try with "dunfell" yocto version.
Best Regards.
H Masuda
2020-09-24 11:42 PM
Hi, @JeanPhilippeR (ST Employee) ,
I tried with "dunfell" yocto version and could bitbake it including meta-st-stm32mpu-app-logicanalyser.
However, I can not find /dev/rpmsg_sdb sysfs when started on STM32MP157C-DK2.
How can I create /dev/rpmsg_sdb sysfs?
Are there missing something in my steps?
And, are there any sample source code of Cortex-M4 firmware to exchange large data buffers with Cotex-A7?
Best Regards.
H Masuda
2020-09-25 12:38 AM
Hi @HMasu.1
You can see in the git tree that two branches exist, one for thud, and one for dunfell.
With the git clone command you previously mention, you select dunfell one:
$ git clone https://github.com/STMicroelectronics/meta-st-stm32mpu-app-logicanalyser.git -b dunfell
You can then set "-b thud" to select thud branch.
BR
Jean-Philippe
2020-09-25 12:49 AM
Hi @HMasu.1
Ok fine if you succeed to compile.
Regarding the /dev/rpmsg_sdb, it is created when the kernle module stm32_rpmsg_sdb is probed, and this is not done automatically.
Please try:
insmod /lib/modules/$(uname -r)/kernel/drivers/misc/stm32_rpmsg_sdb.ko
Best regards
Jean-Philippe
2020-09-25 01:37 AM
Hi, @JeanPhilippeR
Thank you for your reply.
I tried the way you taught and was able to load the rpmsg_sdb.ko module.
And I was able to run the logic analyzer sample.
Thank you for your polite reply.
H Masuda