Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.
dust-7Public archive

About

Boot an Orange Pi 3B from SPI flash directly to SATA M.2 SSD, without requiring an SD card as intermediary.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Update: Armbian now supports booting Orange Pi 3B from SATA SSDs. If you use Armbian, you can ignore this repo.

For more info, see PR.


This repo contains patches to enable an Orange Pi 3B to boot from SPI flash to a SATA M.2 SSD.

Note that the patches drop support for NVME M.2 SSDs as a consequence.

How to apply patches to your Orange Pi 3B

Pick any one method (ordered from easiest to hardest):

  1. Use Armbian image with sata patches applied
  2. Build patched image using Github Actions
  3. Import patches to your own Armbian build repo
  4. Install patched linux-u-boot and linux-dtb debs

Use Armbian image with sata patches applied

  1. Download image from Releases > Current branch > Assets > Armbian-unofficial_... .img.xz
  2. Flash image to SD card and boot.
  3. From shell, type nand-sata-install.
  4. Select Boot from MTD Flash - system on SATA, USB or NVMe.

Build patched image using Github Actions

  1. Clone this repo.
  2. Build your own image using Github Actions.

Import patches to your own Armbian build repo

  1. Copy userpatches folder into your build repo.
  2. Build image. Note that patches only apply to Current branch (kernel v6.18). Example: ./compile.sh build BOARD=orangepi3b BRANCH=current BUILD_DESKTOP=no BUILD_MINIMAL=no KERNEL_CONFIGURE=no RELEASE=trixie

Install patched linux-u-boot and linux-dtb debs

  1. Build your own Armbian image (must be Current branch). Example: ./compile.sh build BOARD=orangepi3b BRANCH=current BUILD_DESKTOP=no BUILD_MINIMAL=no KERNEL_CONFIGURE=no RELEASE=trixie
  2. Download debs from Releases > Current branch > Assets.
  3. Install debs using sudo dpkg -i <path to deb>.
  4. Flash newly-installed U-Boot to SD Card using nand-sata-install.
  5. Reboot. After reboot you should be able to see your SATA SSD (e.g. from lsblk).
  6. Flash U-Boot to SPI flash and system to SSD using nand-sata-install.

About

Boot an Orange Pi 3B from SPI flash directly to SATA M.2 SSD, without requiring an SD card as intermediary.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors