[BH] Issues booting from eMMC with NON-BOOTABLE SD card inserted
#4
(05-14-2020, 03:29 PM)Boern Wrote: I think it's looking for u-boot somewhere in the first MB or so of the card. If you had an OS on there and just deleted everything from the partitions u-boot might still be on there. You have to overwrite everything with zeroes, i think 8k from the start to the start of the first partition.
Something along the lines of
Code:
dd if=/dev/zero of=/dev/mmcblk0 bs=8k seek=1 count=64
will probably be enough.
I had used this drive as an OS drive prior, however it never occurred to me the boot sector might still be populated.  Thanks for the reminder that unflagged is not overwritten!

Unfortunately, even after using dd it still would not boot with the SD card inserted.  I even went so far as to set the count to 128, thus overwritting the entire 1st MB of the drive, to no avail.

After digging around in a few drawers I found an SD card I was sure had not ever been set to boot (I've been testing allot of distro/revs on the pinephone...) and it booted up perfectly!

So, thanks for the help!

I've checked the drive in question on serveral OS's (linux and windows) using different partition managers and I'm not seeing anything that would cause it to appear as a bootable device.  Is there anyone else that is booting off of internal storage that would be willing to test if a formerly-bootable SD card causes the same issues I'm seeing?


Messages In This Thread
RE: [BH] Issues booting from eMMC with NON-BOOTABLE SD card inserted - by Segfault - 05-14-2020, 07:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Modem Issues with the Pinephone Temmie19 2 243 10-16-2024, 07:54 AM
Last Post: Temmie19
  emmc speed via usb? joe1 0 362 04-27-2024, 08:07 PM
Last Post: joe1
  PinePhone Pro not booting (Cap error!, pctl timeout) jealda 2 2,057 11-16-2023, 05:03 AM
Last Post: DrYak
  eMMC upgrade EuvzO8 5 2,720 11-08-2023, 11:58 PM
Last Post: brken
  PinePhone Beta Edition will not boot from MicroSD card Timothy_Ecc 27 28,254 01-29-2023, 12:20 PM
Last Post: skandigraun
  RAM corruption, possible eMMC corruption alnyan 3 2,445 08-24-2022, 03:07 AM
Last Post: JeremyWadsworth
  Emmc yvan 1 1,780 07-07-2022, 08:16 AM
Last Post: Chief
  Issues with HDMI-out from convergence dock folgaran 1 1,499 06-16-2022, 04:35 PM
Last Post: alaraajavamma
  Pinephone won't boot from SD card arkadione 3 4,292 05-25-2022, 03:26 PM
Last Post: sfb
  Any experiences with hardware mod to improve eMMC speeds? kqlnut 9 7,453 04-19-2022, 02:36 PM
Last Post: kk22

Forum Jump:


Users browsing this thread: 1 Guest(s)