<tdclass="left"><ahref="#sec-1-5">Setup the CI system</a></td>
</tr>
</tbody>
</table>
</div>
<p>
What follows are instructions for how to set up a Rock64 ARM board to do continuous builds of <ahref="https://freedombone.net">Freedombone</a> images. At present this only works for ARM images, since some Debian packages are only available for x86.
It's cheap. It has a reasonably powerful CPU which isn't vulnerable to spectre. You can get a version of it with 4GB RAM.
</p>
<p>
The down side is that like all 64bit ARM boards currently it has proprietary boot blobs (see <ahref="https://github.com/ayufan-rock64/rkbin">Rockchip firmware</a>). There isn't really any escaping from that at present. This system won't be especially security sensitive and will usually only be available within the local network.
</p>
<p>
Having a fairly powerful CPU means that it can build multi-gigabyte images within a reasonable amount of time, rather than taking days as it would on slower systems. And being an ARM board electrical power consumption is still low, so it's not going to put much of a ding in anyone's solarpunk energy budget.
<li>Rock64 (preferably not the Pro version which is Spectre vulnerable)
</li>
<li>SSD
</li>
<li>USB3 to SATA adaptor
</li>
<li>5v 2-3A Mains power supply with 3.5mm barrel plug
</li>
<li>Cat5/6 ethernet patch cable
</li>
</ul>
<p>
A 64GB SSD is about the smallest you can get away with if you want to build all of the images. If you just want to build one or two images then you could go lower than that.
</p>
<p>
In the below image there's also an Atheros wifi dongle plugged in, but you don't need that for the this system.
Now you will need to obtain the debian stretch image for the Rock64 and copy it to the SSD. There are various ways to do this. If you have a desktop machine you can connect the SSD that way, or you can use the USB to SATA adaptor with a laptop. Replace /dev/sdX with the drive for the SSD.
To view build results in a non-Tor browser navigate to <ahref="http://rock64">http://rock64</a>. Selecting the icon on the left side of the page will go to the downloads section so that you can download images.
</p>
</div>
</div>
</div>
</div>
<divid="postamble"class="status">
<style type="text/css">
.back-to-top{
position:fixed;
bottom:2em;
right:0px;
text-decoration:none;
color:#000000;
background-color:rgba(235,235,235,0.80);
font-size:12px;
padding:1em;
display:none;
}
.back-to-top:hover{
background-color:rgba(135,135,135,0.50);
}
</style>
<divclass="back-to-top">
<ahref="#top">Back to top</a> | <ahref="mailto:bob@freedombone.net">E-mail me</a>