09-25-2026, 11:19 PM
Flashing and Erasing the SPI
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
1. Write the U-Boot image
Download the latest u-boot-flash-spi.img.xz image
Write it to a microSD card using dd or Etcher
# 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.
https://github.com/ayufan-rock64/linux-b...ash-spi.md
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
1. Write the U-Boot image
Download the latest u-boot-flash-spi.img.xz image
Write it to a microSD card using dd or Etcher
# 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.
https://github.com/ayufan-rock64/linux-b...ash-spi.md

