Thank you.
There are typos in the comment.
" # write VBR checksum (from sector 0 to sector 11) at offset 5632 (sector 12) and sector 24 (sector 24, for backup VBR)"
The exFAT volume structure is:
sector 0-sector 11 Primary VBR
(sector 0- sector 8 boot parameters, sector 9 OEM parameters, sector 10 reserved, sector 11 primary VBR hash)
sector 12-sector 23 Backup VBR (sector 12-sector 23, same structure as primary VBR)
So you have to calculate the checksum from sector 0-10 and write to sector 11 and sector 23 for backup VBR.
regards,
pel
--
http://magiclantern.wikia.com/
To post to this group, send email to ml-d...@googlegroups.com
To unsubscribe from this group, send email to ml-devel+u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/ml-devel?hl=en
BTW, exFAT stores volume label in the root directory (entry of type
0x83), not in the boot sector.
and still 'card not accesseble'
Even, that it now does the vbr checksum thingie and runs the checksum .c file recomputing stuff
BTW, exFAT stores volume label in the root directory (entry of type
0x83), not in the boot sector.