Trying to install Freedombox onto Cubietruck SSD

Cubietruck is based on Allwinner A20 processor. So, here is what I would do this working.

  1. Transfer FreedomBox image to SSD. If you are setting it up fresh, this is easy. While running from SD card, download the FreedomBox image and use the dd command as described in the manual page. If you want to transfer existing FreedomBox contents of SD card to SSD, then use any disk imaging tool to do this.
  2. Prepare a minimal SD card, with u-boot on it. This is because, IIRC, the ROM code on the Allwinner A20 can’t boot from SATA. Do the following to an SD card with no data on it:
dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=10
wget http://ftp.us.debian.org/debian/pool/main/u/u-boot/u-boot-sunxi_2020.07+dfsg-1_armhf.deb
dpkg -x u-boot-sunxi_2020.07+dfsg-1_armhf.deb temp
dd if=temp/usr/lib/u-boot/Cubietruck/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1k seek=8

Insert SD card, plugin SATA and boot. You will need the SD card for booting to work.