[PATCH 29/29] jffs2: Add README
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Jul 5 07:49:49 UTC 2018
Add README to document the corrspending Linux version and the update
procedure.
Close #3465.
35 0 cpukit/libfs/src/jffs2/README
diff --git a/cpukit/libfs/src/jffs2/README b/cpukit/libfs/src/jffs2/README
new file mode 100644
index 0000000000..7d9c9f41b2
--- /dev/null
+++ b/cpukit/libfs/src/jffs2/README
@@ -0,0 +1,35 @@
+This directory contains a port of the JFFS2 file system from Linux v4.17.
+
+To update to a newer Linux version use this command in a Git clone of Linux to
+generate the relevant patches:
+
+ git format-patch v4.17..v9.99 --
+ include/uapi/linux/jffs2.h \
+ fs/jffs2/LICENCE \
+ fs/jffs2/acl.h \
+ fs/jffs2/build.c \
+ fs/jffs2/compr.c \
+ fs/jffs2/compr.h \
+ fs/jffs2/compr_rtime.c \
+ fs/jffs2/compr_rubin.c \
+ fs/jffs2/compr_zlib.c \
+ fs/jffs2/debug.c \
+ fs/jffs2/debug.h \
+ fs/jffs2/erase.c \
+ fs/jffs2/gc.c \
+ fs/jffs2/jffs2_fs_i.h \
+ fs/jffs2/jffs2_fs_sb.h \
+ fs/jffs2/nodelist.c \
+ fs/jffs2/nodelist.h \
+ fs/jffs2/nodemgmt.c \
+ fs/jffs2/read.c \
+ fs/jffs2/readinode.c \
+ fs/jffs2/scan.c \
+ fs/jffs2/summary.h \
+ fs/jffs2/write.c \
+ fs/jffs2/xattr.h
+
+The patches need a transformation of file paths from Linux to RTEMS:
+
+ sed -i 's%/include/uapi%/cpukit/libfs/src/jffs2/include%g' 00*
+ sed -i 's%/fs/jffs2%/cpukit/libfs/src/jffs2/src%g' 00*
--
2.13.7
More information about the devel
mailing list