Re: [coreboot] New board with unsupported cpu, chipset, and superIO

2014-09-02 Thread ron minnich
On Fri, Aug 29, 2014 at 7:39 AM, ron minnich  wrote:
> Just a word to whoever does this next: figure out your firmware
> picture first, THEN pick the hardware. It's never been a good idea to
> start the other way around.


Actually, I said that not quite correctly. If you want to do open
source firmware based boards, and you don't want to spend too long on
it, or fail in the process:
1. decide which firmware you want
2. pick a chipset
3. buy an off-the-shelf board which has that chipset
4. make sure you can get your open source firmware going on that
board; if not, go to 1.
5. THEN design your own board

Notice how I did not say anywhere in here "ask the chipset vendor if
they will support blob-free coreboot development on your chipset"?
There's a reason. Left as an exercise for the reader.  Let's just say
that we have seen, many times, that chipset salesmen are often ready
to promise more than the chipset company will deliver.

ron

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] New board with unsupported cpu, chipset, and superIO

2014-08-29 Thread ron minnich
Just a word to whoever does this next: figure out your firmware
picture first, THEN pick the hardware. It's never been a good idea to
start the other way around.

ron

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] New board with unsupported cpu, chipset, and superIO

2014-08-29 Thread Todd Weaver
> Am 2014-08-28 23:38, schrieb Todd Weaver:
>> Comparing the blob-free versions from Intel (which are apparently
>> signed, so according to http://www.coreboot.org/Binary_situation are
>> at a 9000+ panic level), would it be possible to have blob-free
>> (probably through RE) that would work (meaning does not require signed
>> binaries) on an AMD board?
> Newer chipsets (as in yet to be released) come with signed parts, but it 
> seems the scope of the signature is configurable somehow by AMD. There 
> were some mails about that a couple of days ago ("AMD PSP”).

Thank you I will research that.

>> We will do what we can here. The issue is even with immense leverage,
>> having the source released (from AMI, or AMD, (or Intel for that
>> matter)) would undermine tremendous profit that these companies make
>> by keeping this proprietary.
> AMD claims that they stopped working on open sourcing their 
> initialization code because it's lots of work (ie. money) with limited 
> return on investment. How much work that is isn't here or there (most of 
> that is because their internal development process is less than optimal 
> and, like most processes in most organizations, hard to change).
> But it means that someone could make it worth their while given the 
> right kind of project.

Very helpful, thank you!

> What they don't provide sources for is CPU microcode updates (no one 
> does since it's of limited value without the microcode development 
> toolchain and the microcode itself that is getting updated) and various 
> smaller firmware (USB3 which is a licensed core, IMC, an embedded 
> controller, and the SMU).
> For IMC and SMU there's some reverse engineering effort, partially 
> documented in the wiki, so by asking the right questions to the right 
> people in this community, plus some development, it might be possible to 
> get them opened up even without AMD's help.

This is extremely helpful in making the case against Intel (which was better 
received than I had thought) we are at least working with the board 
manufacturer about AMD instead of Intel… Here’s hoping.

Thank you all!

Todd.
-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] New board with unsupported cpu, chipset, and superIO

2014-08-28 Thread Patrick Georgi

Am 2014-08-28 23:38, schrieb Todd Weaver:

Comparing the blob-free versions from Intel (which are apparently
signed, so according to http://www.coreboot.org/Binary_situation are
at a 9000+ panic level), would it be possible to have blob-free
(probably through RE) that would work (meaning does not require signed
binaries) on an AMD board?
Newer chipsets (as in yet to be released) come with signed parts, but it 
seems the scope of the signature is configurable somehow by AMD. There 
were some mails about that a couple of days ago ("AMD PSP").



We will do what we can here. The issue is even with immense leverage,
having the source released (from AMI, or AMD, (or Intel for that
matter)) would undermine tremendous profit that these companies make
by keeping this proprietary.
AMD claims that they stopped working on open sourcing their 
initialization code because it's lots of work (ie. money) with limited 
return on investment. How much work that is isn't here or there (most of 
that is because their internal development process is less than optimal 
and, like most processes in most organizations, hard to change).
But it means that someone could make it worth their while given the 
right kind of project.


What they don't provide sources for is CPU microcode updates (no one 
does since it's of limited value without the microcode development 
toolchain and the microcode itself that is getting updated) and various 
smaller firmware (USB3 which is a licensed core, IMC, an embedded 
controller, and the SMU).
For IMC and SMU there's some reverse engineering effort, partially 
documented in the wiki, so by asking the right questions to the right 
people in this community, plus some development, it might be possible to 
get them opened up even without AMD's help.



Patrick

--
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] New board with unsupported cpu, chipset, and superIO

