Boot the target and check if ssh works with e.g. Putty
Install the Runtime
Open the Deploy Tool: Tools -> Update Raspberry Pi
Enter IP Address
Enter username and password (e.g. user: pi, password: raspberry)
Click on "install"
Note: Remember to change the password of the user pi to secure the system!
Raspberry Pi is an open plattform with tons of extensions and compatible hardware. The configuration of those has to be done with standard mechanisms in Linux. CODESYS doesn't assist or hinder you with the configuration of the Linux system.
You can choose several linux distributions to run on the Raspberry Pi. But the main one, and which is officially supported by the Raspberry Pi and by CODESYS is Raspbian.
Raspbian is based on Debian, but it is compiled from scratch to support all Raspberry Pi variants. Because of this it is not compatible with Debian anymore.
For more advanced users of the Raspberry Pi 2 or 3, I would recommend to use a stock debian. This has a few advantages:
You start with a minimal system, which results in:
You have full access to all packages, included in the debian distribution
Debian for ARM splits up into two versions:
armhf, supports RPI 2 / 3
armel, supports RPI 0 / 1
CODESYS uses "armhf", which is also the standard, which Raspbian uses. While Raspbian compiles it slightly different, to support also RPI 0 / 1 with the same distribution.
There is an Open Source Community founded and driven by several industrial companies, which is working on reducing the Jitter and Interrupt Latency of the stock Linux Kernel. The goal of this effort is to make the Linux Kernel realtime aware. This community is called OSADL, and the CODESYS Group is a founding member of it.
As not all of the necessary changes of the kernel are in the vanilla kernel, yet - we usually talk about the "realtime patch" or rt-preempt in short. As this is a patch-set, which can be applied to a vanilla kernel, to improve its realtime performance. You can apply it most easily by using the patch-scripts, provided by the Test-Farm.
RPI 2 / 3
If you want to have a minimal debian system with the rt-preempt patch already included, you can simply use the download link at the top of this page.
If you want to use Raspbian or you want to roll it by your own, you can follow the following steps...
Or you can simply use the image, which you can download, using the download link on the right.
This is a stock debian image, where the realtime patch is already applied.
By default the Raspberry Pi is using dhcp. Before version "etch" of Raspbian, the configuration of a static IP could easily done by modifying /etc/network/interfaces. Since then, things became again much more complicated, as you have so many options:
/etc/network/interfaces (but by disabling / blacklisting it in dhcpcd)
I found, that a good german explaination of all the possibilities was an NetzMafia.de.
For the english speaking folks, just add the following to your /etc/dhcpcd.conf: