How to install Alpine Linux on Radxa Zero 3?

I’m not very familiar with ARM devices, but since the Radxa Zero 3 has mainline U-Boot and mainline kernel support, installing Alpine Linux on it might not be too harsh. Am I right?

I had some attempts following the instructions (Alpine on ARM) in the Wiki of Alpine Linux but could not boot.

Steps in detail:

  1. Format SD card with fdisk (create new GPT partition table and create a new partition with first sector 32768)
  2. Format partition with mkfs.fat -F 32 /dev/sdX
  3. Download the latest Alpine Linux release (Generic U-Boot aarch64 version)
  4. Copy installation files onto the SD card

mount /dev/sdXn /mnt
cd /mnt
tar -xf /PATH/TO/alpine-uboot-3.22.0-aarch64.tar.gz
sync
unmount /dev/sdXn

  1. Build U-boot by following the offical instruction (I did this part in alpine linux container)
    Everthing seems normally (only a warning about missing optional external blobs) and I sucessfully got u-boot/u-boot-rockchip.bin
  2. Flash uboot file onto SD card

dd if=/PATH/TO/u-boot-rockchip.bin of=/dev/sdX seek=1 conv=notrunc,fsync

Am I missing anything? or making any mistake?

1 Like

Following link is my script for building uboot (step 5, I ran this script in alpine linux container)
https://codeberg.org/a1224444/BuildUbootRadxaZero3/src/branch/main/build-uboot_radxa-zero-3_alpinelinux.sh