All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] fat32 cluster size check
@ 2009-03-12 20:11 twebb
  0 siblings, 0 replies; only message in thread
From: twebb @ 2009-03-12 20:11 UTC (permalink / raw)
  To: u-boot

I see that a fix for cluster size checking for fat32 was commited in
8ce4e5...  "Fix checking fat32 cluster size."  One question I have is
that I implemented the fix but still see occasional problems with
fatls and fatload failing with "Invalid FAT entry".  Is the max value
for the new macro CHECK_CLUST() supposed to be 0x0FFF FFF0 (as it is
now) or should it be 0xFFFF FFF0?

The value I'm seeing for curclust returned from get_fatent() =
0xFFFFFF8 which results in the CHECK_CLUST() failure.  This is
occurring in get_vfatname().

I'm seeing the problem on a 4Gbyte SDcard with a 32+Mbyte FAT32
partition.  Any ideas?

Two follow-on questions (that may be way off base):

Do FATBUFBLOCKS need to be increased beyond 6 to support FAT32?
Does u-boot FAT32 support require filenames to be in 8.3 form only, or
are longer filenames supported?

Thanks.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-12 20:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-12 20:11 [U-Boot] fat32 cluster size check twebb

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.