- Copy SD Card Image to an SD Card
- Copy Software to the Board via SSH and SCP
- Getting and Running the PHYTEC VM
- Install FTDI Driver on Windows
- Set Static IP Address in Ubuntu 20.04 LTS
- Setup a Second Network Interface in the Virtual Machine
- Setup qbee Device Management on phyBOARD-Polis
- Using phyLinux to build a yocto BSP with a build-container
- Using thingsboard.io to connect phyBOARD-Polis to the Cloud
Add a Given Recipe to BSP
Goal
Add a given recipe to your BSP and build the BSP with the new recipe in it.
Preconditions
- The PHYTEC VM is on the host system and boots correctly:Getting and Running the PHYTEC VM
- You have an initialized phyLinux folder and a Yocto build in it. (Create a BSP using phyLinux)
Tutorial
This tutorial will show you how to add a new recipe to a given BSP build. To show you the different steps you will have to do, this tutorial will add the text editor "vim" to the given BSP.
Add a Recipe to BSP
If you already have an initialized folder for the PHYTEC-BSP, you will find a folder named "conf" in it.
cd Path/to/your/BSP/folder/ # change directory to your BSP folder source sources/poky/oe-init-build-env # source the necessary build pipeline, and this will also set your actual path to the right build folder ###### # Your path should look similar to: ~/Desktop/yocto/build -> the last name is the build folder cd ./conf # change directory into the configuration folder #### # in this folder you should find a file named "local.conf" # At the bottom of this file you can add the line echo 'IMAGE_INSTALL_append += "vim"' >> local.conf # and then run a bitbake build
Summary
After the build is finished, you can copy the result image to an sdcard (Copy SD Card Image to an SD Card) and use vim in the BSP.