Change Boot Order rock 5B+

Apparently, there’s a boot order: SPI → NAND → SD Card → NVMe. I was wondering if there’s a way to give the SD card higher priority than the internal eMMC chip (NAND). Both are recognized as mmcblkx , and it seems the SD card has lower priority than NAND.

I don’t want to erase the NAND flash but would like to boot directly from the SD card sometimes. Is there a solution for this? Ideally, if the SPI image allows modifying the boot order, there should be an option to change it. However, I couldn’t find any documentation on how to do so. Any insights?

You will have to reconfigure u-boot, then flash it.

Can you tell more where I can find documentation to flash u-boot?

For Anyone Facing This Issue:
Statement I mentioned was wrong and the default latest SPI image config prioritizes the SD card over NAND. I couldn’t boot because both had the same image with identical UUIDs, causing conflicts.

Here’s how I tried to fix it:
uuidgen # Generate a new UUID
tune2fs -U [newuuid] /dev/sdx3 # Change UUID of ext4 rootfs
fatlabel -i /dev/sdx1 [newFatuuid1]
fatlabel -i /dev/sdx2 [newFatuuid2]

Then, update /boot/extlinux/extlinux.conf with the new UUIDs for boot entries.

This successfully differentiated rootfs but still uses /boot/efi and /config from NAND. I assume there’s another place to update FAT partition UUIDs. Any idea how to fix this? I want my boot drive to be fully independent.

1 Like

Good luck with your Query… Regarding software support I realized that Radxa are the worst to give you any kind of support and their attitude is like I don’t care and give you what I want and when I want.

Such a careless company I have never ever seen like it. There is no one here in the forum from Radxa-Tean who actively listens to users problems and give solutions… You are on your own

did you looked at /etc/fstab ?

Yep thanks so much updating fstab solved the issue.