[coreboot] CBSTOOL

ali hagigat hagigatali at gmail.com
Mon Feb 28 14:14:24 CET 2011


I wonder if anybody can explain the function of CBFSTOOL commands:
create, add-stage and locate in details, examples are below:

$(CBFSTOOL) $@ create $(CONFIG_COREBOOT_ROMSIZE_KB)K $(obj)/coreboot.bootblock

$(CBFSTOOL) $@ add-stage $(obj)/romstage.elf
$(CONFIG_CBFS_PREFIX)/romstage x 0x$(shell cat $(obj)/location.txt)

$(CBFSTOOL) $(obj)/coreboot.pre1 locate $(obj)/romstage.bin
$(CONFIG_CBFS_PREFIX)/romstage $(CONFIG_XIP_ROM_SIZE) >
$(obj)/location.txt

Regards




More information about the coreboot mailing list