Quickstart Instructions
PHYTEC Messtechnik GmbH 2015 L-781e_7 65
6.1.3 Set the Git Configuration
The Board Support Package is heavily based on Git. Git needs some information from you as
a user to be able to identify which changes were done by whom. So at least set the name
and email in your git configuration, otherwise building the BSP generates many warnings.
Enter following two commands to directly set them
gitconfig‐‐globaluser.email“your_email@example.com”
gitconfig‐‐globaluser.name“namesurname”
6.1.4 Build the Board Support Package and Install the SDK
In this chapter we build our Board Support Package with the help of the Yocto Project.
First we create a folder for the BSP in our example we use the path as it is in our virtual
machine
Enter the following commands:
sudo mkdir‐p/opt/PHYTEC_BSPs/phyFLEX‐i.MX6/
sudochmod‐R777/opt/PHYTEC_BSPs/
cd/opt/PHYTEC_BSPs/phyFLEX‐i.MX6/
Download the phyLinux script and set execution privileges:
wgetftp://ftp.phytec.de/pub/Software/Linux/Yocto/Tools/phyLinux
chmod+x./phyLinux
The phyLinux script is a basic management tool for PHYTEC Yocto BSP releases. It is mainly a
tool to get started with the BSP structure. You can get all the BSP sources without the need
of interacting with repo or git.
Start the phyLinux script
./phyLinuxinit
During the execution of the init command, you need to choose your processor platform
(iMX6), PHYTEC's BSP release number (PD15.1.1) and the hardware you are working on
(phyflex-imx6-2 ).
After you downloaded all the meta data with phyLinux, 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 poky in its default configuration.
Type:
sourcesources/poky/oe‐init‐build‐env