e4ea2ca18d
cbfstool usage change: "-a" for "cbfstool locate" can specify base address alignment. To support putting a blob in aligned location (ex, microcode needs to be aligned in 0x10), alignment (-a) is implemented into "locate" command. Verified by manually testing a file (324 bytes) with alignment=0x10: cbfstool coreboot.rom locate -f test -n test -a 0x10 # output: 0x71fdd0 cbfstool coreboot.rom add -f test -n test -t raw -b 0x71fdd0 cbfstool coreboot.rom print -v -v # output: test 0x71fd80 raw 324 # output: cbfs_file=0x71fd80, offset=0x50, content_address=0x71fdd0+0x144 Also verified to be compatible with old behavior by building i386/axus/tc320 (with page limitation 0x40000): cbfstool coreboot.rom locate -f romstage_null.bin -n romstage -P 0x40000 # output: 0x44 cbfstool coreboot.rom locate -f x.bin -n romstage -P 0x40000 -a 0x30 # output: 0x60 Change-Id: I78b549fe6097ce5cb6162b09f064853827069637 Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: http://review.coreboot.org/2824 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) |
||
---|---|---|
.. | ||
abuild | ||
acpi | ||
amdtools | ||
cbfstool | ||
cbmem | ||
crossgcc | ||
dtd_parser | ||
dumpmmcr | ||
ectool | ||
genprof | ||
getpir | ||
gitconfig | ||
i915tool | ||
ifdtool | ||
inteltool | ||
k8resdump | ||
kconfig | ||
lbtdump | ||
lint | ||
mkelfImage | ||
mptable | ||
msrtool | ||
nrv2b | ||
nvramtool | ||
optionlist | ||
resetcf | ||
romcc | ||
runfw | ||
sconfig | ||
showdevicetree | ||
superiotool | ||
vgabios | ||
xcompile |