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
ali hagigat wrote:
I wonder if anybody can explain the function of CBFSTOOL commands: create, add-stage and locate in details, examples are below:
Did you even try searching for cbfstool in the source tree or on the web page?
//Peter
On 02/28/2011 03:57 PM, Peter Stuge wrote:
ali hagigat wrote:
I wonder if anybody can explain the function of CBFSTOOL commands: create, add-stage and locate in details, examples are below:
Did you even try searching for cbfstool in the source tree or on the web page?
Ali, let me rephrase that for you: ./build/cbfstool -h
:)
Alex