HI Jeremy, Thanks for the quick update, but unfortunately cbfstool doesn't have a parameter called --mmap, when i tried i got the below output. *cbfstool: unrecognized option '--mmap'*
--sameer.
On Wed, Nov 15, 2023 at 4:59 AM Compostella, Jeremy < jeremy.compostella@intel.com> wrote:
Hi *Sameer*,
This is probably because you are missing the --mmap parameters. Based on the error message you listed below I assume that you need the following extra cbfstool parameters when you add fspm.bin: --mmap 16777216:0xff000000:0x1000000 --mmap 0:0xf9000000:0x1000000.
Regards,
– *Jeremy* *One Emacs to rule them all*
- From*: Sameeruddin Shaik
<Sameeruddin+Shaik+%3Csameeruddin.shaik8@gmail.com%3E>
- Subject*: [coreboot] Getting FSPM XIP base does not match Error, after
flashing the fspm stitched Coreboot
- To*: Coreboot <Coreboot+%3Ccoreboot@coreboot.org%3E>
- Date*: Tue, 14 Nov 2023 06:33:52 -0700
hi , I am trying to stitch the fspm.bin binary in the coreboot file by using the below steps.
*sudo cbfstool "${IMAGE}" remove -r FW_MAIN_A -n fspm.binsudo cbfstool "${IMAGE}" remove -r FW_MAIN_B -n fspm.binsudo cbfstool "${IMAGE}" remove -n fspm.binsudo cbfstool "${IMAGE}" expand -r FW_MAIN_Asudo cbfstool "${IMAGE}" expand -r FW_MAIN_Bsudo cbfstool "${IMAGE}" add -t fsp -r FW_MAIN_A --xip -n fspm.bin -f "${FSPM}"sudo cbfstool "${IMAGE}" add -t fsp -r FW_MAIN_B --xip -n fspm.bin -f "${FSPM}"* *sudo cbfstool "${IMAGE}" add -t fsp --xip -n fspm.bin -f "${FSPM}"*
After stitching fspm.bin binary file in the coreboot file. i flashed the coreboot , its failing to boot and stuck at the below error.
*CBFS: Found 'fspm.bin' @0xc3fc0 size 0xd0000 in mcache @0xfef87804FSPM XIP base does not match: 0x00510000 vs 0xf95d3fe4*
I can be able to stitch the fspm.bin at the correct offset in the CBFS, but i can't update the fspm XIP
Any help is much appreciated.
Thanks in advance --sameer.