Strange SD Card Problems
#1
Hi,

I have Problems with SD card flashing that I cannot explain. Basically I have run Raspis for years, am comfortable with command line (Developer), have written lots of images to SD cards and mostly things worked as expected. Up to my pinephone. Basically I download images and write them to a 16GB card with dd like such:

Code:
/mnt/cloud/images# dd bs=128K if=Manjaro-ARM-phosh-pinephone-beta5.img of=/dev/sdd conv=fsync status=progress

On this one 16GiB card that I have lying around I can successfully do this with Manjaro Posh/KDE Images, Mobian and Arch for Arm. All work as expected. Now I have a bunch of 32GiB cards I'd like to use. But writing to those cards with the same dd command will result in boot failure. The LED on the pinephone turns red and that is iit. I have tried zeroing out the cards before write, bought new ones. None of the 32GiB cards work. I tried using different SD card readers etc. Nothing works. Except the trusty old 16Gib Sandisk Card. The 32Gib Cards are SanDisk and Transcend cards. If I flash for example Manjaro KDE, I get sensible values (to me) when checking the card with sfdisk like:

Code:
sfdisk -uS -d /dev/sdf
label: dos
label-id: 0x198aa440
device: /dev/sdf
unit: sectors

/dev/sdf1 : start=      62500, size=      437501, type=c
/dev/sdf2 : start=      500001, size=    9617119, type=83

The start sector of looks to be a bit far into the card, but it is the same as in the image:

Code:
fdisk -l Manjaro-ARM-plasma-mobile-pinephone-beta2.img
Disk Manjaro-ARM-plasma-mobile-pinephone-beta2.img: 4.8 GiB, 5174722560 bytes, 10106880 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xdc868f53

Device                                        Boot  Start      End Sectors  Size Id Type
Manjaro-ARM-plasma-mobile-pinephone-beta2.img1      62500  500000  437501 213.6M  c W95 FAT32 (LBA)
Manjaro-ARM-plasma-mobile-pinephone-beta2.img2      500001 10106879 9606879  4.6G 83 Linux

Any help or pointer would be really appreciated as to what could be the reason for this. Next stop is getting a UART Adapter so I can see what the bootloader is doing I guess.

Best Regards,

anhilde
  Reply


Messages In This Thread
Strange SD Card Problems - by anhilde - 02-18-2021, 06:42 AM
RE: Strange SD Card Problems - by anhilde - 02-18-2021, 11:34 AM
RE: Strange SD Card Problems - by RTP - 02-18-2021, 12:02 PM
RE: Strange SD Card Problems - by dsimic - 02-19-2021, 10:12 AM
RE: Strange SD Card Problems - by anhilde - 02-21-2021, 01:48 AM
RE: Strange SD Card Problems - by anhilde - 02-18-2021, 02:38 PM
RE: Strange SD Card Problems - by TRS-80 - 02-19-2021, 01:41 PM
RE: Strange SD Card Problems - by Zebulon Walton - 02-21-2021, 07:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PinePhone Beta Edition will not boot from MicroSD card Timothy_Ecc 27 23,859 01-29-2023, 12:20 PM
Last Post: skandigraun
  Pinephone won't boot from SD card arkadione 3 3,438 05-25-2022, 03:26 PM
Last Post: sfb
  Largest supported micro SD card? zooidic 2 2,005 01-08-2022, 06:01 AM
Last Post: zooidic
  Red LED when trying to boot from SD card. Need advice. サーバント 5 4,229 10-20-2021, 09:40 AM
Last Post: biketool
  camera firmware problems kqlnut 25 21,618 09-02-2021, 07:49 PM
Last Post: Zebulon Walton
  Fragile SIM card connector hakkou 1 1,816 08-25-2021, 07:44 AM
Last Post: wibble
  camera + megaixel and strange behavior streak 0 1,685 06-02-2021, 06:45 AM
Last Post: streak
  Sd card slot death? Hurrikan 7 6,523 05-17-2021, 03:55 PM
Last Post: jrballesteros05
  WARNING to future users ~ Order yourself a SIM Card Extender Bonesdog 3 3,974 05-03-2021, 10:06 AM
Last Post: Bonesdog
  Fastest SD card happybot-4678 9 8,566 02-20-2021, 01:08 AM
Last Post: dsimic

Forum Jump:


Users browsing this thread: 1 Guest(s)