Booting from nvme should be familiar with rock3a, you need to flash the u-boot image into spi flash. There are two ways to do it:
A, flash the u-boot image into spi flash using maskrom. It should work at this time, but I haven’t tried it.
B, flash the u-boot image into spi flash when you’re in the Linux system of the board by using dd command. This requires sfc node in device tree, which should be added later.
Oh, I thought there wouldn’t be an SPI NOR flash on the developer edition but now I found a Macronix part next to the GPIO header partially covered by the fansink.
So you think all that’s missing is a DT node for it to be accessible from within Linux?
Do you know a good and end-user friendly MASKROM tutorial dealing with recent RK’s implementation one can link to? Speaking about something that could be put into a board review and not just suitable for experts…
There is a gold maskrom button near the gpio pins. To enter maskrom mode, press the maskrom button and connect typec port to your Linux computer. Using rkdeveloptool you can see the maskrom device. If you have emmc installed, image is flashed into emmc(I’ve confirmed). If you remove the emmc, the image should get flashed into spi flash I guess.
I managed to enter maskrom mode using a chopstick but unfortunately my ‘Linux computer’ with USB-C does not exist or could be only a Linux VM in macOS with USB passthrough.
At least the board appears on the USB bus:
USB 3.1 Bus:
Host Controller Driver: AppleIntelCNLUSBXHCI
PCI Device ID: 0xa36d
PCI Revision ID: 0x0010
PCI Vendor ID: 0x8086
Composite Device:
Product ID: 0x350b
Vendor ID: 0x2207 (Fuzhou Rockchip Electronics Co., Ltd.)
Version: 1.00
Speed: Up to 480 Mb/s
Location ID: 0x14100000 / 1
Current Available (mA): 500
Current Required (mA): 400
Extra Operating Current (mA): 0
Can you please point to the correct rkdeveloptool repo and confirm whether this works with arm64 as well or only x86/x64?
Power supply is enough as when i boot from sd nvme can be mounted and works ok. I wonder if it is nesesery to flash spi with new uboot. I remeber that productive version should be already prepared for nvme booting https://wiki.radxa.com/Rock5/install/spi
I had the same behavior, I didn’t look further into why though. When I switched to another PD adapter, albeit it was still providing too low output it booted.
In my case, NVMe boot and boot from uSD card if it 's inserted are both working after flash SPI along https://wiki.radxa.com/Rock5/install/spi.
NVMe is Kioxia KBG40ZNS256G, power supply is both OK on Anker 65W power port 3 and 5V 3A one for Raspberry 4B.
I made a misstake in previous comment. I flashed my uSD card by an image of Rock 5a. The image of Rock 5b could not boot. I dont’ understand why the image of Rock 5a can boot. Also I don’t know the difference between the 5a and 5b.
It is working, I just had to wipe first. First flash was not successful. Until I erased flash I just had green and 2 seconds later stuck blue led and no hdmi output.