Hello, I’m new to the forum and a new owner of the Banana Pi R4. The first thing I did was follow the OpenWrt installation manual on the bpi website, installed it on the SD card, in NAND and eMMC, and everything worked fine. Then, I wanted to install Ubuntu and put it on the SD card, and that worked perfectly as well. However, when I tried to install Ubuntu on eMMC (the image name suggests that it should be compatible) but for some reason, it does not boot. I’m writing the image, but the system does not start. Are there any special operations or additional steps needed? Is a custom bootloader required? Could anyone please assist me?
Yes you need bl2 on boot0 partition and make it bootable.
If you use my image you can use the bl2 from my uboot repo
https://wiki.fw-web.de/doku.php?id=en:bpi-r4:start#debian_ubuntu_image_building
Thank you very much for the explanation. I’ll give it a try. Awesome GitHub!
Possibly it works for bpi image too,but i do not know it…
On u-boot page (for r3) in my wiki there are the steps for writing the bl2 to boot0 and set partconf to let board boot from emmc.
https://wiki.fw-web.de/doku.php?id=en:bpi-r3:uboot#writing_emmc
Steps for r4 are the same,just use the right file
I just wanted to thank you once again for the awesome repository
I also wanted to mention that I encountered an error during the build:
/bin/sh: 1: xxd: not found
UPD include/config/uboot.release
make: *** [Makefile:1989: include/generated/defaultenv_autogenerated.h] Error 127
make: *** Waiting for unfinished jobs....
build failed!
After installing the missing package, it worked:
sudo apt install xxd
Maybe it’s worth adding it to the dependencies?
Where, how and which branch have you built? Did not get this on my system and ci-pipeline.
But it seems at least my local ubuntu have it already installed.
If you do not want to change anything you do not need to compile yourself. You can use binaries created by ci pipeline (releases).
But if you want to self compile you can look in ci how it is done. Uboot needs to be packed into atf to get fip.