[R2Pro] Debian Bullseye / Ubuntu 22.04

Hi,

i’ve created 2 basic images (only bootchain + rootfs, no network setup)

uboot 2022.04-bpi
linux 5.18.0-bpi-r2pro-main
(barebox 2022-05 incl. iodomain fix)

user:root, pw:bananapi

example-configuration for wan-port (eth0)

date -s '2022-05-23 21:50:00 CEST'
ip addr add 192.168.0.18/24 dev eth0
ip link set eth0 up
ip route add default via 192.168.0.10
# only do once (resolv.conf is persistent)
cp /etc/resolv.conf{,.bak}
echo "nameserver 192.168.0.10" > /etc/resolv.conf

https://drive.google.com/drive/folders/1pnTxSquZL-7n0xx4Bx1xJl7LqEKfa71Y?usp=sharing

the -basic is without rootfs and can be used as base for own linux distribution (deboostrap + set rootpw)

have included phy and dsa driver for switch which can be switched by using other dtb (default dsa driver) in uboot (extlinux.conf)

1 Like

Hello is this image support emmc? Best Regards

Not out of the box,but you can use it as base,flash atf/uboot after and configure uboot/linux for emmc (pointing to the other mmc device)

I ask for alternatively can we use this image without using maskroom button .

Maskrom needs to be only done once to boot mainline bootchain from sd because emmc contsins broken bootchain from factory

could you explain how can configure uboot/linux for emmc? I wantto develop a image on sd card and transfer it into emmc ?Is it possible? Best Regards

2022-04 from my uboot-repo supports r2pro (in newer versions it is broken). Atf is only binary blob. Seems r2pro had same atf/uboot for emmc,so you can try writing it to emmc (boot0 not needed).

Seems I had already added a check in uboot for emmc/sd

Only need to change fstab in linux to point to emmc instead sd

But i’m unsure if distroboot handles sd/emmc currently. Only made basic tests with emmc as it is tricky booting from sd after emmc is flashed.

Seems bootorder is hardcoded in uboot for distroboot.