ZephyrNet Posted February 2, 2023 Share Posted February 2, 2023 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. 0 Quote Link to comment Share on other sites More sharing options...
Efe Çetin Posted February 2, 2023 Share Posted February 2, 2023 You can use rk3588_spl_loader_v1.08.111.bin. Check here https://github.com/rockchip-linux/rkbin 0 Quote Link to comment Share on other sites More sharing options...
ZephyrNet Posted February 3, 2023 Author Share Posted February 3, 2023 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. 0 Quote Link to comment Share on other sites More sharing options...
Efe Çetin Posted February 4, 2023 Share Posted February 4, 2023 I'm also able to boot from SD card with spi loader 0 Quote Link to comment Share on other sites More sharing options...
pazzoide Posted February 5, 2023 Share Posted February 5, 2023 What if in the bootloader there could be an option to set the boot order, like in BIOS/uefi? Eg. 1St option is SSD 2nd is SD card (in case of 1St option fails) And so on Do you think this is this possible? 0 Quote Link to comment Share on other sites More sharing options...
Jaybyrd Posted November 12, 2023 Share Posted November 12, 2023 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! 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.