Jump to content

Maskrom / erase SPI


ZephyrNet

Recommended Posts

Hi all,

 

I am trying to recover after a failed NVMe install.  I have a working install on an SDCard, but I think my board no longer boots to SDCard, since I flashed the bootloader via armbian-install.

 

I am not sure if my NVMe install is good or not, and I can't currently reflash it.

 

So I think my best bet is to wipe the SPI, which I hope means the board will go back to booting from SDCard.

 

That's question 1 - is that actually a valid solution?  If I wipe the SPI will I be able to again boot to SDCard?

 

I am able to get the board into Maskrom mode, and I can see it using the Windows tool.  However, I believe that I need a "loader image" that I "download" into the tool before I can wipe the bootloader.

 

The Rock5 SPI wipe guide posted elsewhere in this forum refers to rk3588_spl_loader_v1.08.111.bin, which I don't have, and I'm not sure that's the right loader for the OPi5.

 

That's question 2 - is there a loader for the OPi5 and/or can the Rock5 loader be used here?

 

The OPi5 Manual is very sparse about Maskrom info, it says how to get into that mode, but only gives instructions for flashing the board to Android.  The Android download is not working right now (Google Drive quota) so I am not able to get that package, in case it happens to have a suitable loader image.

 

Thanks for any replies in advance.

Link to comment
Share on other sites

Update:  I was able to borrow an NVMe enclosure, I flashed the SSD with a fresh image on a different computer, and my board booted it just fine.

 

I am still interested in knowing if zero'ing the SPI is a valid way to go back to SDCard booting.

 

Thanks again for your help.

Link to comment
Share on other sites

Recover OrangePi 5 Plus

Download:
https://drive.google.com/drive/folders/19SMZHj1Y8l_Vvr6_SMDHYdJHi41hMgsI

Press and hold the MASKROM button, then plug in USB power and release the MASKROM button

Open a terminal in Linux and install "rkdeveloptool"
*Note, I saved all the files in that URL to /home/$USER/opi5plus then "cd opi5plus" | use "sudo rkdeveloptool ld" to see if your device can be seen (plug in USB cable from PC to the USB-C connector opposite the power).

opi5plus$ sudo rkdeveloptool db MiniLoaderAll.bin
Downloading bootloader succeeded.

opi5plus$ sudo rkdeveloptool ul MiniLoaderAll.bin
Upgrading loader succeeded.

opi5plus$ sudo rkdeveloptool td
Test Device OK.

opi5plus$ sudo rkdeveloptool rd
Reset Device OK.

Make sure you have a freshly baked SD card installed with your Linux flavor of choice then power off, install the SD card and boot up!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines