To get the BSP you need to have repo
installed and use it as:
Install the repo
utility:
$: mkdir ~/bin
$: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$: chmod a+x ~/bin/repo
Download the BSP source:
$: PATH=${PATH}:~/bin
$: mkdir yocto-stm32-dunfell
$: cd yocto-stm32-dunfell
$: repo init -b dunfell -u https://github.com/koansoftware/koan-stm32mp-bsp-repo
$: repo sync
At the end of the commands you have every metadata you need to start work with.
To start a simple image build:
$: MACHINE=stm32mp1-disco DISTRO=openstlinux-eglfs source setup-environment build
$: bitbake core-image-minimal
You can use any directory to host your build.
Please use GitHub (https://github.com/koansoftware/koan-stm32mp-bsp-repo) to submit issues or pull requests, or add to the documentation on the wiki. Contributions are welcome!