Add an initial README describing very briefly how to check out and build the phyHUB BSP. Further links to our detailed BSP manuals are provided for more in-depth information. Signed-off-by: Martin Schwan <m.schwan@phytec.de> |
||
|---|---|---|
| BSP-Yocto-phyhub-scarthgap.xml | ||
| LICENSE.MIT | ||
| README.md | ||
manifest-phyhub
This repository holds the manifests describing how to build the phyHUB BSP. The manifest XML files are used by PHYTEC's phyLinux, which is a script checking out the desired BSP. phyLinux uses Google's repo tool internally to process the information stored in the manifest.
Quick Start
Get phyLinux from the PHYTEC download server:
mkdir yocto
cd yocto
wget https://download.phytec.de/Software/Linux/Yocto/Tools/phyLinux
chmod +x phyLinux
Download the BSP using phyLinux:
./phyLinux init -x /path/to/manifest-phyhub/BSP-Yocto-phyhub-scarthgap.xml
It is recommended to start a build container, before setting up the environment, to make sure the correct distribution is being used. Using either podman or docker, start the container with:
podman run --rm=true --detach-keys="" -v $HOME:$HOME --tmpfs /tmp -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK -v $SSH_AUTH_SOCK:$SSH_AUTH_SOCK -e TERM=$TERM --userns=keep-id --pids-limit=-1 --workdir=$PWD -it docker.io/phybuilder/yocto-ubuntu-22.04 bash
Set up the environment:
source sources/poky/oe-init-build-env
If necessary, adjust the build configuration:
vim conf/local.conf
Build the BSP:
bitbake phytec-liot-image
bitbake phytec-liot-bundle
The resulting images are placed in the deploy directory, depending on the Yocto distro and machine name:
deploy-ampliphy-vendor-rauc/images/phyboard-pollux-imx8mp-3/
Reference
The build container image sources are available at: https://github.com/phytec/phybuilder-container
For a detailed documentation, see the PHYTEC BSP manual: https://phytec.github.io/doc-bsp-yocto/bsp/imx8/imx8mp/head.html
For setting up and building the BSP, specifically: https://phytec.github.io/doc-bsp-yocto/bsp/imx8/imx8mp/head.html#building-the-bsp
Detailed informations about selecting the correct boot device: https://phytec.github.io/doc-bsp-yocto/bsp/imx8/imx8mp/head.html#installing-the-os
Flashing the image from SD card to e.MMC: https://phytec.github.io/doc-bsp-yocto/bsp/imx8/imx8mp/head.html#flash-e-mmc-from-sd-card
License
The content of this repository is released under the MIT license. See the
LICENSE.MIT file for more information.