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
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.
Hello could you tell me where is fstab file , what should i change in it after build 2022-04 Is uboot wil place into Image.gz automatically ?
Best Regards
Hello I opened fstab file which is under /etc Thgere is only “UNCONFIGURED FSTAB FOR BASE STSYEM” sentence in file please could you tell me what should i write instead of that?
Best Regards
Hello I use SD card and when ı ypload this image file to sd card and i reboot bpi r2 pro board it always stay at this point
İ always use maskroom button to pass here .Could you please helpğ me best regards
You have to press maskrom when powering on till you see uboot from sdcard…i thought you were past this point…you have to erase emmc first 10M after booting into linux
Hello i will try it later . I made shortcut on maskroom button and it works now. I have another question about image . I do not understand booting from emmc.
After i compile this repo i will get a u-boot.img .
Now i used this image and i want to run it on sd card and emmc. How i take u-boot from your u-boot reposotory and use for your debian 11 image?
Best Regards
No, the order changes very easily As an example, you can see how this is implemented in u-boot Armbian.
By the way, there is a patch there that also includes booting from USB (for u-boot-2017 to rk35xx) and you get a very simple launch of any test system from USB.
Hello I see this folders when I opened sd card in disks
!
In the partitions I have a uboot partition. I build this(https://github.com/frank-w/u-boot/tree/2022-04-bpi) repository . There are 3 images in my folder. I think i can upload a uboot image to this place which? I this possible ? If yes , i should use which one of u-boot images