<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.emailquote, li.emailquote, div.emailquote
{mso-style-name:emailquote;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:1.0pt;
border:none;
padding:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
span.token
{mso-style-name:token;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Dear Björn,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thank you once again for the update. I tried to port Litmus-rt to the Raspberry Pi (local building). I have one RP 3 (version 2) and my operating system is Raspbian
Stretch with Desktop(4.9) – I also tried the Lite version . To do so I did the following (more or less the same as
<a href="https://www.litmus-rt.org/installation.html">https://www.litmus-rt.org/installation.html</a>)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<pre>$ sudo apt install libncurses-dev git libssl-dev bc<o:p></o:p></pre>
<pre>$ cd <code>mkdir litmus<o:p></o:p></code></pre>
<pre><code>$ cd litmus<o:p></o:p></code></pre>
<pre><code>$ export=/home/pi/litmus<o:p></o:p></code></pre>
<pre><code>$ git clone <a href="https://github.com/LITMUS-RT/litmus-rt.git">https://github.com/LITMUS-RT/litmus-rt.git</a><span style="color:#1F497D"><o:p></o:p></span></code></pre>
<pre><code><o:p> </o:p></code></pre>
<pre><code># I got the Raspbian sources and generated a .config file based on bcm2709_defconfig<o:p></o:p></code></pre>
<pre><code>$ cd <o:p></o:p></code></pre>
<pre><code>$ git clone </code><span class="token">--</span><code>depth</code><span class="token">=1</span><code> <a href="https://github.com/raspberrypi/linux">https://github.com/raspberrypi/linux</a><span style="color:#1F497D"><o:p></o:p></span></code></pre>
<pre><code>$ cd linux<o:p></o:p></code></pre>
<pre><code>$ make bcm2709_defconfig<o:p></o:p></code></pre>
<pre><code><o:p> </o:p></code></pre>
<pre><code>$ cd $DIR/litmus-rt<o:p></o:p></code></pre>
<pre><code>$ cp ~/linux/.config .config<o:p></o:p></code></pre>
<pre><code># I adjusted the .config files as described in the Litmus-rt documentation <o:p></o:p></code></pre>
<pre><code>$ make menuconfig</code><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><code>$ make </code><span class="token">-</span><code>j4 zImage modules dtbs<o:p></o:p></code></pre>
<pre><code>$ sudo make modules_install<o:p></o:p></code></pre>
<pre><code>$ sudo make install </code><code><span style="font-family:Wingdings">ß</span> I already made my /boot partition in my SD card greater than 1 GB<o:p></o:p></code></pre>
<pre><code><o:p> </o:p></code></pre>
<pre><code>$ sudo cp arch</code><span class="token">/</span><code>arm</code><span class="token">/</span><code>boot</code><span class="token">/</span><code>dts</code><span class="token">/*.</span><code>dtb </code><span class="token">/</span><code>boot</code><span class="token">/ </span><span class="token"><span style="font-family:Wingdings">ß</span></span><span class="token"> I didn’t see any dtb files related to the RP 3</span><code><o:p></o:p></code></pre>
<pre><code>$ sudo cp arch</code><span class="token">/</span><code>arm</code><span class="token">/</span><code>boot</code><span class="token">/</span><code>zImage </code><span class="token">/</span><code>boot</code><span class="token">/kernel-litmus.</span><code>img<o:p></o:p></code></pre>
<pre><o:p> </o:p></pre>
<pre># I appended ‘kernel=kernel-litmus.img’ to the config.txt file so that the litmus kernel could be selected during boot<o:p></o:p></pre>
<pre>$ sudo nano /boot/config.txt<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>$ sudo reboot <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Unfortunately it got stuck on the rainbow screen which means that the system is not booting my image. Since you got it running on the RP, can you please shed some light on this matter? <o:p></o:p></span></pre>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Best,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Jorge</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">
</span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black"><br>
<br>
</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> litmus-dev [mailto:litmus-dev-bounces@lists.litmus-rt.org]
<b>On Behalf Of </b>Björn Brandenburg<br>
<b>Sent:</b> Montag, 4. Dezember 2017 18:30<br>
<b>To:</b> litmus-dev@lists.litmus-rt.org<br>
<b>Subject:</b> Re: [LITMUS^RT] Litmus on single-board computer<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">On 4. Dec 2017, at 18:25, Martinez Garcia Jorge Luis (DGS-EC/ESB2) <<a href="mailto:JorgeLuis.MartinezGarcia@de.bosch.com">JorgeLuis.MartinezGarcia@de.bosch.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I want to know, if Litmus RT has already been ported to any single-board computer such as Raspberry Pi or BeagleBoard.
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I look forward to hearing from you.<o:p></o:p></span></p>
</div>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Dear Jorge,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">yes, the current version of LITMUS^RT is known to work on the Raspberry Pi 3, and the system has been used on various ARM SoCs in the past.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Best,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Björn <o:p></o:p></p>
</div>
</div>
</body>
</html>