(05-30-2023, 08:22 PM)wdt Wrote: where you may have gone wrong is using u-boot.itb on the spi
Just a guess
It migth be simpler to compile rkdeveloptool to blank the spi
You do have to find miniloader.bin suitable for the hardware
(this is what initializes mem and usb ports),,, ie
rkdeveloptool ld (it will say loader or maskrom, maskrom is what you want, remove ALL media)
rkdeveloptool rd 3 (only if needed, changes it to maskrom), check with ld
rkdeveloptool db miniloader.bin..... and now rkdeveloptool will do every command
---
mkimage comes with uboot (for boot.cmd/boot.scr),, the command is
mkimage -C none -A arm -T script -d boot.cmd boot.scr
--------------------
or maybe simpler, short spi clock pin to ground the first 5 sec of boot, then it can't interfere
Assumes you have a bootable sd or emmc
Thanks for your answer but after searching on the internet about this "miniloader.bin" I could find literally nothing about it...
But anyway, I actually just found out WHAT I DID WRONG:
I didn't read correctly the blog post and I wrote the u-boot.itb at offset 6000 instead of 60000
The day after I screwed up my SPI, someone posted a new blog post on Reddit on how to install Fedora on the RockPro64 so I'm 99% sure it will work the same way on my Pinebook Pro if at least I can correctly write u-boot to the SPI without doing any mistake...
The way to enter in Maskrom with the recover and reset buttons doesn't work for me so I'm still waiting for the pry tools I ordered to arrive.