Hi @jock! Recently I do really look into the rockchip docs and try to work on that little dongle toy a bit.
And then I look back at my original post, and I realize that at that time I totally didn't know what I was doing
At that time, after trying and failing the other rkdeveloptool commands (rfi, ppt etc), I did have execute rkdeveloptool db rk322x_loader_v1.10.256.bin at that time, but I was not aware that these commands would now work after the loader bin file had been loaded, and then I stopped trying.
OK, these are what I have tried this time:
root@debianvm:~# ./rkdeveloptool/rkdeveloptool ld
DevNo=1 Vid=0x2207,Pid=0x320b,LocationID=101 Maskrom
root@debianvm:~# ./rkdeveloptool/rkdeveloptool db /home/h__c___g/rk322x_loader_v1.10.256.bin
Downloading bootloader succeeded.
root@debianvm:~# ./rkdeveloptool/rkdeveloptool ul /home/h__c___g/rk322x_loader_v1.10.256.bin
Upgrading loader succeeded.
root@debianvm:~# ./rkdeveloptool/rkdeveloptool rfi
Flash Info:
Manufacturer: SAMSUNG, value=00
Flash Size: 0 MB
Flash Size: 0 Sectors
Block Size: 512 KB
Page Size: 2 KB
ECC Bits: 0
Access Time: 40
Flash CS:
root@debianvm:~# ./rkdeveloptool/rkdeveloptool rci
Chip Info: 41 32 32 33 FF FF FF FF FF FF FF FF FF FF FF FF
root@debianvm:~# ./rkdeveloptool/rkdeveloptool rcb
Capability:07 00 00 00 00 00 00 00
Direct LBA: enabled
Vendor Storage: enabled
First 4m Access: enabled
Read Com Log: enabled
I realize that the Flash Size read 0 mb.
I obtain rk322x_loader_v1.10.256.bin by commenting out the rm -f line in the (github) rkbin/scripts/checkpatch.sh file.
Maybe the loader firmware did not support SPI?
But before I do the ul line, I do try dumping the storage using rkdeveloptool rl 0 xxxxx dump.bin and then strings dump.bin, and nothing comes out; but after I do the ul line, the strings really do spit out many random lines, and I think it is evidence that I can use the rkdeveloptool binary to write bytes to the SPI...
Is there any chance for me to make this dongle sort of working by using the rockchip proprietary binaries to pack up the uboot.img, trust.img and boot.img files, and then flash them in?