2014-08-28 Thread Todd Weaver
On Aug 28, 2014, at 2:29 PM, Carl-Daniel Hailfinger 
 wrote:
> Am 28.08.2014 23:16 schrieb Todd Weaver:
>> On Aug 28, 2014, at 11:26 AM, Todd Weaver  wrote:
>>> On Aug 28, 2014, at 10:59 AM, ron minnich  wrote:
> The truth here is that we NEED to have a blob-free version (libreboot), 
> so I have a lot of work ahead of me :)
 If you NEED blob-free, you may need to go ARM.
>>> We cannot easily (actually it would be quite impossible) to move from the 
>>> Intel hardware at this point.
>> Per the private messages, I am asking upstream if we can switch to AMD, is 
>> AMD in a state where we can attain (meaning it is possible (comparing that 
>> to Intel)) a binary free BIOS?
> 
> You can, but with chipsets/CPUs released in the last few months you may
> be out of luck. Right now, it appears AMD does not see compelling enough
> business reasons to publish the source code for the newest hardware
> generations, but you may be able to get the source code for the blobs
> under NDA.

Thanks, that helps set the stage with AMD discussions.

> That said, there are quite a few pieces of recent (and still in
> production) AMD hardware which do have full coreboot support. Exceptions
> from the blob-free guarantee are graphics firmware and USB3 firmware,
> which are both not executed on the main CPU.

Comparing the blob-free versions from Intel (which are apparently signed, so 
according to http://www.coreboot.org/Binary_situation are at a 9000+ panic 
level), would it be possible to have blob-free (probably through RE) that would 
work (meaning does not require signed binaries) on an AMD board?

> Depending on how big your order is (not just "enthusiasts all over the
> world will surely buy it", but real money spent by your
> company/organization), you might have some real leverage, even for
> getting code published.

We will do what we can here. The issue is even with immense leverage, having 
the source released (from AMI, or AMD, (or Intel for that matter)) would 
undermine tremendous profit that these companies make by keeping this 
proprietary. So I’m leaning toward the direction that we’d have to RE the 
missing pieces (but could be wrong, thus the questions).

Todd.
-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] New board with unsupported cpu, chipset, and superIO

2014-08-28 Thread Carl-Daniel Hailfinger
Am 28.08.2014 23:16 schrieb Todd Weaver:
> On Aug 28, 2014, at 11:26 AM, Todd Weaver  wrote:
>> On Aug 28, 2014, at 10:59 AM, ron minnich  wrote:
 The truth here is that we NEED to have a blob-free version (libreboot), so 
 I have a lot of work ahead of me :)
>>> If you NEED blob-free, you may need to go ARM.
>> We cannot easily (actually it would be quite impossible) to move from the 
>> Intel hardware at this point.
> Per the private messages, I am asking upstream if we can switch to AMD, is 
> AMD in a state where we can attain (meaning it is possible (comparing that to 
> Intel)) a binary free BIOS?

You can, but with chipsets/CPUs released in the last few months you may
be out of luck. Right now, it appears AMD does not see compelling enough
business reasons to publish the source code for the newest hardware
generations, but you may be able to get the source code for the blobs
under NDA.
That said, there are quite a few pieces of recent (and still in
production) AMD hardware which do have full coreboot support. Exceptions
from the blob-free guarantee are graphics firmware and USB3 firmware,
which are both not executed on the main CPU.

Depending on how big your order is (not just "enthusiasts all over the
world will surely buy it", but real money spent by your
company/organization), you might have some real leverage, even for
getting code published.

Regards,
Carl-Daniel

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] New board with unsupported cpu, chipset, and superIO

2014-08-28 Thread Todd Weaver
On Aug 28, 2014, at 11:26 AM, Todd Weaver  wrote:
> On Aug 28, 2014, at 10:59 AM, ron minnich  wrote:
>>> The truth here is that we NEED to have a blob-free version (libreboot), so 
>>> I have a lot of work ahead of me :)
>> If you NEED blob-free, you may need to go ARM.
> 
> We cannot easily (actually it would be quite impossible) to move from the 
> Intel hardware at this point.

Per the private messages, I am asking upstream if we can switch to AMD, is AMD 
in a state where we can attain (meaning it is possible (comparing that to 
Intel)) a binary free BIOS?


-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] New board with unsupported cpu, chipset, and superIO

2014-08-28 Thread Patrick Georgi
Am 28.08.2014 um 20:26 schrieb Todd Weaver:
> We require blob-free and a working main board, so this sounds like a really 
> challenging RE effort indeed!
> We cannot easily (actually it would be quite impossible) to move from the 
> Intel hardware at this point.
In that case you will probably have to stick to GM45 or older, or Quark X1000.
All other Intel chipsets require - to my knowledge - management engine firmware.


