BPI-R64 : 2020-12-20-ubuntu-18.04.3-bpi-r64-5.4-sd


I just installed 2020-12-20-ubuntu-18.04.3-bpi-r64-5.4-sd-emmc.img.zip but I can´t figure out how to access the pi because nether wifi or lan is being detected. I currently have the ethernet cable plugged into what I think is the first eth port (next to the wan port) but I keep receiving a message open my laptop screen about the cable not being connected. seeing as it is an emmc I am guessing I was suppose to keep my old OpenWrt install then flash Ubuntu on it?



It is always a good idea to have serial adapter for accessing the board via debug-uart :slight_smile:

I do not know the image,but maybe you want to try image builder from @ericwoud

I thought i had done ubuntu image too,but seems not for r64.

This script is not maintained. Only the prebuild download still works.

One could use the archlinux build. Script at
buildR64arch on GitHub.

Thanks will look into it if it is still available?

What do you mean by that?

you could also use my debian image and replace rootfs (make backup of /lib/modules) to keep kernel working after that.


if you want to do a clean image this may help you:


i updated my uboot-repo to include actual ATF and create prebuild binaries with github actions (to be found in releases)



bpi-r64_sdmmc.img.gz should be a good start :slight_smile: just unpack your rootfs (get it via deboostrap) and then kernel from




Is bpi-r64_sdmmc.img.gz just a normally image that I can flash to an sd card?

Yes it is an image but without rootfs…it contains bootchain till uboot. You have to add ubuntu rootfs and linux Kernel

Ah, ok! Where is the rootfs?

You can it create with debootstrap and copy it to the sdcard…see link to my wiki. Deboostrap can be used from any ubuntu/debian system.

I can look if i still have an archive from other board that you can simply unpack.


There is a ubuntu jammy for arm64.

After unpacking install kernel and change uEnv.txt point to your kernel file

You will need a serial uart adapter to bootup system and configure network stack.

I don’t have a serial uart adapter

Time to get one :slight_smile: if anything is not working you can look whats the problem. Else you are blind till your network stack works and you can login via ssh. I zhe moment board hangs at bootup or you have a problem in your network config you are unable to fix it.

Would building this version work?

do you really want an outdated system?

No, but is there an out dated source?

official repo uses kernel 4.19 (afaik never updated to include security fixes)…we have now 6.1…there are 3 years between.

i guess ubuntu image created by the repo is old too…my debbootstrap is already ubuntu 22.04

so unpack and flash the image from uboot github-releases (bpi-r64-sdmmc.img.gz), sync and re-read the sdcard (pluging out and in again). you will see 2 partitions: BPI_BOOT and BPI-ROOT

unpack the debootstrap-archive to the BPI-ROOT-partition (root-rights required)

then get kernel-package from my kernel-repo (6.1-main for r64), here you have 2 folders inside: BPI-BOOT and BPI-ROOT…unpack their content to the right partition (itb to BPI-BOOT and lib/modules to your ubuntu rootfs).

then you have to create an uEnv.txt pointing fit-var to your itb-filename



if this all is done you can try booting the board with the card and debug-uart to see if all gets up or you hang somewhere uboot or similar…it is possible that ssh-server is not installed and you get IP-address from your current router…need to configure it to fixed IP

Frank was pointing to my R64 script. But now I only maintain this one:

This will create a bootable SD card with up to date Linux kernel in just a few minutes. It runs Archlinux. It is almost the same as Ubuntu, except the package manager (apt) is different and the packages are much newer. Not standard packages one builds from the AUR with simple tools.

Best thing i like about Archlinux is rolling updates. Never need to upgrade to another version of OS anymore.

The Linux kernel is pre-built, so no need to figure out how to build one.

Ah ok! I will try that as well if Frank’s solution doesn’t work.

Would that bootstrap work? It says bpi-r2_bionic, also flashing bpi-r64_sdmmc.img.gz to the sd card doesn´t do anything. After flashing the sd card remains empty, what am I doing wrong?

For rootfs use arm64 yammy. Wiki example is for r2 (armhf and bionic)

Have you unpacked the s img an re-read partition table.