[coreboot] New patch to review for coreboot: 4d0b82f Document CBFStool's behaviour

Noé Rubinstein (noe.rubinstein@gmail.com) gerrit at coreboot.org
Mon Oct 17 12:29:15 CEST 2011


Noé Rubinstein (noe.rubinstein at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/286

-gerrit

commit 4d0b82fc39cf7f88be0d7a7de2e29f2377b77611
Author: Noe Rubinstein <nrubinstein at avencall.com>
Date:   Tue Oct 11 18:27:58 2011 +0200

    Document CBFStool's behaviour
    
    Change-Id: I8cd905db0297f2b8194de433f79d483964313e4f
    Signed-off-by: Noe Rubinstein <nrubinstein at avencall.com>
---
 util/cbfstool/cbfstool.c |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c
index 75edcda..b298660 100644
--- a/util/cbfstool/cbfstool.c
+++ b/util/cbfstool/cbfstool.c
@@ -315,11 +315,18 @@ void usage(void)
 	     " add-payload FILE NAME [COMP] [base]  Add a payload to the ROM\n"
 	     " add-stage FILE NAME [COMP] [base]    Add a stage to the ROM\n"
 	     " create SIZE BOOTBLOCK [ALIGN]        Create a ROM file\n"
-	     " locate FILE NAME ALIGN OFFSET        Find a place for a file of that size\n"
-	     "                                      OFFSET is relative to the ROM start.\n"
+	     " locate FILE NAME ALIGN [offset]      Find a place for a file of that size\n"
 	     " print                                Show the contents of the ROM\n"
 	     " extract NAME FILE                    Extracts a raw payload from ROM\n"
 	     "\n"
+	     "If COMP is l, the component is LZMA-compressed.\n"
+	     "\n"
+	     "If base is prefixed with a +, it is interpreted as a minimum\n"
+	     "offset relative to the start of the ROM for the CBFS file,\n"
+	     "including header. If it does not start with a +, it is\n"
+	     "interpreted as the exact absolute physical address of the\n"
+	     "content of the file when CBFS will be loaded in memory.\n"
+	     "\n"
 	     "TYPEs:\n"
 	     );
 	print_supported_filetypes();




More information about the coreboot mailing list