<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://forge.codesys.com/trg/raspberry-pi/wiki/Home/</link><description>Recent changes to Home</description><language>en</language><lastBuildDate>Thu, 16 Jan 2020 21:59:56 -0000</lastBuildDate><atom:link href="https://forge.codesys.com/trg/raspberry-pi/wiki/Home/feed" rel="self" type="application/rss+xml"></atom:link><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/trg/raspberry-pi/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -64,6 +64,18 @@

 If you want to have a minimal debian system with the rt-preempt patch already included, you can simply use the [download link](https://forge.codesys.com/trg/raspberry-pi/images/HEAD/tree/trunk/) at the top of this page.

+The username and password of this image is "wharfie". The root password is "root". To login via ssh, you can only use the user wharfie. Root is not allowed to login via ssh. To get root access, you can then use the command "su":
+
+~~~
+$&amp;gt; ssh wharfie@192.168.100.100
+login as: wharfie
+password: &amp;lt;-- here you enter the wharfie password
+
+$&amp;gt; su -
+Password: &amp;lt;-- here you enter the root password
+~~~
+
+
 If you want to use Raspbian or you want to roll it by your own, you can follow the following steps...

 Download the rt-preempt patch script from OSADL.
@@ -92,9 +104,6 @@
 cp /usr/src/linux-*-rt*/arch/arm/boot/zImage /boot/zImage-$release;
 cp /usr/src/linux-*-rt*/arch/arm/boot/zImage /boot/$KERNEL.img;
 ~~~
-
-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.

 ## Network Configuration

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Thu, 16 Jan 2020 21:59:56 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com7863e111bfee447cc7d670a10b6f802215659599</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/trg/raspberry-pi/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -127,3 +127,8 @@
 netmask 255.255.255.0
 gateway 10.0.0.1
 ~~~
+
+# Licenses
+The image, which is provided in this project contains a lot of open source licenses. To get a complete list of included licenses, sorted by packages, please refer to the file [license.tar.bz2](https://forge.codesys.com/svn/trg,raspberry-pi,images/trunk/license.tar.bz2).
+
+To get the source code of all the packages, which are included in the image, please refer to [sources.tar.bz2](https://forge.codesys.com/svn/trg,raspberry-pi,images/trunk/sources.tar.bz2).
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Fri, 20 Sep 2019 21:45:29 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com74476be5ee07a5c294f82fb3e1a65f242b1ed695</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/trg/raspberry-pi/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -58,9 +58,16 @@
 ## Realtime Patch
 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](https://www.osadl.org/), and the CODESYS Group is a [founding member](https://www.osadl.org/?id=157) 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". 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](https://www.osadl.org/Profile-of-system-in-rack-7-slot-3.qa-profile-r7s3.0.html?shadow=1).
+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](https://www.osadl.org/Profile-of-system-in-rack-7-slot-3.qa-profile-r7s3.0.html?shadow=1).

 ### 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](https://forge.codesys.com/trg/raspberry-pi/images/HEAD/tree/trunk/) 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...
+
+Download the rt-preempt patch script from OSADL.
+
 ~~~bash
 wget --output-document=/usr/src/osadl.sh https://www.osadl.org/monitoring/showpatchscript.php?veryshorthost=r7s3s;
 cd /usr/src;
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Wed, 12 Dec 2018 22:20:21 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com8c2ba9f29aece1231d64cd6781206f6e898688d5</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/trg/raspberry-pi/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -1,3 +1,5 @@
+[[download url=https://forge.codesys.com/trg/raspberry-pi/images/HEAD/tree/trunk/ label="rt-preempt image"]]
+
 [TOC]

 # Raspberry Pi Hardware
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Sun, 11 Nov 2018 11:26:34 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com6a6a8ae9f0633e67d0a42412052ddd1ac8817693</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/trg/raspberry-pi/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -58,6 +58,7 @@

 As not all of the necessary changes of the kernel are in the vanilla kernel, yet - we usually talk about the "realtime patch". 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](https://www.osadl.org/Profile-of-system-in-rack-7-slot-3.qa-profile-r7s3.0.html?shadow=1).

+### RPI 2 / 3
 ~~~bash
 wget --output-document=/usr/src/osadl.sh https://www.osadl.org/monitoring/showpatchscript.php?veryshorthost=r7s3s;
 cd /usr/src;
@@ -71,7 +72,7 @@
 cd /usr/src/linux-*-rt*;
 export KERNEL=kernel7;
 yes | make oldconfig;
-make;
+make zImage;
 make modules_install:
 ~~~

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Sat, 10 Nov 2018 07:04:18 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com784f1665aaa1a770f2109f79d5313074201c8223</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/trg/raspberry-pi/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -56,7 +56,7 @@
 ## Realtime Patch
 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](https://www.osadl.org/), and the CODESYS Group is a [founding member](https://www.osadl.org/?id=157) 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". 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](https://www.osadl.org/Profile-of-system-in-rack-7-slot-3.qa-profile-r7s3.0.html).
+As not all of the necessary changes of the kernel are in the vanilla kernel, yet - we usually talk about the "realtime patch". 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](https://www.osadl.org/Profile-of-system-in-rack-7-slot-3.qa-profile-r7s3.0.html?shadow=1).

 ~~~bash
 wget --output-document=/usr/src/osadl.sh https://www.osadl.org/monitoring/showpatchscript.php?veryshorthost=r7s3s;
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Fri, 09 Nov 2018 21:42:28 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com60b9df837e2a9649a7d15c6a85672e3d5127526d</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/trg/raspberry-pi/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -31,9 +31,89 @@
 **Note:** Remember to change the password of the user pi to secure the system!

 # Configuration
+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.

 ## Linux Distribution
+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:
+    *  less problems with corruptions of the SD Card 
+    *  less power consumption
+* [Distributing](/forge/wiki/Distribution/) an image to others is easier with Debian
+* 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.

 ## Realtime Patch
+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](https://www.osadl.org/), and the CODESYS Group is a [founding member](https://www.osadl.org/?id=157) 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". 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](https://www.osadl.org/Profile-of-system-in-rack-7-slot-3.qa-profile-r7s3.0.html).
+
+~~~bash
+wget --output-document=/usr/src/osadl.sh https://www.osadl.org/monitoring/showpatchscript.php?veryshorthost=r7s3s;
+cd /usr/src;
+chmod 755 osadl.sh;
+./osadl.sh;
+~~~
+
+Then you can simply compile the kernel, as the default configuration, used in the test rack, is already prepared:
+
+~~~bash
+cd /usr/src/linux-*-rt*;
+export KERNEL=kernel7;
+yes | make oldconfig;
+make;
+make modules_install:
+~~~
+
+To install it, just copy a few files to /boot.
+
+~~~
+release=$(cut -d" " -f3 include/generated/utsrelease.h | tr -d '"')
+cp /usr/src/linux-*-rt*/arch/arm/boot/zImage /boot/zImage-$release;
+cp /usr/src/linux-*-rt*/arch/arm/boot/zImage /boot/$KERNEL.img;
+~~~
+
+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.

 ## Network Configuration
+
+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)
+* dhcpcd.conf
+* systemd units
+* ...
+
+I found, that a good german explaination of all the possibilities was an [NetzMafia.de](http://www.netzmafia.de/skripten/hardware/RasPi/RasPi_Network.html).
+
+For the english speaking folks, just add the following to your **/etc/dhcpcd.conf**:
+
+~~~
+interface eth0
+
+static ip_address=10.0.0.10/24
+static routers=10.0.0.1
+static domain_name_servers=10.0.0.1
+~~~
+
+That's the easiest way, as it keeps the default configuration of the network services (dhcpcd, networkd, ...).
+
+For versions proir to "etch", you can add the following to **/etc/network/interfaces**:
+
+~~~
+iface eth0 inet static
+address 10.0.0.10
+netmask 255.255.255.0
+gateway 10.0.0.1
+~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Thu, 08 Nov 2018 13:35:53 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com6a6c22c4e7696e08938848961ce554d8a3565006</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/trg/raspberry-pi/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,7 +1,39 @@
-Welcome to your wiki!
+[TOC]

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+# Raspberry Pi Hardware
+The Raspberry Pi is an ARM based, very powerful, but cheap mini computer. The natively supported operating system is Linux-Userbereich. 

-The wiki uses [Markdown](/trg/raspberry-pi/wiki/markdown_syntax/) syntax.
+For automation projects, the direct access to GPIOs, SPI, I2C and One Wire is a big value of the board.

-[[members limit=20]]
+## Support in CODESYS
+CODESYS can easily be installed from the [store](https://store.codesys.com/codesys-control-for-raspberry-pi-sl.html). It can then be used in a 2h demo, but restarted as often as possible.
+
+To install CODESYS, follow the following steps...
+
+### Prepare CODESYS
+* Register in the CODESYS Store
+* Download the Raspberry Pi package
+* Install the package by double clicking on it
+
+### Prepare the Pi
+* Download the [Raspbian Image](https://www.raspberrypi.org/downloads/raspbian/)
+* Follow one of the [installation instructions](https://www.raspberrypi.org/documentation/installation/installing-images/README.md)
+* [Enable SSH](https://www.raspberrypi.org/documentation/remote-access/ssh/)
+* Boot the target and check if ssh works with e.g. [Putty](https://www.putty.org/)
+
+### Install the Runtime
+* Open CODESYS
+* Open the Deploy Tool: **Tools -&amp;gt; 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!
+
+# Configuration
+
+## Linux Distribution
+
+## Realtime Patch
+
+## Network Configuration
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Wed, 07 Nov 2018 21:56:04 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com48ff9e40ed77dfb386641b201cffc89081dc2389</guid></item><item><title>Home modified by codesys.com</title><link>https://forge.codesys.com/trg/raspberry-pi/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/trg/raspberry-pi/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;h6&gt;Project Members:&lt;/h6&gt;
	&lt;ul class="md-users-list"&gt;
		&lt;li&gt;&lt;a href="/u/codesys-com/"&gt;codesys.com&lt;/a&gt; (admin)&lt;/li&gt;
		
	&lt;/ul&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">codesys.com</dc:creator><pubDate>Tue, 02 Jan 2018 14:20:21 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com9a485764ab4c5f9a8fedcc7ebb593aa03cae4500</guid></item></channel></rss>