From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 22 Oct 2012 08:22:50 -0700 Subject: [U-Boot] [PATCH 6/7] fs: Add a Coreboot Filesystem (CBFS) driver and commands In-Reply-To: <1350087972-1581-6-git-send-email-sjg@chromium.org> References: <1350087972-1581-1-git-send-email-sjg@chromium.org> <1350087972-1581-6-git-send-email-sjg@chromium.org> Message-ID: <20121022152250.GA11518@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Oct 12, 2012 at 05:26:11PM -0700, Simon Glass wrote: > From: Gabe Black > > This change adds CBFS support and some commands to use it to u-boot. These > commands are: > > cbfsinit - Initialize CBFS support and pull all metadata into RAM. The end of > the ROM is an optional parameter which defaults to the standard 0xffffffff and > can be used to support multiple CBFSes in a system. The last one set up with > cbfsinit is the one that will be used. > > cbfsinfo - Print information from the CBFS header. > > cbfsls - Print out the size, type, and name of all the files in the current > CBFS. Recognized types are translated into symbolic names. > > cbfsload - Load a file from CBFS into memory. Like the similar command for fat > filesystems, you can optionally provide a maximum size. > > Support for CBFS is compiled in when the CONFIG_CMD_CBFS option is specified. > > The CBFS driver can also be used programmatically from within u-boot. > > If u-boot needs something out of CBFS very early before the heap is > configured, it won't be able to use the normal CBFS support which caches some > information in memory it allocates from the heap. The > cbfs_file_find_uncached function searches a CBFS instance without touching > the heap. > > Signed-off-by: Gabe Black > Signed-off-by: Stefan Reinauer > Signed-off-by: Simon Glass I would like to see a follow-up enhancement adding a DocBook tmpl file for cbfs now that we have DocBook support, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: