<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Steps for an Optimized Minimal PI image to run CoDeSys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/32ae084007/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/32ae084007/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/32ae084007/</id><updated>2020-02-27T16:28:37.450000Z</updated><subtitle>Recent posts to Steps for an Optimized Minimal PI image to run CoDeSys</subtitle><entry><title>Steps for an Optimized Minimal PI image to run CoDeSys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/32ae084007/?limit=25#f01e" rel="alternate"/><published>2020-02-27T16:28:37.450000Z</published><updated>2020-02-27T16:28:37.450000Z</updated><author><name>jzhvymetal</name><uri>https://forge.codesys.com/u/jzhvymetal/</uri></author><id>https://forge.codesys.com7d6a0ea397eb67b48201e2b066f6af50eb2641d8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I held off releasing this until the official Deiban package was available.  I was able to run multiple EtherCat Servo's running CNC with the optimized image and one of the following USB Ethernet adapters.  &lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://www.amazon.com/gp/product/B00007IFED/ref=oh_aui_detailpage_o01_s00?ie=UTF8&amp;amp;psc=1" rel="nofollow"&gt;http://www.amazon.com/gp/product/B00007IFED/ref=oh_aui_detailpage_o01_s00?ie=UTF8&amp;amp;psc=1&lt;/a&gt;&lt;br/&gt;
&lt;a class="" href="http://www.amazon.com/gp/product/B00BJOZNV2/ref=oh_aui_detailpage_o01_s00?ie=UTF8&amp;amp;psc=1" rel="nofollow"&gt;http://www.amazon.com/gp/product/B00BJOZNV2/ref=oh_aui_detailpage_o01_s00?ie=UTF8&amp;amp;psc=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This image is an optimized PI image that does not have remote desktop.  To connect use SSH (putty) with the following:&lt;/p&gt;
&lt;p&gt;user: root&lt;br/&gt;
passoword:raspberry&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;By default both eth0 DHCP eth1 is static 192.168.10.20.  To change at a SSH console run SSH console "nano /etc/network/interfaces"&lt;/li&gt;
&lt;li&gt;If you plan to use a bigger card at a SSH console run "raspi-config" and expand filesystem&lt;/li&gt;
&lt;li&gt;Image has a symbolic link on BOOT partion so you can modify "interfaces" to setup ehternet adapters IP  on root of SD-CARD.  If you plan to use Ethercat make sure to bring up adapter without an IP for better pefomance.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;What the image modification the image has:&lt;br/&gt;
1.  Uses a minimal Raspian image&lt;br/&gt;
2.  Updates all installed Apps &lt;br/&gt;
3.  Updates Firmware of PI&lt;br/&gt;
4.  Overclocks PI slightly to 800MHZ&lt;br/&gt;
5.  Optimizes CPU governor &lt;br/&gt;
6.  Uses new kernel that has USB driver rewritten&lt;br/&gt;
7.  Optimizes File system and turns off swap file&lt;br/&gt;
8.  Uses RamLog so SD card does not cause hit in performance&lt;br/&gt;
9.  Turns off IPv6&lt;br/&gt;
10. Uses Dropbear vs OpenSSH&lt;br/&gt;
11. Uses Dash instead of Bash&lt;br/&gt;
12. Allows for second USB Ethernet&lt;br/&gt;
13. Turbo Mode turned off for smsc95xx&lt;br/&gt;
14. Optimized Kernel Settings in  /etc/sysctl.conf&lt;br/&gt;
15. Disabled NTP&lt;br/&gt;
16. Installed killall that is required for Codesyscontrol script.&lt;br/&gt;
17. Symbolic link on BOOT partition so you can modify "interfaces" on root of SD-CARD&lt;/p&gt;
&lt;p&gt;Please let me know if you find any other optimizations for running CoDeSys.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=716" rel="nofollow"&gt;Steps How Image was built_V4.txt &lt;span&gt;&lt;span&gt;[7.32 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>