Skip to content

sandbox: Add filesystem support

Tom Rini u-boot 1 version New

Get series with b4
b4 am 20130304212717.GE25797@bill-the-cat

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11ext4: Split write support into its own file+0 -00 replies
2/11fs: Fully populate the filesystem method struct+0 -00 replies
3/11fs: Use filesystem methods instead of switch()+0 -00 replies
4/11fs: Tell probe functions where to put their results+0 -00 replies
5/11fs: Use map_sysmem() on read+0 -00 replies
6/11fs: Move ls and read methods into ext4, fat+0 -00 replies
7/11sandbox: Add a way of obtaining directory listings+0 -01 reply
7/11sandbox: Add a way of obtaining directory listings+0 -01 reply
8/11sandbox: Add host filesystem+0 -00 replies
9/11sandbox: Add 'sb' command to access filesystem features+0 -00 replies
10/11sandbox: Enable ext4 and fat filesystems+0 -00 replies
11/11sandbox: config: Enable sandbox command+0 -00 replies

Reviews trailers per patch

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

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

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

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/11] sandbox: Add filesystem support
Quoted 21 lines · Simon Glass

Hi,

Quoted 18 lines · Simon Glass

This series adds support for filesystems to sandbox. While we don't yet have access to host machine block devices, we can access files on the host through a new 'host' filesystem type and the new sandbox command 'sb'.

For example:

sb load host 0 1000 foo.bar

will load foo.bar from the host into memory at address 1000. The '0' parameter is the device number, currently unused.

While doing this work, I noticed that fs.c had code that probably belongs more in the filesystems themselves. So this series moves fat/ext4 code into those files. This removes most of the #ifdefs from this file, as well as the #defines of functions to 'unsupported'. Now there is a list of filesystems that we support, and if we don't find the one we need, we automatically fall back to the 'unsupported' one.

Quoted 7 lines
Quoted 3 lines

Finally, the ext4 write support is moved into a separate file since ext4fs.c was over 3500 lines and the write support seems entirely separate from the main function in that file.

Are there any comments on this series please? It adds new methods to the filesystem interface, and a new 'host' filesystem type for sandbox.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130304/18c22334/attachment.pgp>