Ubuntu 24.04 LTS on Banana RPI-R4 Pro 8X

extlinux.conf and U-Boot sure… but if you need to perform hard reboot, how do you handle going back to main bootloader screen on following boot?

Like that, (need more characters) just an idea …

Orr

Interrupt U-Boot Then do this in U-Boot

run bootcmd_nand

Thus skipping bootcmd_nvme

@frank-w - so the CONFIG_GPIO_HOG you added to your official uboot images you are building or I need to manually enlist in your repo and add it to make it work?

also - why only CN14? There is no way to make the back of the card CN15, CN18 working (KEYM) for uboot and nvme? I plan to use the top of the RPI for the 4G/5G modules

My uboot repo has the config_gpio_hog enabled And when i push the images are built…you just need to use a recent 2026.01 binary which is built from code with this option

You mean the key-b slots? These will require adapter for key-m for nvme use. Basicly change value of the hog,but you can only use fron m.2 slot (near rj45) because the slot behind (near gpio header) needs xsphy driver which is not available in uboot and so pcie is disabled

The adapter and using nvme on m.2 slot near rj45 I was not considering, as the nvme get hot usually, and if we put it on top it is next to another radiator and the SFP inserts for fiber also will get hot. thats a bummer if I cannot boot from the slot on the back of the card…

so basically there is no way to boot ubuntu from the nvme inserted in the back slot? there is no way to add this driver to u-boot?

Anyone needs to write/port this driver…maybe you :slight_smile: current devs have too much other work to do…

Sure there is, you could consider moving the boot-partition to emmc, or even use the entire emmc for it.

Hi, I’m runnig noble using UBI partition as /boot volume. u-boot compiled from your repo. My nvme root not accessible from u-boot env, but have no problem with boot kernel from ubi partition without initrd img. somewhere in threads here, you wroted that ubi boot should use emmc intreface insted sd, and it s works as described. But the queston is - how to swich between SD/EMMC interfases in uboot and running system. because only emmc exist in devtree…

Nand uboot is using emmc device tree…there is bo way to switch yet.