Regards,
Patrick



signature.asc
Description: OpenPGP digital signature
-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] New board with unsupported cpu, chipset, and superIO

2014-08-28 Thread Todd Weaver

On Aug 28, 2014, at 10:59 AM, ron minnich  wrote:
>> The truth here is that we NEED to have a blob-free version (libreboot), so I 
>> have a lot of work ahead of me :)
> 
> How much time and money for the RE effort did you have again? It needs
> to be a lot. Were I you I would not expect much help from the vendor
> to RE their code :-)

Time was measured in months. Not weeks nor years. Funds varied, which is why we 
are gathering interested developers to get some quotes to propose funding the 
effort.

> And you're still going to need the microcode blob, almost certainly,
> unless you don't like having a working main board.

We require blob-free and a working main board, so this sounds like a really 
challenging RE effort indeed!

> If you NEED blob-free, you may need to go ARM.

We cannot easily (actually it would be quite impossible) to move from the Intel 
hardware at this point.

Todd.
-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] New board with unsupported cpu, chipset, and superIO

2014-08-28 Thread Todd Weaver
On Aug 28, 2014, at 10:36 AM, David Hubbard 
 wrote:
> > The truth here is that we NEED to have a blob-free version (libreboot), so 
> > I have a lot of work ahead of me :)
> 
> The reality is that Intel has no plans to release code for Xeon E3-1200 v3 
> and HM86 Express. Coreboot's progress so far has been to integrate the blobs.

That is helpful to know, I was considering funding coreboot development, 
coupled with a libreboot (to deblob it) dual effort, and now I know it will be 
more than just a consideration.
-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] New board with unsupported cpu, chipset, and superIO

2014-08-28 Thread ron minnich
On Thu, Aug 28, 2014 at 10:28 AM, Todd Weaver  wrote:

> The truth here is that we NEED to have a blob-free version (libreboot), so I 
> have a lot of work ahead of me :)


How much time and money for the RE effort did you have again? It needs
to be a lot. Were I you I would not expect much help from the vendor
to RE their code :-)

And you're still going to need the microcode blob, almost certainly,
unless you don't like having a working mainboard.

If you NEED blob-free, you may need to go ARM.

ron

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] New board with unsupported cpu, chipset, and superIO

2014-08-28 Thread Patrick Georgi
Am 28.08.2014 um 18:59 schrieb Paul Wilcox-Baker:
> From what I have been able to find out you need some binary "secret sauce"
> that comes from Intel.  This allows coreboot to do things like set up the
> DRAM controller and video.  The problem is that Intel only lets a few
> people have access to this code.
Relevant binaries for several chipsets can be found on http://www.intel.com/fsp
Support for FSP on this list is limited (since we're stuck at the same binary 
boundaries as everyone else), but we'll try.


Regards,
Patrick



signature.asc
Description: OpenPGP digital signature
-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] New board with unsupported cpu, chipset, and superIO

2014-08-28 Thread David Hubbard
On Thu, Aug 28, 2014 at 11:28 AM, Todd Weaver  wrote:
> >> It appears "If it is not supported by coreboot then you will have a lot
> >> of work in front of you."
> >
> > This view, is based on not having the Intel code and writing your own
code
> > to set up the DRAM controllers.  I imagine that it would be very
difficult
> > to write code for modern DRAM controllers, you have to read the EEPROMs
> > on the DIMMs to determine the DRAM size and other characteristics, then
> > set up the controller to match.  Finally, DDR3 (used by this processor)
has a
> > training phase to get data accesses aligned in time.  This might be
implemented
> > in hardware, or you might have to write code to do it.  I don't know!
> >
>
> The truth here is that we NEED to have a blob-free version (libreboot),
so I have a lot of work ahead of me :)

The reality is that Intel has no plans to release code for Xeon E3-1200 v3
and HM86 Express. Coreboot's progress so far has been to integrate the
blobs.

David
-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] New board with unsupported cpu, chipset, and superIO

2014-08-28 Thread Todd Weaver
Wonderful writeup Paul, thank you. see below…

On Aug 28, 2014, at 9:59 AM, Paul Wilcox-Baker  wrote:

> Dear Todd,
> 
>> It appears (from following the instructions) that I have a new board
>> with unsupported cpu, chipset, and superIO.
> 
>> 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core
>> Processor DRAM Controller (rev 06)
>> 00:1f.0 ISA bridge: Intel Corporation HM86 Express LPC Controller (rev
>> 05)
> 
> We are interested in a BIOS for the same processor family, but a different
> PCH device.

