summaryrefslogtreecommitdiffstats
path: root/board/kup
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-07-19 11:36:58 +0200
committerWolfgang Denk <wd@denx.de>2010-07-24 20:53:50 +0200
commit2aa98c6612fc34145d1f692cf610690955362bd0 (patch)
tree3e7ba780f2b5b32ef90867d5f0dea7b946768bc8 /board/kup
parent66c2d73cfc901aa35e0331b2fd710b250151f966 (diff)
downloadtalos-obmc-uboot-2aa98c6612fc34145d1f692cf610690955362bd0.tar.gz
talos-obmc-uboot-2aa98c6612fc34145d1f692cf610690955362bd0.zip
FAT32: fix broken root directory handling.
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 <wd@denx.de>
Diffstat (limited to 'board/kup')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud