Issues with "recovery" button
#6
Star 
Eureka! I've found it!

I have successfully flashed an image to my SPI device. I was not able to do this from within Linux.

Here are the steps required to flash an image to the SPI Flash on the PBP. You will need a USB C to A cable and second PC to do this. This is the same cable that many newer phones use to recharge. If you need to open the device, please follow the proper disassembly instructions on the wiki.

1) On your other Computer install the "rkdeveloptool" Click here for institutions on how to do this.
2) With the PBP powered off, remove all bootable media from the device. This includes all SD cards as well as the eMMC. If you have an eMMC installed you will need to open the case and flip the eMMC switch down towards the trackpad. With nothing to boot from, the SoC will default to Maskrom mode.
3) Connect your other Computer to the PBP with the USB cable, attaching the USB C connector to the PBP. Then press and hold the power key for 10 seconds.
4) Run the following comand on your PC - "rkdeveloptool ld". Your PBP should now show up, if it does not, verify the last few steps. ld means "list device"
5) In order to flash, "rkdeveloptool" needs a db file for the product you want to work with. For the PBP this file worked well for me. Download the DB and run this command:
Code:
# rkdeveloptool db /path/to/rk3399_*.bin

6) With all that out of the way, we can finally flash our image of choice to the SPI Flash chip. "wl" means wright to, the 0 tells it to start at the beginning of the memory.
Code:
# rkdeveloptool wl 0 /path/to/spi*.img

7) With that done, we can now test the device.

Code:
# rkdeveloptool td

8) If the last step was successful, you may now reboot, and test your new bootloader.

Code:
# rkdeveloptool rd

This is the only reliable way that I know of to access maskrom. If anyone was able to do this from a booted OS, I would love to know how you did it.


Have fun!


Messages In This Thread
Issues with "recovery" button - by LANStrider - 01-26-2020, 09:54 AM
RE: Issues with "recovery" button - by xmixahlx - 01-27-2020, 02:08 AM
RE: Issues with "recovery" button - by danielt - 01-27-2020, 08:42 AM
RE: Issues with "recovery" button - by ElektromAn - 01-27-2020, 08:55 AM
RE: Issues with "recovery" button - by LANStrider - 01-27-2020, 03:53 PM
RE: Issues with "recovery" button - by LANStrider - 01-27-2020, 07:28 PM
RE: Issues with "recovery" button - by as400 - 01-28-2020, 03:51 AM
RE: Issues with "recovery" button - by LANStrider - 01-28-2020, 04:12 PM
RE: Issues with "recovery" button - by as400 - 01-29-2020, 11:36 AM
RE: Issues with "recovery" button - by clover - 01-30-2020, 12:27 AM
RE: Issues with "recovery" button - by clover - 01-30-2020, 12:25 PM
RE: Issues with "recovery" button - by clover - 01-30-2020, 05:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Audio Issues alvinsmith 1 376 08-10-2024, 01:50 AM
Last Post: sparkie
  Issues with T-Mobile Home Internet? skinnyonthebebop 3 1,591 10-17-2023, 07:42 AM
Last Post: skinnyonthebebop
  Got a PBP - batch(August/September) and the audio is not good(2 big issues) crazyquark 2 1,898 10-01-2022, 10:16 AM
Last Post: crazyquark
  MiniConda Install Issues nixyhustle 0 986 09-16-2022, 10:06 PM
Last Post: nixyhustle
  new PBP issues jpjnh 9 4,963 08-22-2022, 07:26 AM
Last Post: wdt
  Issues with External Display After Recent Update reundo 0 1,613 11-18-2021, 06:37 PM
Last Post: reundo
  HArdware issues while charging user18130814200115 2 3,189 05-01-2021, 04:13 AM
Last Post: gabeeg
  Issues with chromium-docker PVD 4 7,069 12-17-2020, 10:11 PM
Last Post: warehouses
  App installation issues on PBP pineitup 0 1,849 10-21-2020, 06:23 PM
Last Post: pineitup
  issues with keyboard/trackpad in Manjaro, can't test other OSs joshw 11 14,293 06-25-2020, 08:11 AM
Last Post: joshw

Forum Jump:


Users browsing this thread: 1 Guest(s)