Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README.md BUILD section error #1

Open
KunliangYAO opened this issue Aug 21, 2023 · 2 comments
Open

README.md BUILD section error #1

KunliangYAO opened this issue Aug 21, 2023 · 2 comments

Comments

@KunliangYAO
Copy link

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
Copy link

JMBSTM commented Aug 25, 2023

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants