Hi U-Boot folks, On Mon, Aug 23, 2021 at 08:36:43PM +0800, Huang Jianan wrote: > From: Huang Jianan <huangjia...@oppo.com> > > Add erofs filesystem support. > > The code is adapted from erofs-utils in order to reduce maintenance > burden and keep with the latest feature. > > Changes since v1: > - fix the inconsistency between From and SoB (Bin Meng); > - add missing license header; > > Huang Jianan (3): > fs/erofs: add erofs filesystem support > fs/erofs: add lz4 1.8.3 decompressor > fs/erofs: add lz4 decompression support
Could someone take some time looking into this? I think adding erofs support to U-Boot is useful for booting with erofs. And keep sync with erofsfuse code in erofs-utils is a good strategy for latest feature. Thanks in advance. Thanks, Gao Xiang > > fs/Kconfig | 1 + > fs/Makefile | 1 + > fs/erofs/Kconfig | 12 + > fs/erofs/Makefile | 10 + > fs/erofs/data.c | 206 ++++++++++++++++ > fs/erofs/decompress.c | 74 ++++++ > fs/erofs/decompress.h | 29 +++ > fs/erofs/erofs_fs.h | 384 ++++++++++++++++++++++++++++++ > fs/erofs/fs.c | 231 ++++++++++++++++++ > fs/erofs/internal.h | 203 ++++++++++++++++ > fs/erofs/lz4.c | 534 ++++++++++++++++++++++++++++++++++++++++++ > fs/erofs/lz4.h | 5 + > fs/erofs/namei.c | 238 +++++++++++++++++++ > fs/erofs/super.c | 65 +++++ > fs/erofs/zmap.c | 517 ++++++++++++++++++++++++++++++++++++++++ > fs/fs.c | 22 ++ > include/erofs.h | 19 ++ > include/fs.h | 1 + > 18 files changed, 2552 insertions(+) > create mode 100644 fs/erofs/Kconfig > create mode 100644 fs/erofs/Makefile > create mode 100644 fs/erofs/data.c > create mode 100644 fs/erofs/decompress.c > create mode 100644 fs/erofs/decompress.h > create mode 100644 fs/erofs/erofs_fs.h > create mode 100644 fs/erofs/fs.c > create mode 100644 fs/erofs/internal.h > create mode 100644 fs/erofs/lz4.c > create mode 100644 fs/erofs/lz4.h > create mode 100644 fs/erofs/namei.c > create mode 100644 fs/erofs/super.c > create mode 100644 fs/erofs/zmap.c > create mode 100644 include/erofs.h > > -- > 2.25.1