ERROR: MSDC: CRC error occured while reading data with cmd=17, arg=0x680000
ERROR: MSDC: Command has timed out with cmd=17, arg=0x680000
ERROR: BL2: Failed to load image id 3 (-5)
Regarding the reported crc-error in bootlog, the dd command only says
If I use win32imager in Win11 with the same image to write the sdcard, all is fine.
Edit: just found, the image is also not usable in Windows. Wondering, just yesterday that was the solution.
So I must have the bug in my buildroot. I changed the root partition size to 512 MB and added several packages.
During make process I can´t see any errors.
Do I have wrong build options?
As I know (more than 30 year ago) the sync command works only on filesystems, not on block devices used by dd.
I found this thread I will check, if I got time (the house is full in he next days :-))
Sandisk 8 GB: above error (was written in 3,1 MB/s)
similar Sandisk 8 GB: works (was written in 2,4 MBs)
Noname 2 GB: above error (was written in 3,2 MB/s)
Lync 8GB works
Sandisk Ultra 16Gb other error
Failed to mount ext2 filesystem...
*** ERROR: Can't read GPT Entries ***
find_valid_gpt: *** ERROR: Invalid GPT ***
*** ERROR: Can't read GPT header ***
find_valid_gpt: *** ERROR: Invalid Backup GPT ***
*** Error - No Valid Environment Area found
*** Warning - bad env area, using default environment
It’s a good idea, to have more than one card at hand…
In the future I’m using luci for updates, therefore the sdcard problem is a rare condition.
Only wondering, I didn’t have such trouble during my R2 builds. Maybe since then I have new pc, new card writer.
Maybe problem is gpt backup at the end of the disk which is not writen by image. Then you have main gpt at disk beginning which does not match the old gpt at the end.