Hi there, I'm facing a challenge with flashing a new OS onto my RK3399, and I'd greatly appreciate any guidance you can offer :mrgreen:

Hardware
SoC: SOM-RK3399 Dev Kit
Laptop: Fedora and Windows available

The Problem I've accidentally overwritten the internal storage of my RK3399 while trying to flash Armbian, and now it won't boot from a SD card anymore.

What I've tried:
Official Image:
When using the "official" (from friendlyelec) Debian Image I can boot from the SD while in Maskrom mode. But afterwards it automatically boots directly into this OS and still doesn't first boot from any plugged in SD.

rkdeveloptool:
The next thing I've tried was using the rkdeveloptool, here I can see the board but all operations fail here a a few examples:

Code: Select all

❯ sudo rkdeveloptool ld
DevNo=1   Vid=0x2207,Pid=0x330c,LocationID=303   Maskrom

❯ sudo rkdeveloptool rid
Reading flash ID failed! 

❯ sudo rkdeveloptool ef
Starting to erase flash...
Getting flash info from device failed!   

❯ sudo rkdeveloptool db rockpro64-rk3399.img
Opening loader failed, exiting download boot!         


Does anyone have insights into why these rkdeveloptool operations are failing or how I can resolve the boot issue? Any advice on steps I might be missing or need to try differently would be incredibly helpful.