
On Thu, 2009-02-26 at 11:48 +0100, Stefan Roese wrote:
This patchset adds UBIFS read-only support to U-Boot. The following commands are implemented:
ubifsmount Mount an UBIFS volume
ubifsls List a directory of the mounted UBIFS volume
ubifsload Load a file from the mounted UBIFS volume to memory
The U-Boot UBIFS implementation is largely a direct copy from the current Linux version (2.6.29-rc6). As already done in the UBI version we have an "abstraction layer" to redefine or remove some OS calls (e.g. mutex_lock() ...). This makes it possible to use the original Linux code with very little changes. And by this we can better update to later Linux versions.
Well, this is not abstraction layer, we just thought that at some point we'd have more fine-grained locking, so we wrapped the LPT mutex :-)
Also, you could probably remove a lot of code related to writing, if you wanted. E.g., whole garbage collecting, committing, synching stuff, and so on.