U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/9] Add single-device read-only BTRFS support
@ 2017-09-03 15:00 Marek Behún
  2017-09-03 15:00 ` [U-Boot] [PATCH 1/9] lib: Add CRC32-C Marek Behún
                   ` (8 more replies)
  0 siblings, 9 replies; 21+ messages in thread
From: Marek Behún @ 2017-09-03 15:00 UTC (permalink / raw)
  To: u-boot

This is the first version of patches for adding a single-device
read-only BTRFS support to U-Boot.

Compression (zlib/lzo) is supported.
Data checksumming is unimplemented.

The code was tested on the Turris Omnia router, where BTRFS is
used as the main filesystem from which kernel and device-tree
are loaded.

The first patch adds the CRC32-C hash routine.

The second patch generalizes the ext4fs_devread, reiserfs_devread
and zfs_devread functions into one fs_devread and puts it into
fs/fs_internal.c.

The third patch creates a header variadic-macro.h containing
a variadic macro CALL_MACRO_FOR_EACH, which expands to a call
to the macro specified by the first argument to all its subsequent
arguments. This is used in my code for defining functions to
convert the BTRFS data structures to/from CPU/disk format.

The fourth patch adds the btrfs_tree.h and ctree.h files
containing constants and structures definitions for BTRFS from
Linux.

The fifth patch adds the code for conversion of BTRFS data
structures to/from CPU/disk format.

The sixth patch adds the proper BTRFS code.

The seventh patch adds U-Boot fs handlers.

The eighth patch adds the 'btrsubvol' command to list BTRFS
subvolumes.

The nineth patch adds CONFIG_CMD_BTRFS into the defconfig for
Turris Omnia.

Tested-by: Marek Behun <marek.behun@nic.cz>
Signed-off-by: Marek Behun <marek.behun@nic.cz>

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2017-10-03 12:52 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-03 15:00 [U-Boot] [PATCH 0/9] Add single-device read-only BTRFS support Marek Behún
2017-09-03 15:00 ` [U-Boot] [PATCH 1/9] lib: Add CRC32-C Marek Behún
2017-09-03 15:47   ` Łukasz Majewski
2017-09-03 19:25     ` Marek Behun
2017-10-03 12:51   ` [U-Boot] [U-Boot,1/9] " Tom Rini
2017-09-03 15:00 ` [U-Boot] [PATCH 2/9] fs: Create a common fs_devread for ext4/reiserfs/zfs Marek Behún
2017-10-03 12:51   ` [U-Boot] [U-Boot, " Tom Rini
2017-09-03 15:00 ` [U-Boot] [PATCH 3/9] include: Add a variadic macro to call a callback for all arguments Marek Behún
2017-10-03 12:51   ` [U-Boot] [U-Boot, " Tom Rini
2017-09-03 15:00 ` [U-Boot] [PATCH 4/9] fs: btrfs: Add btrfs_tree.h and ctree.h from Linux (and modified) Marek Behún
2017-10-03 12:51   ` [U-Boot] [U-Boot, " Tom Rini
2017-09-03 15:00 ` [U-Boot] [PATCH 5/9] fs: btrfs: Add disk-to-cpu and cpu-to-disk conversion functions Marek Behún
2017-10-03 12:51   ` [U-Boot] [U-Boot, " Tom Rini
2017-09-03 15:00 ` [U-Boot] [PATCH 6/9] fs: btrfs: Add single-device read-only BTRFS implementation Marek Behún
2017-10-03 12:52   ` [U-Boot] [U-Boot, " Tom Rini
2017-09-03 15:00 ` [U-Boot] [PATCH 7/9] fs: btrfs: Add U-Boot fs handlers Marek Behún
2017-10-03 12:52   ` [U-Boot] [U-Boot,7/9] " Tom Rini
2017-09-03 15:00 ` [U-Boot] [PATCH 8/9] cmd: Add the 'btrsubvol' command to list BTRFS subvolumes Marek Behún
2017-10-03 12:52   ` [U-Boot] [U-Boot, " Tom Rini
2017-09-03 15:00 ` [U-Boot] [PATCH 9/9] mvebu: turris_omnia: Add CONFIG_CMD_BTRFS to defconfig Marek Behún
2017-10-03 12:52   ` [U-Boot] [U-Boot, " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox