Dear Wolfgang Denk, In message <1279532220-5848-4-git-send-email...@denx.de> you wrote: > On FAT32, instead of fetching the cluster numbers from the FAT, the > code assumed (incorrectly) that the clusters for the root directory > were allocated contiguously. In the result, only the first cluster > could be accessed. At the typical cluster size of 8 sectors this > caused all accesses to files after the first 128 entries to fail - > "fatls" would terminate after 128 files (usually displaying a bogus > file name, occasionally even crashing the system), and "fatload" > would fail to find any files that were not in the first directory > cluster. > > Signed-off-by: Wolfgang Denk <w...@denx.de> > --- > fs/fat/fat.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++--------- > 1 files changed, 50 insertions(+), 10 deletions(-)
Applied. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de The first thing we do is kill all the lawyers. (Shakespeare. II Henry VI, Act IV, scene ii) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot