Can I rewrite a non-bootable eMMC from the PBP itself?
#1
I was playing with different OS images and decided that since I was able to successfully boot from SD card it would be OK to overwrite the eMMC module image.

I dd'ed a Rock64Pro (bionic-minal arm64) onto the eMMC and now it won't boot anymore, neither from eMMC nor SD.

I was able to eventually start from SD by disabling the eMMC via the internal switch, but since I can't see it I cannot write to it.

How can enable the eMMC but bypass it at boot in order to rewrite it from the PBP itself (I don't have any other equipment to which I can attach the eMMC).

I have enabled the serial connector and do have a serial console adapter that I can connect to a Linux box, and probably attach to via minicom.
#2
I believe in some other posts I have seen, you can re-activate the eMMC switch after booting. (?)
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
#3
I was able to interrupt the boot sequence via serial console.
I can now boot from my SD and see the eMMC block device, so I should be able to write a new image onto it from there Smile
#4
For others that may be reading this thread, here is a reference to the eMMC disable switch;

Wiki - Pinebook Pro - Key Internal Parts

Eventually we will get a clearer idea of how to use the eMMC disable switch. I vaguely recall someone saying that you start the PBP with the eMMC disabled, wait a few seconds, and then switch it back to enabled. Thus, you would be able to boot off a SD card and then fix the eMMC. Requires the bottom to be open... but better than a brick :-).
--
Arwen Evenstar
Princess of Rivendale


Possibly Related Threads…
Thread Author Replies Views Last Post
  U-Boot with direct NVMe boot support for eMMC/SPI Flash pcm720 120 110,018 09-11-2021, 02:16 PM
Last Post: calinb
  Pinebook Pro not powering on when eMMC hardware switch is off vgrimaldi 2 428 06-29-2021, 05:19 AM
Last Post: KC9UDX
  UK Pinebook Pro for sale (UK buyers only, 64GB, eMMC reader, NVME add-on) Z0rua 0 459 06-01-2021, 12:51 PM
Last Post: Z0rua
  I am ready to accept that there may be a problem with my emmc. djhnsn 4 1,023 05-18-2021, 12:25 AM
Last Post: djhnsn
  Wiped EMMC, forgot do write new image, won't recognize EMMC zeno 4 933 05-11-2021, 01:53 PM
Last Post: wdt
  Need Advice for Wiping eMMC on Dead LCD Pinebook Pro calinb 9 1,679 05-10-2021, 12:49 PM
Last Post: calinb
  eMMC not gets detected by initramfs? overlisted 6 2,229 05-09-2021, 09:08 PM
Last Post: djhnsn
  Happy eMMC and SDcard OS usage for Pinebook Pro Newbies... Paulie420 40 23,698 02-27-2021, 11:01 AM
Last Post: wdt
  Pinebook Pro 128GB EMMC for sale **sold** dgkPBP 7 2,301 01-15-2021, 08:48 AM
Last Post: dgkPBP
  Booting to sdcard stopped working after emmc flash techiedog 3 1,433 12-31-2020, 06:30 PM
Last Post: Anarethos

Forum Jump:


Users browsing this thread: 1 Guest(s)