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 (5.16 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edittion, Tow-boot on SPI, Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, daily driver: Tow-boot with Arch/Phosh on eMMC
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  What to do if your PinePhone Pro does not boot fxc 17 3,120 06-23-2022, 04:39 PM
Last Post: fxc
Lightbulb Manjaro Phosh vs. Manjaro Plasma on Pinephone Pro? danimations 9 716 06-22-2022, 07:53 AM
Last Post: tckosvic
  pinephone pro boot: kernel image not aligned on 64k boundary kmerfeld 0 112 06-20-2022, 01:08 PM
Last Post: kmerfeld
  pinephone pro don’t boot anymore :/ (I erased bootloader by mistake) elode 9 284 06-20-2022, 11:16 AM
Last Post: elode
  R U running from eMMC -- If so how? tckosvic 19 2,667 06-14-2022, 08:47 AM
Last Post: bobjrsenior
  PinePhone Pro not detected by my PC Syndicator 20 713 06-11-2022, 10:44 AM
Last Post: Syndicator
  PinePhone Pro working on Lapdock using Arch Plasma hockleyj 5 444 05-27-2022, 05:18 PM
Last Post: hockleyj
  Should I buy a Pinephone Pro? Anna 8 1,246 05-22-2022, 08:38 AM
Last Post: zetabeta
Information Fix PinePhone Pro when unable to boot due to drained battery butjar 7 1,651 05-21-2022, 01:24 PM
Last Post: 98cwitr
  My new Pinephone Pro does not boot any more jlioret 3 848 05-21-2022, 12:08 PM
Last Post: 98cwitr

Forum Jump:


Users browsing this thread: 1 Guest(s)