Maybe we can work together in this effort, I did track down a longtime 
developer relationship I have, who did BIOS development for Xerox, and is 
available to get involved with coreboot.

>> c) If there is any coreboot developers that would be willing to contract
>> for hire to develop coreboot for this board?
> 
> There is a company, Sage Engineering that ports coreboot to various
> processors.  We are probably going to use them.   See
> http://www.se-eng.com or to ask a question use:
> http://www.se-eng.com/contact/

I was referred to them yesterday, and am in contact with them, we will very 
likely use their expertise.

> From what I have been able to find out you need some binary "secret sauce"
> that comes from Intel.  This allows coreboot to do things like set up the
> DRAM controller and video.  The problem is that Intel only lets a few
> people have access to this code.
> 
> For instance, for one of the people who could get this code, they claim
> the process is this simple:
> http://www.coreboot.org/pipermail/coreboot/2014-July/078275.html
> 

The above information is remarkably helpful in figuring out how to proceed! I 
really appreciate getting this overview.

>> It appears "If it is not supported by coreboot then you will have a lot
>> of work in front of you."
> 
> This view, is based on not having the Intel code and writing your own code
> to set up the DRAM controllers.  I imagine that it would be very difficult
> to write code for modern DRAM controllers, you have to read the EEPROMs
> on the DIMMs to determine the DRAM size and other characteristics, then
> set up the controller to match.  Finally, DDR3 (used by this processor) has a
> training phase to get data accesses aligned in time.  This might be 
> implemented
> in hardware, or you might have to write code to do it.  I don't know!
> 

The truth here is that we NEED to have a blob-free version (libreboot), so I 
have a lot of work ahead of me :)

> If you get a different story about this, I would love to hear it.
> 
> Thanks, Paul

The story I’ve heard thus far is exactly as you spell it out, even though you 
have provided more information in certain parts.

Thanks Paul, and let me know if we can pool resources to get this to happen!

Todd.
-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] New board with unsupported cpu, chipset, and superIO

2014-08-28 Thread Paul Wilcox-Baker
Dear Todd,

> It appears (from following the instructions) that I have a new board
> with unsupported cpu, chipset, and superIO.

> 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core
> Processor DRAM Controller (rev 06)
> 00:1f.0 ISA bridge: Intel Corporation HM86 Express LPC Controller (rev
> 05)

We are interested in a BIOS for the same processor family, but a different
PCH device.

> c) If there is any coreboot developers that would be willing to contract
> for hire to develop coreboot for this board?

There is a company, Sage Engineering that ports coreboot to various
processors.  We are probably going to use them.   See
http://www.se-eng.com or to ask a question use:
http://www.se-eng.com/contact/

>From what I have been able to find out you need some binary "secret sauce"
that comes from Intel.  This allows coreboot to do things like set up the
DRAM controller and video.  The problem is that Intel only lets a few
people have access to this code.

For instance, for one of the people who could get this code, they claim
the process is this simple:
http://www.coreboot.org/pipermail/coreboot/2014-July/078275.html

> It appears "If it is not supported by coreboot then you will have a lot
> of work in front of you."

This view, is based on not having the Intel code and writing your own code
to set up the DRAM controllers.  I imagine that it would be very difficult
to write code for modern DRAM controllers, you have to read the EEPROMs
on the DIMMs to determine the DRAM size and other characteristics, then
set up the controller to match.  Finally, DDR3 (used by this processor) has a
training phase to get data accesses aligned in time.  This might be implemented
in hardware, or you might have to write code to do it.  I don't know!

If you get a different story about this, I would love to hear it.

Thanks, Paul

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


[coreboot] New board with unsupported cpu, chipset, and superIO

2014-08-27 Thread Todd Weaver

It appears (from following the instructions) that I have a new board
with unsupported cpu, chipset, and superIO.

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core
Processor DRAM Controller (rev 06)
00:1f.0 ISA bridge: Intel Corporation HM86 Express LPC Controller (rev
05)

>From this page:
http://www.coreboot.org/Developer_Manual#Supporting_a_new_board_with_a_unsupported_cpu.2C_chipset_or_superIO

It appears "If it is not supported by coreboot then you will have a lot
of work in front of you."

What I need to find out is:

a) If it is even possible to get coreboot to work with this board?
b) How much time would it take to get coreboot to work with this board?
c) If there is any coreboot developers that would be willing to contract
for hire to develop coreboot for this board?

It is a requirement to replace the bios with coreboot, so I am tasked
with making sure it is possible (a), a rough idea of how long (b), and
if we can hire somebody to develop it (c).

I appreciate any replies to any parts of the above, and I am hopeful
somebody would be able to have the time needed to get paid to get
coreboot onto this board.

Thank you!

Todd Weaver


-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot