Re: [coreboot] Atom c3000 Harcuvar and Intel ME

2018-02-27 Thread Szafranski, MariuszX
Hi,

In case of Harcuvar CRB we have 16M SPI flash: first 8M for ME (which is 
outside of CBFS) and last 8M for coreboot.
We need to specify two things in coreboot config:

-  ROM chip size – 16M – physical size of SPI flash (needed for correct 
flash offset calculations inside coreboot code)

-  Size of CBFS filesystem in ROM – 8M (0x80) or less
16M coreboot.rom file should be built with above config.
You need to manually inject 8M ME blob at offset 0 into ‘coreboot.rom’ file.
Or just flash last 8M from coreboot.rom into last 8M of SPI flash if ME blob is 
already there.

Mariusz

From: coreboot [mailto:coreboot-boun...@coreboot.org] On Behalf Of Sumo
Sent: Monday, February 26, 2018 9:15 PM
To: coreboot@coreboot.org
Subject: [coreboot] Atom c3000 Harcuvar and Intel ME

Hi,

In the coreboot build menu there is no option regarding the Intel ME 
integration.
The 'coreboot.rom' file is the full SPI flash image or this file is suitable to
replace the BIOS region of the SPI flash (0x0080--0x00ff)?
(i.e. in the SPI flash we already have a region for Intel ME firmware)

Thanks,
Sumo
--
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.
-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] Atom c3000 Harcuvar and Intel ME

2018-02-27 Thread Julien Viard de Galbert


> Le 27 févr. 2018 à 13:42, Sumo  a écrit :
> 
> > When configuring CB with menuconfig you have to select your platform
> > and type in the path to your ME-binary-blob.
> 
> For the Harcuvar CRB there is no such configuration.
> 
> This conf. is available to other mainboards (e.g. Intel "Little Plains" 
> mainboard:
> menu "Chipset"->"Intel Firmware"->"Add Intel descriptor.bin file"->"Add Intel
> ME/TXE firmware"->"Path to management engine firmware").
> 
> Maybe for the Harcuvar CRB the Intel ME FW is installed in the second
> SPI flash, therefore there is no need to add the ME blob in the coreboot
> build? I´m not sure about this, some board maintainer can confirm
> this?
No it’s in the same flash. Basically your first idea is what I am doing:
> replace the BIOS region of the SPI flash (0x0080–0x00ff)
Or use intel fitc tool to build the final SPI image.

> 
> Do we have any documentation regarding the coreboot port for Harcuvar?
Do you have access to intel support ? If yes there should be a document, but
I’m not even sure it has been updated when the support was upstreamed.

Hope this helps,

Julien VdG

> 
> Thanks,
> Sumo
> 
> 2018-02-26 19:42 GMT-03:00 Philipp Stanner  >:
> Am Montag, den 26.02.2018, 17:14 -0300 schrieb Sumo:
> > Hi,
> >
> > In the coreboot build menu there is no option regarding the Intel ME
> > integration.
> > The 'coreboot.rom' file is the full SPI flash image or this file is
> > suitable to
> > replace the BIOS region of the SPI flash (0x0080--0x00ff)?
> > (i.e. in the SPI flash we already have a region for Intel ME
> > firmware)
> 
> I'm not sure what the question is. 
> 
> When configuring CB with menuconfig you have to select your platform
> and type in the path to your ME-binary-blob. The later has to be
> provided by you; meaning you have to extract the BIOS from the flash,
> extract the ME-binary using coreboot/utils, clean it with ME-cleaner
> (optional) and then build coreboot with your blob.
> 
> The toolchain takes care automatically about the correct placement of
> the ME in the right address-ranges.
> 
> I hope this was helpful.
> 
> > Thanks,
> > Sumo
> 
> -- 
> coreboot mailing list: coreboot@coreboot.org
> https://mail.coreboot.org/mailman/listinfo/coreboot

--
Julien Viard de Galbert - jviarddegalb...@online.net
Online / Scaleway
Looking for an amazing job? Join us NOW ! https://careers.scaleway.com/




-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] Atom c3000 Harcuvar and Intel ME

2018-02-27 Thread Sumo
 > When configuring CB with menuconfig you have to select your platform
> and type in the path to your ME-binary-blob.

For the Harcuvar CRB there is no such configuration.

