macOS flasher

Starflash

Download a tested NanoPi R2S Alpine image, check the SD card first, then write it with an explicit command.

download

NanoPi R2S Alpine

Built for rk3328 on 2026-06-05. Compressed image is about 86 MB and expands to about 954 MB.

Download image

1

Find the card

diskutil list

Use the whole external disk, for example /dev/disk4, not a partition like /dev/disk4s1.

2

Expand the image

gunzip -k rk3328-sd-alpine-linux-arm64-2026-06-05.img.gz

3

Run the safe check

./starflash --image rk3328-sd-alpine-linux-arm64-2026-06-05.img --disk /dev/disk4 --dry-run

4

Write only after the check passes

sudo ./starflash --image rk3328-sd-alpine-linux-arm64-2026-06-05.img --disk /dev/disk4 --write --yes

This erases the selected disk. After the write completes, Starflash syncs and ejects the card.