PHYTEC
Page 8
Get the BSP
Create a fresh project directory:
host$ mkdir ~/yocto
Download and run the phyLinux script:
host$ cd ~/yocto
host$ wget ftp://ftp.phytec.de/pub/Software/Linux/Yocto/Tools/phyLinux
host$ chmod +x phyLinux
host$ ./phyLinux init
Basic Set-Up
There are a few important steps that have to be done before the main build process.
Setting up the host: see
and NXP’s documentation
Yocto Reference Manual "Setting up the Host"
i.MX Yocto Project User's Guide "Host
. You will need to register on the NXP website to download this information. ( File will download automatically as a
archive.)
Setup"
.tar.gz
Setting up the Git configuration: see Yocto Reference Manual "Git Configuration"
Finding the Right Software Platform
The i.MX 8M Plus BSP is planned as a unified BSP, which means, in the future, it will support a set of different PHYTEC carrier boards (CB) with different
Systems on Module (SOMs). However, this ALPHA BSP supports the PHYTEC machine:
#@TYPE: Machine
#@NAME: phyboard-pollux-imx8mp-1
#@DESCRIPTION: PHYTEC phyBOARD-POLLUX i.MX8M Plus Alpha
#@ARTICLENUMBERS: KPB-03123-Alpha.A0
host:~/yocto$ MACHINE=phyboard-pollux-imx8mp-1 DISTRO=yogurt-vendor-xwayland source sources/poky/oe-init-build-
env
Software Platform Selection
To select the correct SoC, BSP version, and platform call:
host$ ./phyLinux init
It is also possible to pass this information directly using command line parameters:
host$ MACHINE=phyboard-pollux-imx8mp-1 ./phyLinux init -p imx8mp -r ALPHA1
Build Process
After you have downloaded all the metadata with phyLinux init, you have to set up the shell environment variables. This needs to be done every time you
open a new shell for starting builds. We use the shell script provided by
in its default configuration.
Poky
From the root of your project directory, type:
Note
As this is an alpha build, there will be several changes in both hardware and software. Please ensure that you are using the correct versions of
software and documentation for your board. Please check the