Skip to content

FAT32: "Superfloppy" format and other fixes

Wolfgang Denk u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5usb_storage.c: initialize device typecommon/usb_storage.c+2 -10 replies
1/5usb_storage.c: initialize device type+0 -01 reply
2/5FAT32: fix support for superfloppy-format (PBR)disk/part_dos.c disk/part_dos.h fs/fat/fat.c+8 -30 replies
2/5FAT32: fix support for superfloppy-format (PBR)+0 -00 replies
3/5FAT32: fix broken root directory handling.fs/fat/fat.c+50 -100 replies
3/5FAT32: fix broken root directory handling.+0 -00 replies
4/5usb_storage.c: change progress output in debug() messagecommon/usb_storage.c+3 -30 replies
4/5usb_storage.c: change progress output in debug() message+0 -01 reply
5/5fs/fat: Big code cleanup.common/cmd_fat.c fs/fat/fat.c fs/fat/file.c +1 more+698 -7560 replies
5/5fs/fat: Big code cleanup.+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/5] FAT32: "Superfloppy" format and other fixes

"Superfloppy" format (in U-Boot called PBR) did not work for FAT32 due to several errors; some errors appaeared only in certain configurations (like directories with more than 128 entries, etc.). These patches are supposed to fix these issues.

Wolfgang Denk (5):
usb_storage.c: initialize device type
FAT32: fix support for superfloppy-format (PBR)
FAT32: fix broken root directory handling. usb_storage.c: change progress output in debug() message fs/fat: Big code cleanup.

 common/cmd_fat.c     |  210 ++--------
 common/usb_storage.c |    9 +-
 disk/part_dos.c      |    4 +-
 disk/part_dos.h      |    3 +-
 fs/fat/fat.c         | 1143 ++++++++++++++++++++++++++++----------------------
 fs/fat/file.c        |   14 +-
 include/fat.h        |   63 ++--
 7 files changed, 717 insertions(+), 729 deletions(-)

Best regards,

Wolfgang Denk

Signature · 7 lines
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: wd at denx.de
Misquotation is, in fact, the pride and privilege of the  learned.  A
widely-read  man  never  quotes  accurately,  for  the rather obvious
reason that he has read too widely.
                - Hesketh Pearson _Common Misquotations_ introduction