Traditionally, booting Linux on the ROCK64 required an eMMC or microSD card, however it is now possible to boot without those, assuming the SPI memory has been flashed. The ROCK64 contains an onboard 128Mbit SPI flash memory, which can be flashed with U-Boot in order to provide additional boot options:
- USB2 / USB3 drive
- PXE
- microSD
- eMMC
-
Download the latest u-boot-flash-spi.img.xz image
-
Write it to a microSD card using
dd
orEtcher
# From Linux or macOS xz -k -d -c -v -T 3 u-boot-flash-spi.img.xz | dd of=/dev/<sdcard> bs=1M
Make sure you write to the correction location, it will destroy all data.
-
Insert the microSD card
-
Wait for it to boot. It will automatically erase the SPI memory, and flash U-Boot
-
You should see: the power LED (white LED) flicker once per second, and:
SF: ... bytes @ 0x8000 Written: OK
-
Remove the microSD card
Tested successfully with Debian Stretch Minimal 0.6.15-175
-
Prepare your device (USB drive, microSD, PXE, whatever) with your chosen Linux distribution
-
Boot method:
- Boot from microSD/eMMC/USB drive: write the image using
dd
orEtcher
- Boot from PXE: we assume you already know what you're doing
- Boot from microSD/eMMC/USB drive: write the image using
-
Reset the ROCK64
-
You should see U-Boot starting from SPI memory, and then booting Linux
Make sure you remove the microSD card containing the u-boot-flash-spi
image, otherwise on reset it will erase/write the SPI memory once again.
Boot order:
- SPI flash
- eMMC (disable with jumper)
- microSD
- USB drive
- PXE
If you're currently running the OS from microSD, and want to switch to a USB/SSD drive, follow the instructions on this page.