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>
This commit is contained in:
Hung-Te Lin 2013-01-29 10:30:17 +08:00 committed by Anton Kochkov
parent 18ee01ed05
commit 5be66730cf
1 changed files with 4 additions and 6 deletions

View File

@ -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