[coreboot] MRC in coreboot

Aaron Durbin adurbin at google.com
Fri Oct 12 15:42:08 CEST 2018


On Fri, Oct 12, 2018 at 4:38 AM Antony AbeePrakash X V <
AntonyAbee.PrakashXV at lnttechservices.com> wrote:

> Hi Aron,
>
>
>
> I am not able to get the cbmem timestamps. I am using cbmem utility to
> find the timestamps.
>
>
>
> *$ . /cbmem -t*
>
>
>
> The above command gives the following error.
>
>
>
> *Failed to mmap /dev/mem : Operation not permitted*
>
>
>
> Could you please help on this?
>

https://01.org/linuxgraphics/gfx-docs/drm/admin-guide/kernel-parameters.html

Adding 'iomem=relaxed' to the kernel cmdline would fix that particular
problem.

Note, with that current error, that you should see a PAT error in dmesg.


>
> Thanks & Regards,
>
> Antony
>
> *From:* Aaron Durbin [mailto:adurbin at google.com]
> *Sent:* Thursday, October 11, 2018 9:44 PM
> *To:* Antony AbeePrakash X V <AntonyAbee.PrakashXV at LntTechservices.com>
> *Cc:* Coreboot <coreboot at coreboot.org>; Dinesh Kumar <
> DINESHKUMAR.VARADARAJAN at LNTTECHSERVICES.COM>
> *Subject:* Re: [coreboot] MRC in coreboot
>
>
>
> cbmem timstamps will be needed.
>
>
>
> Looks like FSP is manipulating the tsc:
>
> BS: BS_DEV_INIT_CHIPS times (us): entry 0 run 4291539104 exit 0
>
>
>
> I have a hard time believing that took 4291 seconds.
>
>
>
> On Thu, Oct 11, 2018 at 10:11 AM Antony AbeePrakash X V <
> AntonyAbee.PrakashXV at lnttechservices.com> wrote:
>
> Hi Aaron,
>
> PFA the console log for your reference.
>
> Please look into this and provide feedback.
>
> Thanks,
> Antony
>
> -----Original Message-----
> From: Aaron Durbin [mailto:adurbin at google.com]
> Sent: Thursday, October 11, 2018 7:27 PM
> To: Antony AbeePrakash X V <AntonyAbee.PrakashXV at LntTechservices.com>
> Cc: Coreboot <coreboot at coreboot.org>; Dinesh Kumar <
> DINESHKUMAR.VARADARAJAN at LNTTECHSERVICES.COM>
> Subject: Re: [coreboot] MRC in coreboot
>
> On Thu, Oct 11, 2018 at 3:24 AM Antony AbeePrakash X V <
> AntonyAbee.PrakashXV at lnttechservices.com> wrote:
> >
> > Hi All,
> >
> > We are able to achieve the memory initialization time reduction. Now we
> have achieved the boot time as 5sec until the Postcode 0xf8 (entry into Elf
> boot).
> >
> > We have reduced the unwanted codes. We would like to reduce the boot
> time to less than 2sec.
> >
> > Could anyone please tell what can be done further ?
>
> You're going to need to post more information (cbmem timings and console
> logs).
>
> >
> > Thanks,
> > Antony
> >
> > -----Original Message-----
> > From: Aaron Durbin [mailto:adurbin at google.com]
> > Sent: Wednesday, September 05, 2018 7:39 PM
> > To: Antony AbeePrakash X V <AntonyAbee.PrakashXV at LntTechservices.com>
> > Cc: Coreboot <coreboot at coreboot.org>
> > Subject: Re: [coreboot] MRC in coreboot
> >
> > On Wed, Sep 5, 2018 at 8:06 AM Antony AbeePrakash X V <
> AntonyAbee.PrakashXV at lnttechservices.com> wrote:
> > >
> > > Hi,
> > >
> > >
> > >
> > > We are developing coreboot for Apollo lake custom board.  MRC training
> data save is enabled in FSP using Binary configuration tool.
> > >
> > >
> > >
> > > But we are getting logs like,
> > >
> > >
> > >
> > > No MRC cache found.
> > >
> > > MRC SeCUmaSize memory size from SeC ... 0
> > >
> > > MRC Parameters not valid. Status is Success
> > >
> > > MRC:CpuMemoryTest Successful!
> > >
> > > Saving MRC data using CSE through HECI interface
> >
> > I have never seen this path used in coreboot. This line above is saying
> CSE is responsible for saving and retrieving training data. In coreboot we
> use the main processor to save and restore. I suggest reading over the UPD
> parameters and ensure they match with our typical use cases. BCT tool
> enabling 'training data save' sounds like it's enabling CSE path.
> >
> > >
> > > Try to find MRC training data HOB.
> > >
> > > No MRC training data found, perform data save via HECI.
> > >
> > > Saved MRC training data with status (0x80000003)
> > >
> > >
> > >
> > > It seems that MRC data is not found and saved. Also I found that there
> are options to add MRC file path and mrc.bin in menuconfig. The only option
> I have is save cached MRC settings.
> > >
> > >
> > >
> > > What this mrc.bin will do?
> > >
> > > How to add the mrc.bin in coreboot?
> > >
> > >
> > >
> > > Please explain on this.
> > >
> > >
> > >
> > > Thanks & Regards,
> > >
> > > Antony
> > >
> > >
> > >
> > > L&T Technology Services Ltd
> > >
> > > www.LntTechservices.com
> > >
> > > This Email may contain confidential or privileged information for the
> intended recipient (s). If you are not the intended recipient, please do
> not use or disseminate the information, notify the sender and delete it
> from your system.
> > >
> > > --
> > > coreboot mailing list: coreboot at coreboot.org
> > > https://mail.coreboot.org/mailman/listinfo/coreboot
> > L&T Technology Services Ltd
> >
> > www.LntTechservices.com<http://www.lnttechservices.com/>
> >
> > This Email may contain confidential or privileged information for the
> intended recipient (s). If you are not the intended recipient, please do
> not use or disseminate the information, notify the sender and delete it
> from your system.
> L&T Technology Services Ltd
>
> www.LntTechservices.com<http://www.lnttechservices.com/>
>
> This Email may contain confidential or privileged information for the
> intended recipient (s). If you are not the intended recipient, please do
> not use or disseminate the information, notify the sender and delete it
> from your system.
>
> *L&T Technology Services Ltd*
>
> www.LntTechservices.com <http://www.lnttechservices.com/>
>
> This Email may contain confidential or privileged information for the
> intended recipient (s). If you are not the intended recipient, please do
> not use or disseminate the information, notify the sender and delete it
> from your system.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20181012/7bf9f49d/attachment.html>


More information about the coreboot mailing list