Hi, I’ve received my rock5 yesterday and so far I’m very pleased with that little monster.
Currently I’m trying to boot from a intel optane NVMe, which gives a little bit of trouble, but let me recap:
Booting from SD with a modified dtb (for pcie3 2x2) works nice and i can access both SSDs. Booting from SPI however does not work; My guess is that pcie3 is configured for 4x and so the actual data disk is not seen.
So I’ve checked out GitHub - radxa/u-boot at stable-5.10-rock5 and patched the dts accordingly. After installing the rktools and the cross compiler u-boot builds, but that is where I’m stuck right now. The official SPI image from here https://wiki.radxa.com/Rock5/install/spi
Turns out this is well documented here https://wiki.radxa.com/Rock3/install/spi
I have a working SPI image now that detects the other SSD and boots from it.
The Linux on the SSD doesn’t like things so much, but that’s different problem xD
If anyone is interested here is the SPI image rock-5b-spi-image_pcie2x2.img.zip (698.4 KB)
@herger did you use the Rock 3A files (idbloader and uboot.itb) even if you’re on Rock 5?
When booting does the blue and green LEDs are powered on and do not blink?
Eventually does U-boot console appears on the screen when booting?
Hi @Thomas_P,
I did use the Rock5 files, just followed the image doc for the Rock3.
I really cannot tell you what the LEDs did, over e year ago, but u-boot was displayed nicely.
In the meantime i switched to use a real UEFI [https://github.com/edk2-porting/edk2-rk3588] which outperforms the u-boot in every aspect (except that a year ago, when i flashed the last time they did not have support for the PCIe 2x2 setup i needed the custom u-boot for. that might have changed by now)
From a running linux on your rock5 device, flash on spinor then reboot
# flash
flashcp -v spinor_image /dev/mtd0
reboot
Since the armbian /boot/boot.scr uboot script, is loaded from default uboot env from MMC, but also NVME drive, it is sufficient to boot a kernel located on NVME drive.
Note: this same image is also suitable for eMMC. it will boot the same way a kernel located on NVME if eMMC is empty except this 16MiB image.