coreboot-kgpe-d16/util/cbfstool/EXAMPLE
Hung-Te Lin 5be66730cf 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>
2013-02-04 11:12:15 +01:00

6 lines
324 B
Text

rm coreboot.rom;
./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
qemu-system-i386 -bios coreboot.rom -nographic