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
  PinePhone Pro silver lining, it’s fast, real damn fast ashoka232 0 198 03-20-2024, 01:45 AM
Last Post: ashoka232
  PinePhone Pro Black Screen CrimsenRaven 2 248 03-16-2024, 11:40 AM
Last Post: tmoj
  PinePhone Pro Review tmoj 2 409 03-14-2024, 07:14 AM
Last Post: tmoj
  Can't boot Pinephone Pro into Factory Test Build for Hardware Checking jydoxcen 3 569 02-17-2024, 04:04 AM
Last Post: fxc
Question Phone call with the pinephone pro dfs 5 3,996 02-10-2024, 09:54 PM
Last Post: Kevin Kofler
  Average Joe review of Pinephone Pro (March 2023) alaraajavamma 6 9,860 01-06-2024, 11:32 AM
Last Post: mikehenson
Question T-Mobile and Pinephone Pro in the US jydoxcen 4 655 01-02-2024, 09:08 AM
Last Post: mikehenson
  Pinephone Pro Screen Protector jydoxcen 11 1,117 12-21-2023, 07:58 AM
Last Post: zetabeta
  Pinephone Pro does not start with RE button pressed c0ssan 10 5,064 09-28-2023, 09:21 AM
Last Post: R0bbi3Mack
  Is my pinephone pro worth resurrecting? tckosvic 5 2,818 09-14-2023, 06:48 AM
Last Post: DaForest

Forum Jump:


Users browsing this thread: 1 Guest(s)