Create a system for flashing units
We need a good system for partitioning and flashing the eMMC after the devices have been tested. I propose the following plan.
- an SD image with a kernel and rootfs containing the HW test script and a modified install script
- boot this SD card from the left slot
- run HW test script and ensure unit passes
- run install script which does 3 things:
- download most current release bootloader and rootfs from server
- install to eMMC
- perform systemd nspawn since this is not yet done at the image build stage (unless built on native)