summaryrefslogtreecommitdiff
path: root/util/cbfstool
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2013-01-29 10:30:17 +0800
committerAnton Kochkov <anton.kochkov@gmail.com>2013-02-04 11:12:15 +0100
commit5be66730cf6d1a3814cd227d34f4265ffcf82ee1 (patch)
treec6d1aefdcaefc4510326be0eaebff65c23fd64cc /util/cbfstool
parent18ee01ed05429df70d90133be0f0e0e4ff1daf51 (diff)
downloadcoreboot-5be66730cf6d1a3814cd227d34f4265ffcf82ee1.tar.xz
cbfstool: Update example file.
The syntax of cbfstool has been changed for a while (using getopt). Updated EXAMPLE file to show the right way to test cbfstool. Change-Id: I5cb41b76712d8c2403fffc9fdad83c61fb2af98c Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: http://review.coreboot.org/2215 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Diffstat (limited to 'util/cbfstool')
-rw-r--r--util/cbfstool/EXAMPLE10
1 files changed, 4 insertions, 6 deletions
diff --git a/util/cbfstool/EXAMPLE b/util/cbfstool/EXAMPLE
index 0f7aea6773..81aa7fb86a 100644
--- a/util/cbfstool/EXAMPLE
+++ b/util/cbfstool/EXAMPLE
@@ -1,8 +1,6 @@
rm coreboot.rom;
-./cbfstool coreboot.rom create 0x80000 0x10000 /tmp/coreboot.strip
-./cbfstool coreboot.rom add-payload /tmp/filo.elf normal/payload l
+./cbfstool coreboot.rom create -m x86 -s 256K -B /tmp/coreboot.strip -o 0x1000
+./cbfstool coreboot.rom add-stage -f romstage.bin -n fallback/romstage
+./cbfstool coreboot.rom add-payload -f /tmp/filo.elf -n normal/payload -c lzma
./cbfstool coreboot.rom print
-#./cbfstool coreboot.rom add-stage /tmp/filo.elf normal/payload
-
-./cbfstool coreboot.rom print
-cp coreboot.rom /home/rminnich/qemutest/
+qemu-system-i386 -bios coreboot.rom -nographic