stm32-hotspot / stm32mp1-otbr-posix

Linux package for Openthread Border Router (OTBR) working with a Radio Co-Processor (RCP) STM32WB55 through a serial connection (FTDI) between STM32MPU and STM32WB. This meta-layer provides all recipes needed to compile "ot-br-posix".
Other
4 stars 2 forks source link

README.md BUILD section error #1

Open KunliangYAO opened 10 months ago

KunliangYAO commented 10 months ago

Hello,

I have tried the BUILD steps. But there is some small errors.

I would like to share with you the correct steps that I do on my PC to build the st-image-otbr, as the following:

(command:) mkdir ~/stm32mp1_openthread

(command:) cd ~/stm32mp1_openthread

(command:) git clone "https://github.com/stm32-hotspot/stm32mp1-otbr-posix.git"

[YAO: subfolder "stm32mp1-otbr-posix" is created]

(command:) repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23

(command:) repo sync

[YAO: subfolder "layers" is created]

(command:) DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh

[YAO: subfolder "build-openstlinuxweston-stm32mp1" is created, and we go into subfolder "build-openstlinuxweston-stm32mp1"]

(command:) bitbake st-image-weston

[This might take up to 10 hours to complete, depends on your network connection and your PC performance ... ]

(command:) bitbake-layers create-layer ../layers/meta-st/meta-otbr

(command:) cp -r ../stm32mp1-otbr-posix/meta-otbr ../layers/meta-st/

(command:) bitbake-layers add-layer ../layers/meta-st/meta-otbr

(command:) bitbake st-image-otbr

[Again, this might take several hours to complete ... ]

Could you please check and update the READM.md ?

Best regards Kunliang

JMBSTM commented 10 months ago

Hi @KunliangYAO Thank you for reporting this issue! By the way, did you manage to get the st-image-otbr at the end of the process without any other trouble? Best regards, --JM

KunliangYAO commented 10 months ago

Hi @JMBSTM,

Yes, with my steps, the "st-image-otbr" is successfully build. I have finally the "st-image-otbr-openstlinux-weston-stm32mp1.ext4". I'm based on OpenSTLinux V4.1

Best regards Kunliang