let me start with saying that I am terrible sorry to create yet ANOTHER thread about NVMe booting.
I’ve been trying for two days, searching both the armbian and raxda forum for keywords like nvme, ssd, u-boot, etc. checking every thread I could twice. I just can’t seem to find a solution or missunderstanding common troubleshooting processes.
I have a RockPi 4B 1.3 with SPI installed.
A transcend 220S 240GB NVMe SSD
I want to boot Armbian from my SSD, so I first started out following this tutorial. I used ubuntu bionic to install the latest u-boot image onto the SPI until step 2. (unrelated note: I had to uncomment one line inside the rockpi4b_upgrade_bootloader.sh script - 4th line from the bottom. Otherwise SPI wont ever be updated.)
Instead of flashing ubuntu onto the SSD, I downloaded Armbian, flashed that and changed the verbosity inside the armbian boot partition. Plugged it in, removed SD and this bootlog follows:
- See 2nd post for log. 1
Alright, ambitious to just stop inbetween two steps. So, pluged SD back in, booted into ubuntu and continued the tutorial above starting at step 2.
Flashed ubuntu to SSD. Removed SD and tried to boot from SSD. That didnt work because of an error and I presume this one:
Bootlog Snippit | No SD | NVMe SSD with ubuntu
Retrieving file: /dtbs/4.4.154-59-rockchip-g5e70f14/rockchip/rk3399-rock-pi-4b.dtb ** Unable to read file /dtbs/4.4.154-59-rockchip-g5e70f14/rockchip/rk3399-rock-pi-4b.dtb ** Skipping kernel-4.4.154-59-rockchip-g5e70f14 for failure retrieving fdt SCRIPT FAILED: continuing...
I thought maybe all those updates in step 2 are also needed on the SSD image. So I went ahead, booted from SD again and dd’d everything from SD to SSD. Shutdown, remove SD, boot from NVMe:
- See 2nd post for log. 2
This is more or less where I am now. I tried a few different images, old and new kernels. Made a franken u-boot from armbian and flashed it onto the SPI, nothing worked yet.
I checked the SSD controller, because some do not work well with the SPI. But my SSD uses the same controller some other people reported as known good.
Any ideas? I’m keen on trying things by myself, but I’m not quite sure what to try anymore.