This conf. is available to other mainboards (e.g. Intel "Little Plains"
mainboard:
menu "Chipset"->"Intel Firmware"->"Add Intel descriptor.bin file"->"Add
Intel
ME/TXE firmware"->"Path to management engine firmware").

Maybe for the Harcuvar CRB the Intel ME FW is installed in the second
SPI flash, therefore there is no need to add the ME blob in the coreboot
build? I´m not sure about this, some board maintainer can confirm
this?

Do we have any documentation regarding the coreboot port for Harcuvar?

Thanks,
Sumo

2018-02-26 19:42 GMT-03:00 Philipp Stanner :

> Am Montag, den 26.02.2018, 17:14 -0300 schrieb Sumo:
> > Hi,
> >
> > In the coreboot build menu there is no option regarding the Intel ME
> > integration.
> > The 'coreboot.rom' file is the full SPI flash image or this file is
> > suitable to
> > replace the BIOS region of the SPI flash (0x0080--0x00ff)?
> > (i.e. in the SPI flash we already have a region for Intel ME
> > firmware)
>
> I'm not sure what the question is.
>
> When configuring CB with menuconfig you have to select your platform
> and type in the path to your ME-binary-blob. The later has to be
> provided by you; meaning you have to extract the BIOS from the flash,
> extract the ME-binary using coreboot/utils, clean it with ME-cleaner
> (optional) and then build coreboot with your blob.
>
> The toolchain takes care automatically about the correct placement of
> the ME in the right address-ranges.
>
> I hope this was helpful.
>
> > Thanks,
> > Sumo
>
-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] Atom c3000 Harcuvar and Intel ME

2018-02-26 Thread mark pleso via coreboot
My questions are:1. has anyone else seen a hang during smm relocation, w/cb 
4.6/4.7, on a Broadwell-DE?2. if so, is the wbinvd() a valid way to resolve the 
hang?3. should our wbinvd() fix be upstreamed, without fully understanding why 
it is needed?
All of code (cb, fsp, microcode, etc.) worked just fine with CB 4.5.  With 4.6 
and 4.7 LOGLEVEL=7 was needed to make things boot (by adding delays 
apparently).  
We configured CB with menuconfig and specified "Intel" as the platform.  We are 
using an Intel supplied FSP binary.  Kevin Herbert did the CB work, adding him 
to the thread.
Thank you,Mark 

On Monday, February 26, 2018 2:49 PM, Philipp Stanner  
wrote:
 

 Am Montag, den 26.02.2018, 17:14 -0300 schrieb Sumo:
> Hi,
> 
> In the coreboot build menu there is no option regarding the Intel ME
> integration.
> The 'coreboot.rom' file is the full SPI flash image or this file is
> suitable to
> replace the BIOS region of the SPI flash (0x0080--0x00ff)?
> (i.e. in the SPI flash we already have a region for Intel ME
> firmware)

I'm not sure what the question is. 

When configuring CB with menuconfig you have to select your platform
and type in the path to your ME-binary-blob. The later has to be
provided by you; meaning you have to extract the BIOS from the flash,
extract the ME-binary using coreboot/utils, clean it with ME-cleaner
(optional) and then build coreboot with your blob.

The toolchain takes care automatically about the correct placement of
the ME in the right address-ranges.

I hope this was helpful.

> Thanks,
> Sumo

-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot

   -- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] Atom c3000 Harcuvar and Intel ME

2018-02-26 Thread Philipp Stanner
Am Montag, den 26.02.2018, 17:14 -0300 schrieb Sumo:
> Hi,
> 
> In the coreboot build menu there is no option regarding the Intel ME
> integration.
> The 'coreboot.rom' file is the full SPI flash image or this file is
> suitable to
> replace the BIOS region of the SPI flash (0x0080--0x00ff)?
> (i.e. in the SPI flash we already have a region for Intel ME
> firmware)

I'm not sure what the question is. 

When configuring CB with menuconfig you have to select your platform
and type in the path to your ME-binary-blob. The later has to be
provided by you; meaning you have to extract the BIOS from the flash,
extract the ME-binary using coreboot/utils, clean it with ME-cleaner
(optional) and then build coreboot with your blob.

The toolchain takes care automatically about the correct placement of
the ME in the right address-ranges.

I hope this was helpful.

> Thanks,
> Sumo

-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot

[coreboot] Atom c3000 Harcuvar and Intel ME

2018-02-26 Thread Sumo
Hi,

In the coreboot build menu there is no option regarding the Intel ME
integration.
The 'coreboot.rom' file is the full SPI flash image or this file is
suitable to
replace the BIOS region of the SPI flash (0x0080--0x00ff)?
(i.e. in the SPI flash we already have a region for Intel ME firmware)

Thanks,
Sumo
-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot