Erasing the eMMC | Pinephone Pro
#1
After I got the Pinephone Pro I wiped the preinstalled AOSP Image according to PinePhone_Pro Wiki

and afterward tinkered with the Arch Image for some time.



Sometime later I noticed pacman showing me in when updating that I could update uboot:



Code:
dd if=/boot/idbloader.img of=/dev/mmcblkX seek=64 conv=notrunc,fsync
dd if=/boot/u-boot.itb of=/dev/mmcblkX seek=16384 conv=notrunc,fsync




and I thought updating uboot might help in someway. I unfortunately wrote the bootloader onto the eMMC(mmcblk2) and uboot wont boot my SD card and now I'm stuck.

I managed to see uboot trying to boot, but failing.



My question is, is there some otherway to wipe the eMMC or is there a way to get into the uboot cmdline to wipe it from there...so that I can boot again from the SD card



My uboot output is this:



Code:
U-Boot TPL 2021.10-3 (Dec 11 2021 - 19:16:00)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2021.10-3 (Dec 11 2021 - 19:16:00 +0000)
Trying to boot from MMC1
Card did not respond to voltage select! : -110
spl: mmc init failed with error: -95
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
  Reply
#2
You can disable the eMMC by shorting the two test pads and power on. Image attached (courtesy to Alho from Pinedev Chat)


Attached Files Thumbnail(s)
   
Find me in the forest, when I'm at my lowest. I don't really think you should continue..

HOLD YOUR BREATH.
  Reply
#3
Can you access the serial console of u-boot? If yes, you could boot something different via u-boot cmdline and erase the eMMC from there. Not sure if you can directly erase it from u-boot.
  Reply
#4
Did you manage to reflash the emmc using one of the listed methods? I would like to flash the emmc as well, but am still a bit reluctant due to the emmc boot issue.
  Reply
#5
(01-19-2022, 11:02 AM)jvanveen Wrote: Did you manage to reflash the emmc using one of the listed methods? I would like to flash the emmc as well, but am still a bit reluctant due to the emmc boot issue.

This is going to become exceedingly relevant in the next few days as the Explorer Edition hits the streets.

If my stalking on the dev channels pays off then it seems holding the PPP reset while power on also disables the eMMC (a bit like shorting the 2 pins on a RockPro64) which will be really cool. Because releasing the pins on a RockPro64 as soon as the SDcard starts booting also means the eMMC is available from the SDcard OS.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Having difficulty installing PostmarketOS on Pinephone Convergence Beta edition spazz 5 59 1 hour ago
Last Post: spazz
  PinePhone doesn't boot anymore lapin 3 326 09-13-2024, 10:09 AM
Last Post: lapin
  New PinePhone Pro fails... P. Siera 5 840 08-01-2024, 04:56 AM
Last Post: P. Siera
  A way to view or log the splash screen on Pinephone Pro running ArchLinux (Danctnix) PHLEMON 4 693 07-30-2024, 11:03 PM
Last Post: PHLEMON
  PinePhone Pro silver lining, it’s fast, real damn fast ashoka232 2 1,529 07-30-2024, 05:58 AM
Last Post: DrYak
Question The Case of the Vanishing EMMC DieSkaarj 9 3,955 07-28-2024, 04:19 PM
Last Post: dchang0
  Is my PinePhone Pro dead? jlioret 2 1,902 07-28-2024, 04:12 PM
Last Post: dchang0
  Pinephone Pro does not start with RE button pressed c0ssan 11 7,335 07-28-2024, 03:21 PM
Last Post: dchang0
  Will a Pinephone Pro (Explorer) work with TING wpeckham 8 4,100 07-28-2024, 03:04 PM
Last Post: dchang0
  Pinephone Pro: Determined To Make It (Drive-able) USeeks 3 712 07-20-2024, 10:11 AM
Last Post: mikehenson

Forum Jump:


Users browsing this thread: 1 Guest(s)