[U-Boot-Users] [PATCH] bug fixes for fat.h

Zhang, Jian jzhang at ti.com
Tue Feb 3 23:22:58 CET 2004


This patch fixed two bugs found in fat.h. It is a diff with U-Boot-1.0.0
(10/29/2003).

1. The number of FAT12 entries in FAT12 buffer was calculated incorrectly.
As a result, you are not able to read any big file using more 2048 FAT12
entries.

2. data_begin in fsdata struct can be negative depending on the FAT system
layout. If it happens, wrong sectors are requested by fat code.

Best Regards,
Jian Zhang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20040203/962ec4de/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 985 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040203/962ec4de/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGELOG
Type: application/octet-stream
Size: 191 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040203/962ec4de/attachment-0001.obj 


More information about the U-Boot mailing list