From: Artem Bityutskiy Date: Thu, 26 Feb 2009 13:04:17 +0200 Subject: [U-Boot] [PATCH 2/9] UBIFS: Implement read-only UBIFS support in U-Boot (Part 1) In-Reply-To: <1235645302-24095-1-git-send-email-sr@denx.de> References: <1235645302-24095-1-git-send-email-sr@denx.de> Message-ID: <1235646257.25808.34.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. -- Best regards, Artem Bityutskiy (???????? ?????)