Re: Getting FSPM XIP base does not match Error, after flashing the fspm stitched Coreboot
Sameeruddin Shaik <[email protected]>
| Newsgroups | gmane.linux.bios |
|---|---|
| Message-ID | <CAK7tX=aOnMgtD+U+J3D=4xQEZBEuHXKC2Zk6z4sRk+7gpN6V7g@mail.gmail.com> |
hi Jeremy, I am using old cbfstool. after updating the cbfstool to latest version, i can pass --mmap parameter to cbfstool and its worked for me. Thanks for the help!!!! --sameer. On Wed, Nov 15, 2023 at 6:40 AM Sameeruddin Shaik < [email protected]> wrote: > 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 < > [email protected]> 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+%[email protected]%3E> >> * Subject*: [coreboot] Getting FSPM XIP base does not match Error, after >> flashing the fspm stitched Coreboot >> * To*: Coreboot <Coreboot+%[email protected]%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. >> > _______________________________________________ coreboot mailing list -- [email protected] To unsubscribe send an email to [email protected]