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.
Pick any one method (ordered from easiest to hardest):
- Use Armbian image with sata patches applied
- Build patched image using Github Actions
- Import patches to your own Armbian build repo
- Install patched linux-u-boot and linux-dtb debs
- Download image from Releases > Current branch > Assets > Armbian-unofficial_... .img.xz
- Flash image to SD card and boot.
- From shell, type
nand-sata-install. - Select
Boot from MTD Flash - system on SATA, USB or NVMe.
- Clone this repo.
- Build your own image using Github Actions.
- Copy userpatches folder into your build repo.
- 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
- 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 - Download debs from Releases > Current branch > Assets.
- linux-u-boot: linux-u-boot-... .deb
- linux-dtb: linux-dtb-... .deb
- Install debs using
sudo dpkg -i <path to deb>. - Flash newly-installed U-Boot to SD Card using
nand-sata-install. - Reboot. After reboot you should be able to see your SATA SSD (e.g. from
lsblk). - Flash U-Boot to SPI flash and system to SSD using
nand-sata-install.