Skip to main content
Visitor II
September 24, 2020
Solved

How to bitbake rpsmg-sdb-mod?

  • September 24, 2020
  • 1 reply
  • 1317 views

I want to exchange large data buffers with the coprocessor

I have tried following wiki page.

https://wiki.st.com/stm32mpu-ecosystem-v1/wiki/How_to_exchange_large_data_buffers_with_the_coprocessor_-_principle#User_space_interface

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

    This topic has been closed for replies.
    Best answer by JeanPhilippeR

    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

    1 reply

    ST Employee
    September 24, 2020

    Hi @HMasu.1​ 

    Are you using dunfell or thus yocto version?

    Best regards

    Jean-Philippe

    HMasu.1Author
    Visitor II
    September 25, 2020

    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

    ST Employee
    September 25, 2020

    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