I’m new to the Odyseey community. Since Odyssey-STM32MP157C is based on STM32MP157C I’m wondering if I can use STLinux on it.
Many thanks if someone can answer my question!
Check here: https://github.com/Seeed-Studio/meta-st-odyssey
The README.md shows how to build openstlinux with Yocto and the odyssey layer.
Thank you for the info, Ben!
Which bitbake version should be used? I have tried 1.0, 1.17 and 1.46, they all complained or bb import, e.g.,
dzeng@ubuntu:~/Downloads/bitbake-1.46.8/bin$ ./bitbake -h
Traceback (most recent call last):
- File “./bitbake”, line 19, in *
- import bb*
ModuleNotFoundError: No module named ‘bb’
And I can’t import bb manually from either python2 or python3. What is wrong with my env?
Not sure about using bitbake in python, but if you follow the instrucitons in the README.md on this github page: https://github.com/Seeed-Studio/meta-st-odyssey bitbake will be enabled after this invocation:
DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh
You can then add the meta-layer and then build the weston/core images.
Executing “DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh” failed because it’s looking for the template samples from openembedded-core directory to create bbalyers.conf and local.conf:
Is the file there? (.templateconf) If so, it may be a permissions issue (you installed with “root” permissions or something like that).
I’ll dig more.