What’s the default boot order for the rock-5b ?
If you have eMMC, SD card, M2 and SPI-Flash, Ethernet which one will be used first to boot ?
Rock-5b boot order
The RK3588 SoC can only boot from MMC (SD card and eMMC) and SPI NOR flash. If the latter is empty boot priority on Rock 5B is SD card 1st if both SD card and eMMC are present and contain a valid bootloader (at least with the u-boot/TPL images available for the device).
Everything else depends on how the bootloader that’s written to SPI, SD card or eMMC is configured. You can have an u-boot on SPI flash that doesn’t boot from NVMe until it gets updated (which is very likely with all Rock 5B shipped these days since the SPI flash’s contents seem not to include the necessary change).
The latest pre-built u-boot img is rock-5b-spi-image-g49da44e116d.img ,
which was created Sep 23.
https://wiki.radxa.com/Rock5/install/spi
ps, RKDevTool also got an update to RKDevTool_Release_v2.96_20221020.
https://wiki.radxa.com/Rock5/install/rockchip-flash-tools
Thanks for the direction.
Do you mean,
A. hack into u-boot?
or
B. configure /boot/extlinux/extlinux.conf
file?
I have an eMMC chip installed on my board.
I installed the SPI debug image (rock-5b-spi-image-g3caf61a44c2-debug.img).
With a valid system on the eMMC, it boots directly into the eMMC - not uboot message from the SPI boot visible on the serial console.
If I clean the eMMC, it use the SPI bootloader and drop on to the u-Boot prompt.
If I now try to boot from USB, it chokes on ‘usb start’ - > No working controllers found so maybe u-Boot is missing something.
It looks like it’s also trying to boot from the network which would be consistent with the bootcmd env settings.
Is everyone here happy with the SPI boot mode on the Rock5B?
The instructions at https://wiki.radxa.com/Rock5/install/spi#Simple_method worked out for everyone, no bricked Rock5B:s?
To get normal bootloader for use with Ubuntu etc. but with serial console enabled for case it’s needed, which option is it one should go with, the “bootloader for armbian” or the “debugging bootloader”?
The page says the “normal bootloader” option has serial console is disabled.