Skip to content

fs: exfat: Add exfat port based on exfat-fuse

Marek Vasut u-boot 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest11 patches 1 replyIn review
  2. v211 patches 3 repliesSuperseded
  3. v112 patches 20 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11cmd: fs: Add generic mkdir implementationcmd/fs.c+14 -00 replies
2/11cmd: fs: Add generic rm implementationcmd/fs.c+14 -00 replies
3/11test_fs: Allow testing FS_GENERICtest/py/tests/fs_helper.py test/py/tests/test_fs/conftest.py test/py/tests/test_fs/test_basic.py +3 more+187 -1620 replies
4/11linux: Add generic struct stat {}include/linux/stat.h+35 -100 replies
5/11fs: Add generic fs_devread() implementationfs/fs_internal.c include/fs_internal.h+104 -00 replies
6/11fs: exfat: Import libexfat from fuse-exfatfs/exfat/byteorder.h fs/exfat/cluster.c fs/exfat/compiler.h +11 more+4208 -00 replies
7/11fs: exfat: Add U-Boot porting layerfs/Kconfig fs/Makefile fs/exfat/Kconfig +12 more+607 -10 replies
8/11fs: exfat: Fix conversion overflow errorsfs/exfat/utf.c+13 -130 replies
9/11fs: exfat: Demote filesystem detection failure message to debug()fs/exfat/mount.c+6 -10 replies
10/11configs: sandbox: Enable exfat supportconfigs/sandbox64_defconfig configs/sandbox_defconfig+2 -00 replies
11/11test_fs: Add exfat teststest/py/requirements.txt test/py/tests/fs_helper.py test/py/tests/test_fs/conftest.py +3 more+35 -170 replies

Reviews trailers per patch

5 of 11 patches have a Reviewed-by or Acked-by.

PatchTom Rini
1/11R-b
2/11R-b
3/11
4/11
5/11
6/11A-b
7/11A-b
8/11
9/11R-b
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/11] fs: exfat: Add exfat port based on exfat-fuse

Import exfat-fuse libexfat, add U-Boot filesystem layer porting glue code and wire exfat support into generic filesystem support code. This adds exfat support to U-Boot.

Fill in generic filesystem interface for mkdir and rm commands. Make filesystem tests test the generic interface as well as exfat, to make sure this code does not fall apart.

[1] https://github.com/relan/exfat

    0b41c6d3560d ("CI: bump FreeBSD to 13.1.")

Marek Vasut (11):
cmd: fs: Add generic mkdir implementation
cmd: fs: Add generic rm implementation
test_fs: Allow testing FS_GENERIC
linux: Add generic struct stat {}
fs: Add generic fs_devread() implementation
fs: exfat: Import libexfat from fuse-exfat
fs: exfat: Add U-Boot porting layer
fs: exfat: Fix conversion overflow errors
fs: exfat: Demote filesystem detection failure message to debug()
configs: sandbox: Enable exfat support
test_fs: Add exfat tests

 cmd/fs.c                                |   28 +
 configs/sandbox64_defconfig             |    1 +
 configs/sandbox_defconfig               |    1 +
 fs/Kconfig                              |    2 +
 fs/Makefile                             |    1 +
 fs/exfat/Kconfig                        |    5 +
 fs/exfat/Makefile                       |   13 +
 fs/exfat/byteorder.h                    |   68 ++
 fs/exfat/cluster.c                      |  496 +++++++++
 fs/exfat/compiler.h                     |   69 ++
 fs/exfat/exfat.h                        |  259 +++++
 fs/exfat/exfatfs.h                      |  200 ++++
 fs/exfat/io.c                           | 1000 ++++++++++++++++++
 fs/exfat/lookup.c                       |  225 ++++
 fs/exfat/mount.c                        |  380 +++++++
 fs/exfat/node.c                         | 1243 +++++++++++++++++++++++
 fs/exfat/platform.h                     |   75 ++
 fs/exfat/repair.c                       |  115 +++
 fs/exfat/time.c                         |  175 ++++
 fs/exfat/utf.c                          |  254 +++++
 fs/exfat/utils.c                        |  192 ++++
 fs/fs.c                                 |   22 +
 fs/fs_internal.c                        |  102 ++
 include/exfat.h                         |   24 +
 include/fs.h                            |    3 +-
 include/fs_internal.h                   |    2 +
 include/linux/stat.h                    |   45 +-
 test/py/requirements.txt                |    1 +
 test/py/tests/fs_helper.py              |    8 +-
 test/py/tests/test_fs/conftest.py       |   44 +-
 test/py/tests/test_fs/fstest_helpers.py |    2 +
 test/py/tests/test_fs/test_basic.py     |   71 +-
 test/py/tests/test_fs/test_ext.py       |  176 ++--
 test/py/tests/test_fs/test_mkdir.py     |   42 +-
 test/py/tests/test_fs/test_unlink.py    |   38 +-
 tools/docker/Dockerfile                 |    1 +
 36 files changed, 5202 insertions(+), 181 deletions(-)
 create mode 100644 fs/exfat/Kconfig
 create mode 100644 fs/exfat/Makefile
 create mode 100644 fs/exfat/byteorder.h
 create mode 100644 fs/exfat/cluster.c
 create mode 100644 fs/exfat/compiler.h
 create mode 100644 fs/exfat/exfat.h
 create mode 100644 fs/exfat/exfatfs.h
 create mode 100644 fs/exfat/io.c
 create mode 100644 fs/exfat/lookup.c
 create mode 100644 fs/exfat/mount.c
 create mode 100644 fs/exfat/node.c
 create mode 100644 fs/exfat/platform.h
 create mode 100644 fs/exfat/repair.c
 create mode 100644 fs/exfat/time.c
 create mode 100644 fs/exfat/utf.c
 create mode 100644 fs/exfat/utils.c
 create mode 100644 include/exfat.h

---
Cc: Baruch Siach <[email protected]>
Cc: Francesco Dolcini <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Cc: Hiago De Franco <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Nam Cao <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Sughosh Ganu <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]

Signature · 1 line
2.47.2