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 https://github.com/radxa/u-boot/tree/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
$ file rock-5b-spi-image-g49da44e116d.img
rock-5b-spi-image-g49da44e116d.img: DOS/MBR boot sector; partition 1 : ID=0xee, start-CHS (0x0,0,1), end-CHS (0x3ff,254,63), startsector 1, 32767 sectors, extended partition table (last)
does look quite different to what my u-boot looks
$ file uboot.img
uboot.img: Device Tree Blob version 17, size=2560, boot CPU=0, string block size=197, DT structure block size=2000
So the big question now is: how do i get from my custom u-boot image to an image ready to be flashed to SPI?
Any help is much appreciated!
Thanks & best!