diff mbox

[U-Boot] x86: Correct Minnowboard instructions to use the right descriptor

Message ID 1429984003-2630-1-git-send-email-sjg@chromium.org
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass April 25, 2015, 5:46 p.m. UTC
The descriptor provided with the FSP does not seem to work. Update the
instructions to use the descriptor from the original Intel firmware.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 doc/README.x86 | 23 ++++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)

Comments

Tom Rini April 25, 2015, 5:54 p.m. UTC | #1
On Sat, Apr 25, 2015 at 11:46:43AM -0600, Simon Glass wrote:
> The descriptor provided with the FSP does not seem to work. Update the
> instructions to use the descriptor from the original Intel firmware.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
> 
>  doc/README.x86 | 23 ++++++++++++++++++++---
>  1 file changed, 20 insertions(+), 3 deletions(-)
> 
> diff --git a/doc/README.x86 b/doc/README.x86
> index 0355d1c..fe31f3d 100644
> --- a/doc/README.x86
> +++ b/doc/README.x86
> @@ -127,15 +127,32 @@ board/intel/minnowmax/fsp.bin
>  Obtain the VGA RAM (Vga.dat at the time of writing) and put it into the same
>  directory: board/intel/minnowmax/vga.bin
>  
> -You still need two more binary blobs. These come from the sample SPI image
> -provided in the FSP (SPI.bin at the time of writing).
> +You still need two more binary blobs. The first comes from the original
> +firmware image available from:
> +
> +http://firmware.intel.com/sites/default/files/2014-WW42.4-MinnowBoardMax.73-64-bit.bin_Release.zip
> +
> +Unzip it:
> +
> +   $ unzip 2014-WW42.4-MinnowBoardMax.73-64-bit.bin_Release.zip
>  
>  Use ifdtool in the U-Boot tools directory to extract the images from that
>  file, for example:
>  
> +   $ ./tools/ifdtool -x MNW2MAX1.X64.0073.R02.1409160934.bin
> +
> +This will provide the descriptor file - copy this into the correct place:
> +
> +   $ cp flashregion_0_flashdescriptor.bin board/intel/minnowmax/descriptor.bin
> +
> +Then do the same with the sample SPI image provided in the FSP (SPI.bin at
> +the time of writing) to obtain the last image. Note that this will also
> +produce a flash descriptor file, but it does not seem to work, probably
> +because it is not designed for the Minnowmax. That is why you need to get
> +the flash descriptor from the original firmware as above.
> +
>     $ ./tools/ifdtool -x BayleyBay/SPI.bin
>     $ cp flashregion_2_intel_me.bin board/intel/minnowmax/me.bin
> -   $ cp flashregion_0_flashdescriptor.bin board/intel/minnowmax/descriptor.bin
>  
>  Now you can build U-Boot and obtain u-boot.rom

+ Then you ... to flash u-boot.rom

? :)  Thanks!
Simon Glass April 27, 2015, 8:52 p.m. UTC | #2
Hi Tom,

On 25 April 2015 at 11:54, Tom Rini <trini@konsulko.com> wrote:
> On Sat, Apr 25, 2015 at 11:46:43AM -0600, Simon Glass wrote:
>> The descriptor provided with the FSP does not seem to work. Update the
>> instructions to use the descriptor from the original Intel firmware.
>>
>> Signed-off-by: Simon Glass <sjg@chromium.org>
>> ---
>>
>>  doc/README.x86 | 23 ++++++++++++++++++++---
>>  1 file changed, 20 insertions(+), 3 deletions(-)
>>
>> diff --git a/doc/README.x86 b/doc/README.x86
>> index 0355d1c..fe31f3d 100644
>> --- a/doc/README.x86
>> +++ b/doc/README.x86
>> @@ -127,15 +127,32 @@ board/intel/minnowmax/fsp.bin
>>  Obtain the VGA RAM (Vga.dat at the time of writing) and put it into the same
>>  directory: board/intel/minnowmax/vga.bin
>>
>> -You still need two more binary blobs. These come from the sample SPI image
>> -provided in the FSP (SPI.bin at the time of writing).
>> +You still need two more binary blobs. The first comes from the original
>> +firmware image available from:
>> +
>> +http://firmware.intel.com/sites/default/files/2014-WW42.4-MinnowBoardMax.73-64-bit.bin_Release.zip
>> +
>> +Unzip it:
>> +
>> +   $ unzip 2014-WW42.4-MinnowBoardMax.73-64-bit.bin_Release.zip
>>
>>  Use ifdtool in the U-Boot tools directory to extract the images from that
>>  file, for example:
>>
>> +   $ ./tools/ifdtool -x MNW2MAX1.X64.0073.R02.1409160934.bin
>> +
>> +This will provide the descriptor file - copy this into the correct place:
>> +
>> +   $ cp flashregion_0_flashdescriptor.bin board/intel/minnowmax/descriptor.bin
>> +
>> +Then do the same with the sample SPI image provided in the FSP (SPI.bin at
>> +the time of writing) to obtain the last image. Note that this will also
>> +produce a flash descriptor file, but it does not seem to work, probably
>> +because it is not designed for the Minnowmax. That is why you need to get
>> +the flash descriptor from the original firmware as above.
>> +
>>     $ ./tools/ifdtool -x BayleyBay/SPI.bin
>>     $ cp flashregion_2_intel_me.bin board/intel/minnowmax/me.bin
>> -   $ cp flashregion_0_flashdescriptor.bin board/intel/minnowmax/descriptor.bin
>>
>>  Now you can build U-Boot and obtain u-boot.rom
>
> + Then you ... to flash u-boot.rom
>
> ? :)  Thanks!

