<abstract>
Notes for implementation of a microSD image for RoadRunner Test Bench
</abstract>

##Follow article @article='microsd_format' to partition and format a blank microsd.
<br>
##Follow article @article='download_roadrunner' to fill up partitions.
<br>

##Install Dougg Gilbert utilities 
<h2>Dougg Gilbert Utilities for armhf</h2>
<ul>
<li><a href="./sama5d3_utils-0.92.tgz">sama5d3_utils-0.92.tgz</a></li>
</ul>


<h2>How to compile Douglas Gilbert Utilities on roadrunner board</h2>
<pre class="terminal">
root@roadrunner:~#apt-get update
root@roadrunner:~#apt-get dist-upgrade
root@roadrunner:~#apt-get install build-essential
...
root@roadrunner:~#wget --no-check-certificate https://www.acmesystems.it/asquini/roadrunnertestbench/sama5d3_utils-0.92.tgz
root@roadrunner:~#tar -xvzf sama5d3_utils-0.92.tgz 
....
root@roadrunner:~# cd sama5d3_utils-0.92
root@roadrunner:~/sama5d3_utils-0.92# ls
ChangeLog  Makefile  build_debian.sh  debian  doc  readme.txt  src
root@roadrunner:~/sama5d3_utils-0.92# make
....
root@roadrunner:~/sama5d3_utils-0.92# make install
root@roadrunner:~#cd ..
</pre>
Now install python and acmepins package: 
<pre>
root@roadrunner:~#apt-get install python
....
root@roadrunner:~#git clone git://github.com/AcmeSystems/acmepins.git
root@roadrunner:~#cd acmepins
root@roadrunner:~/acmepins# python setup.py install
root@roadrunner:~/acmepins# cd ..
root@roadrunner:~#
</pre>

##Use the following dts and dtb files for test bench of RoadRunner:
<ul>
<li><a href="./acme-io-roadrunner.dts">acme-io-roadrunner.dts</a></li>
<li><a href="./acme-roadrunner.dtb">acme-roadrunner.dtb</a></li>
</ul>
Get the dtb file on the roadrunner boot partition/directory with:
<pre>
root@roadrunner:~#cd /boot
root@roadrunner:/boot#wget --no-check-certificate https://www.acmesystems.it/asquini/roadrunnertestbench/acme-roadrunner.dtb
root@roadrunner:/boot#cd /root
root@roadrunner:~#
</pre>
<br>
##Install memtester:
<pre>
root@roadrunner:~#apt-get install memtester
</pre>

#Get the test programs
<ul>
<li><a href="./trrRob.py">trrRob.py</a></li>
<li><a href="./date.py">date.py</a></li>
</ul>
<pre>
root@roadrunner:~#wget --no-check-certificate https://www.acmesystems.it/asquini/roadrunnertestbench/trrRob.py
root@roadrunner:~#wget --no-check-certificate https://www.acmesystems.it/asquini/roadrunnertestbench/date.py
</pre>

#Get the startup program mystart.sh and the modified rc.local to enable automatic print of the date after boot
<ul>
<li><a href="./mystart.sh">mystart.sh</a></li>
<li><a href="./rc.local">rc.local</a></li>
</ul>
<pre>
root@roadrunner:~#cd /etc
root@roadrunner:/etc#wget --no-check-certificate https://www.acmesystems.it/asquini/roadrunnertestbench/mystart.sh
root@roadrunner:/etc#chmod +x mystart.sh
root@roadrunner:/etc#mv rc.local rc.localORIGINAL
root@roadrunner:/etc#wget --no-check-certificate https://www.acmesystems.it/asquini/roadrunnertestbench/rc.local
root@roadrunner:/etc#chmod +x rc.local
root@roadrunner:/etc#cd /root
root@roadrunner:~#
</pre>

Modify /etc/network/interfaces in order to have a static IP address to have a faster boot in this way:

<pre>
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static                                                         
  address 192.168.0.10                                                                      
  netmask 255.255.255.0                                                         
  gateway 192.168.0.1
</pre>

If your network subnet is different from 0 you need to modify accordingly the trrRob.py network address for the eth0 test.
<br>

To enable autologin you can follow these article:
https://unix.stackexchange.com/questions/401759/automatically-login-on-debian-9-2-1-command-line
<br>

