PINE64
SDXC card prevents power on - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Hardware (https://forum.pine64.org/forumdisplay.php?fid=122)
+--- Thread: SDXC card prevents power on (/showthread.php?tid=10820)



SDXC card prevents power on - hiimtye - 07-24-2020

I've got a weird situation where if I have my SDXC 64GB Micro SD card inserted when I press the power button, it won't turn on. if I leave it in the slot, but not inserted, power it on, then insert the card all goes well. I can mount and use the card no problem. I was able to power on the phone before with it inserted, but no luck anymore.

my SDHC 16GB Micro SD card works perfectly fine. I don't have another SDXC card to test. does anyone else have this issue? any tips to resolve it? I've deleted the partitions on it and created a fresh Ext4 partition with some data on it. it seems to read from it fine once it's booted up (it happily imported my music library).


RE: SDXC card prevents power on - fernando_c_m - 07-24-2020

It seems the boot sector of your card hasn't been deleted.
I would try:
Back up your sd card contents, then make sure you select the right device on the of parameter as this will delete the MBR and the selected device won't be able to boot anymore.
dd if=/dev/zero of=/dev/yoursdcard bs=446 count=1
The contents of your sd card shouldn't be deleted, but better safe than sorry.


RE: SDXC card prevents power on - hiimtye - 07-24-2020

unfortunately that didn't fix anything. pressing and holding the power button still does nothing with the card inserted


RE: SDXC card prevents power on - fernando_c_m - 07-24-2020

Did you write an image on the card, after it was working normally, and afterwards deleted the partitions on it and formated it to ext4


RE: SDXC card prevents power on - hiimtye - 07-24-2020

I had used the card for the Jumpdrive image which worked perfectly, then I deleted the partitions and created a new Ext4 storage partition to use in the phone for music/photos.


RE: SDXC card prevents power on - fernando_c_m - 07-24-2020

That was my guess.
The MBR is still on the card. You have to delete it. The pinephone will look for it, find it, and try to boot from a partition which is not there. 
If dd didn't do the trick for you, you should wipe the whole card. There should be some other software out there which could do that.


RE: SDXC card prevents power on - hiimtye - 07-25-2020

I'm not sure how it's possible for an MBR to exist without a partition, but I'm dd if=/dev/zero on the entire card right now to make sure.


RE: SDXC card prevents power on - hiimtye - 08-15-2020

update: I finally had the time to reflash and test it, and it did indeed fix the issue. thanks @fernando_c_m for the help Smile


RE: SDXC card prevents power on - thatwaschrislee - 12-10-2020

I'm having a similar issue.

When I insert an SD card with jumpdrive0.6 on it and try to power up, nothing happens. Sometimes the rear camera LED flashes once, but nothing else. I've tried with two SD cards, a 128MB and a 64GB.

If I "dd if=/dev/zero of=/dev/mmcblk0" then the device powers up fine. I can also see the SD card in lsblk. "dd if=/dev/zero of=/dev/yoursdcard bs=446 count=1" did nothing.

If I insert the jumpdrive0.6 SD into the slot after powering on, I can see the jumpdrive partition as well.

I have the 3GB RAM PostMarketOS Community edition, all updates done. I have full-disk encryption enabled.

Any ideas?