There are some notes at the end about using a SPI emulator - em100.
Should I add something for another SPI tool also? What type of SPI
programmer do you have?

Regards,
Simon
Simon Glass April 28, 2015, 3:39 p.m. UTC | #3
On 25 April 2015 at 11:46, Simon Glass <sjg@chromium.org> wrote:
> The descriptor provided with the FSP does not seem to work. Update the
> instructions to use the descriptor from the original Intel firmware.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  doc/README.x86 | 23 ++++++++++++++++++++---
>  1 file changed, 20 insertions(+), 3 deletions(-)

Applied to u-boot-x86.
Tom Rini April 29, 2015, 12:14 a.m. UTC | #4
On Mon, Apr 27, 2015 at 02:52:49PM -0600, Simon Glass wrote:
> Hi Tom,
> 
> On 25 April 2015 at 11:54, Tom Rini <trini@konsulko.com> wrote:
> > On Sat, Apr 25, 2015 at 11:46:43AM -0600, Simon Glass wrote:
> >> The descriptor provided with the FSP does not seem to work. Update the
> >> instructions to use the descriptor from the original Intel firmware.
> >>
> >> Signed-off-by: Simon Glass <sjg@chromium.org>
> >> ---
> >>
> >>  doc/README.x86 | 23 ++++++++++++++++++++---
> >>  1 file changed, 20 insertions(+), 3 deletions(-)
> >>
> >> diff --git a/doc/README.x86 b/doc/README.x86
> >> index 0355d1c..fe31f3d 100644
> >> --- a/doc/README.x86
> >> +++ b/doc/README.x86
> >> @@ -127,15 +127,32 @@ board/intel/minnowmax/fsp.bin
> >>  Obtain the VGA RAM (Vga.dat at the time of writing) and put it into the same
> >>  directory: board/intel/minnowmax/vga.bin
> >>
> >> -You still need two more binary blobs. These come from the sample SPI image
> >> -provided in the FSP (SPI.bin at the time of writing).
> >> +You still need two more binary blobs. The first comes from the original
> >> +firmware image available from:
> >> +
> >> +http://firmware.intel.com/sites/default/files/2014-WW42.4-MinnowBoardMax.73-64-bit.bin_Release.zip
> >> +
> >> +Unzip it:
> >> +
> >> +   $ unzip 2014-WW42.4-MinnowBoardMax.73-64-bit.bin_Release.zip
> >>
> >>  Use ifdtool in the U-Boot tools directory to extract the images from that
> >>  file, for example:
> >>
> >> +   $ ./tools/ifdtool -x MNW2MAX1.X64.0073.R02.1409160934.bin
> >> +
> >> +This will provide the descriptor file - copy this into the correct place:
> >> +
> >> +   $ cp flashregion_0_flashdescriptor.bin board/intel/minnowmax/descriptor.bin
> >> +
> >> +Then do the same with the sample SPI image provided in the FSP (SPI.bin at
> >> +the time of writing) to obtain the last image. Note that this will also
> >> +produce a flash descriptor file, but it does not seem to work, probably
> >> +because it is not designed for the Minnowmax. That is why you need to get
> >> +the flash descriptor from the original firmware as above.
> >> +
> >>     $ ./tools/ifdtool -x BayleyBay/SPI.bin
> >>     $ cp flashregion_2_intel_me.bin board/intel/minnowmax/me.bin
> >> -   $ cp flashregion_0_flashdescriptor.bin board/intel/minnowmax/descriptor.bin
> >>
> >>  Now you can build U-Boot and obtain u-boot.rom
> >
> > + Then you ... to flash u-boot.rom
> >
> > ? :)  Thanks!
> 
> There are some notes at the end about using a SPI emulator - em100.

I guess it reads well enough, reading it all again.

> Should I add something for another SPI tool also? What type of SPI
> programmer do you have?

Ahem, I need to work on something there :)
diff mbox

Patch

diff --git a/doc/README.x86 b/doc/README.x86
index 0355d1c..fe31f3d 100644
--- a/doc/README.x86
+++ b/doc/README.x86
@@ -127,15 +127,32 @@  board/intel/minnowmax/fsp.bin
 Obtain the VGA RAM (Vga.dat at the time of writing) and put it into the same
 directory: board/intel/minnowmax/vga.bin
 
-You still need two more binary blobs. These come from the sample SPI image
-provided in the FSP (SPI.bin at the time of writing).
+You still need two more binary blobs. The first comes from the original
+firmware image available from:
+
+http://firmware.intel.com/sites/default/files/2014-WW42.4-MinnowBoardMax.73-64-bit.bin_Release.zip
+
+Unzip it:
+
+   $ unzip 2014-WW42.4-MinnowBoardMax.73-64-bit.bin_Release.zip
 
 Use ifdtool in the U-Boot tools directory to extract the images from that
 file, for example:
 
+   $ ./tools/ifdtool -x MNW2MAX1.X64.0073.R02.1409160934.bin
+
+This will provide the descriptor file - copy this into the correct place:
+
+   $ cp flashregion_0_flashdescriptor.bin board/intel/minnowmax/descriptor.bin
+
+Then do the same with the sample SPI image provided in the FSP (SPI.bin at
+the time of writing) to obtain the last image. Note that this will also
+produce a flash descriptor file, but it does not seem to work, probably
+because it is not designed for the Minnowmax. That is why you need to get
+the flash descriptor from the original firmware as above.
+
    $ ./tools/ifdtool -x BayleyBay/SPI.bin
    $ cp flashregion_2_intel_me.bin board/intel/minnowmax/me.bin
-   $ cp flashregion_0_flashdescriptor.bin board/intel/minnowmax/descriptor.bin
 
 Now you can build U-Boot and obtain u-boot.rom