I can’t get my new Rock 3C to boot from an NVMe SSD. I looked at the instructions in this post and this post but nothing so far has worked. My board says ROCK 3C V1.32. Here is what I have tried:
Installed latest b39 version of Debian desktop from GitHub - radxa-build/rock-3c/releases on SD card (SanDisk Extreme Pro 32GB) and booted successfully
sudo apt update and sudo apt upgrade
Shutdown Rock 3C, installed SSD (Kingston 128GB, OM3PGP4128P-AH), booted from SD card successfully
Downloaded Debian desktop image, installed Balena Etcher per post linked above. Tried writing image to SSD but Etcher hung then errored out.
Shutdown Rock 3C, removed SSD, used Balena Etcher on PC to write Debian desktop image to SSD, reinstalled SSD, booted Rock 3C successfully from SD card
Ran rsetup and selected “Update Bootloader” and “Update SPI Bootloader.” Both responded with “No compatible bootloader is available.”
Shutdown Rock 3C, removed SD card, turned on Rock 3C. No blue heartbeat LED. No output to HDMI.
Shutdown Rock 3C, removed SSD, used Balena Etcher on PC to write Debian CLI image to SSD, reinstalled SSD, turned on Rock 3C. No blue heartbeat LED. No output to HDMI.
Booted from SD card, mounted partition from NVMe which contains expected folders for Linux install (bin, boot, config, etc)
lsblk shows 16MB SPI memory and NVMe:
rock@rock-3c:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mtdblock0 31:0 0 16M 0 disk
mmcblk1 179:0 0 29.7G 0 disk
├─mmcblk1p1 179:1 0 16M 0 part
├─mmcblk1p2 179:2 0 300M 0 part /boot/efi
└─mmcblk1p3 179:3 0 29.4G 0 part /
zram0 254:0 0 991.8M 0 disk [SWAP]
nvme0n1 259:0 0 119.2G 0 disk
├─nvme0n1p1 259:1 0 16M 0 part
├─nvme0n1p2 259:2 0 300M 0 part
└─nvme0n1p3 259:3 0 1.8G 0 part
16MB SPI memory appears to be installed above. dmesg to double check:
The 3C uses a different boot loader if I’m not completely wrong. Have you looked at the serial output? The boot loader also writes a lot. Does it try to boot from?
Right, it uses a different bootloader from the 3A so I didn’t use any of the process from that. Yes, as you can see in my first post, I get good serial output when booting from SD but nothing at all when booting from SSD. Just to check, I tried booting without SD or SSD thinking the bootloader might say device not found and also got nothing. Serial can be a bit finnicky on Windows so I tried switching from SD to SSD a few times to make sure the serial connection hadn’t stopped working and got good serial output booting from SD every time.
Then something is wrong on your side. I tried to compile my own kernel for the 3C (without success), but got messages from the boot loading, including the menu. Unfortunately I deleted the logs, but maybe it is time to retry. To my knowledge it is not completely the same BL as in 3A, but the difference might really be only ram initialization…
Interesting. I could see a different kernel outputting something over serial whereas mine doesn’t. What do you get over serial when you try to boot from SSD with the b39 image?
@druzyek could you share the model/part number of your SPI flash installed? mine don’t have SPI factory installed and can’t find any official info what part should go in there to make it work…
Base on another post, I tried sudo dmesg | grep spi and got spi-nor spi4.0: gd25lq128d (16384 Kbytes) read_data x4 so I think gd25lq128d might be the name.
@druzyek , please kindly provide more detail about @OKdoOAV step 5/ download the image file to the ROCK 3C and step 6/ go to download folder by cd Download, run sudo xz -d < img.file.xz | sudo dd of=/dev/nvme0n1 status=progress.
It is because I do not know how to process step 5 and step 6.
step 5, you download the same image that you used to flash the SD Card to the ROCK 3C (Use the link in step 1), when it’s downloaded it will be in the Downloads folder (that’s why first step in step 6 is to change to Downloads directory.
Just to clearify step 6, has to be done in a terminal:
cd Downloads
sudo xz -d < img.file.xz | sudo dd of=/dev/nvme0n1
(where “img.file.xz” is the filename of the image you downloaded in step 5).