<- # installing alpine linux on a rock64 note: these instructions do not work yet, this document is still alive (and may be for quite awhile). alpine version: 3.12.3 pine64 rock64: rock64-rk3328 uboot build via: void linux note: /dev/sdx is assumed to be the device that represents a microsd chip, adjust accordingly zero the sd card dd if=/dev/zero of=/dev/sdX bs=1M count=32 start fdisk to partition the sd card fdisk /dev/sdX at the fdisk prompt, create a single partition - type o to clear out partitions - type p to list partitions, there should be 0 - type n, then p, then 1, then 32768, then ENTER to make a single huge partition - type w to exit and save changes create the ext4 fs mkfs.ext4 /dev/sdX1 mount the fs (i do this as root) mkdir root mount /dev/sdX1 root download & extract the genericARM image from https://www.alpinelinux.org/downloads wget https://dl-cdn.alpinelinux.org/alpine/v3.12/releases/aarch64/alpine-uboot-3.12.3-aarch64.tar.gz bsdtar -xpf alpine-uboot-3.12.3-aarch64.tar.gz -C root # remove irrelevant dirs rm -rf root/u-boot rm -rf root/efi # wget https://trash.j3s.sh/rock64-boot.scr -O boot.scr download the u-boot dtb ????? unmount umount root # this will take awhile download and install the uboot bootloader # wget https://trash.j3s.sh/u-boot-rockchip.bin # dd if=u-boot-rockchip.bin of=/dev/sdX seek=64 conv=notrunc wget http://os.archlinuxarm.org/os/rockchip/boot/rock64/rksd_loader.img wget http://os.archlinuxarm.org/os/rockchip/boot/rock64/u-boot.itb dd if=rksd_loader.img of=/dev/sdX seek=64 conv=notrunc dd if=u-boot.itb of=/dev/sdX seek=16384 conv=notrunc insert the microsd card and boot! #todo try /Image next in boot.scr TODO: check this out - https://github.com/krjdev/rock64_openbsd