- 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
Getting and Running the PHYTEC VM
Goal
This tutorial will show you where you can download the Phytec virtual machine and import it into Orcale Virtualbox (https://www.virtualbox.org/)
Preconditions
- Download and install virtualbox on your system correctly
Tutorial
Download the Phytec virtual machine from the website
At the moment you can download an individual virtual machine for each development kit from the website. This tutorial will show an example for the "phyBOARD-Pollux-kit" (see: https://www.phytec.de/produkte/development-kits/phyboard-pollux-kit/) virtual machine, the way you can download the other virtual machines is similar for this tutorial. The difference between the virtual machines is the preinstalled SDK, which is individual for each development kit.
With this link you will finde the virtual machine packed in an OVA-file and the sha256sum-file.
When you click on th file the download will start.
Check the downloaded OVA-file with the given sha256sum-file
This step is optional.
If you want to check if the downloaded file is the same than the file which is given in the download area, you can use the given sha256sum.txt file.$
Check on Windows
- Open a powershell and navigate to the folder, where the ova-file and the sha256sum file is downloaded.
Calculate the filehash
Calculate Filehash> Get-FileHash <File> -Algorithm SHA256
This line will give you the calculated filehash with the sha256 algorithm.
Now it is possible to compare the given filehash with the stored filehash from the sha256sum file
Comapre the two filehashes> $calculatedHash = $(Get-FileHash <File> -Algorithm SHA256) > $content = $(Get-Content <SHA256sum>) > $hash = $content.split(" ")[0] > $calculatedHash.Hash -eq $hash
If the powershell returns true are the two hashes equal and everything is ok.
Check on Linux
- Open a termianl and navigate to the folder where the ova-file and the sha256sum file is downloaded
If the OVA and the hashsum-file are stored in the same folder, you can use the command and hit Enter
Compare filehash$ sha256sum -c <Filehashfile>
If the command returns an "OK" everything os ok and can be used.
Import the virtual machine into virtualbox
- Open the virtualbox manager
- click on import
- choose the correct downloaded ova-file
- Check the shown information
- Click on import
- When the import-process finished then you will find the imported virtual machine on the left side of the managescreen of virtualbox