Skip to content

Replace the FAT filesystem code

Tom Rini u-boot 1 version New

Get series with b4
b4 am 20150814192950.GH25532@bill-the-cat

Versions newest first

  1. v2 Latest2 of 10 patches 0 repliesNew

2 of 10 patches are in this archive. The cover letter announces 10.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
6/10fat: ffconf.h changes for U-Boot port+0 -01 reply
6/10fat: ffconf.h changes for U-Boot port+0 -01 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [U-Boot] [PATCH V2 00/10] Replace the FAT filesystem code
Quoted 7 lines · Stephen Warren

The existing FAT filesystem implementation in U-Boot has some bugs that are tricky to fix cleanly without significant rework of the code. For example, see:

http://lists.denx.de/pipermail/u-boot/2015-July/221054.html
[PATCH] fat: handle paths that include ../

Quoted 6 lines

This series replaces U-Boot's FAT filesystem implementation with the "ff" project; http://elm-chan.org/fsw/ff/00index_e.html. This project appears to be actively maintained, does not have at least the bug referenced in the patch link above, and is quite easy to integrate into U-Boot. An earlier version is also used in Barebox, so presumably it's had some level of testing/exposure there.

So, yes. I can see this being a useful way forward for dealing with FAT.

Quoted 4 lines

Note that this series is based on u-boot/master without the patch linked above applied. I wonder if it's a little risky to apply this series after -rc1; perhaps the patch above should be applied to v2015.10, and this series immediately after the release?

Yes, it's too late for v2015.10 but we can put this in for the next release assuming there's enough testing and agreement and so forth.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150814/35f284d4/attachment.sig>