<hr noshade>
<br><font size=4 face="sans-serif">Hi,</font><font size=4>expert</font><font size=4 face="sans-serif">.</font>
<br><font size=2 face="sans-serif">        </font>
<br><font size=2 face="sans-serif">        </font><font size=4 face="sans-serif">Now
Coreboot with Intel FSP ,can load Linux on my BayleyBay.I tried to use
Seabios 1.7.5 load Win7 64bit,but i got a blue screen issue,stop at A5(0x1000,0x000,0x105a23a1,0x100)</font><tt><font size=4>.Obviously
I think this trouble was called by ACPI.Am I wrong? So I modify <u>src/soc/intel/fsp_baytrail/acpi/southcluster.asl</u>
as follows.My </font></tt><font size=4>serial ports</font><tt><font size=4>
message is attached.Then I can load Win7 64bit normaly</font></tt><font size=4>,but
the ACPI Table is not completed</font><font size=4 face="sans-serif">.</font>
<br>
<br><tt><font size=3><b>Scope (\_SB)</b></font></tt>
<br><tt><font size=3><b>{</b></font></tt>
<br><tt><font size=3><b>        // GPIO Devices</b></font></tt>
<br><tt><font size=3><b>        #include "gpio.asl"</b></font></tt>
<br>
<br><tt><font size=3><b>#if INCLUDE_LPSS</b></font></tt>
<br><tt><font size=3><b>        // LPSS Devices</b></font></tt>
<br><tt><font size=3><b>        #include "lpss.asl"</b></font></tt>
<br><tt><font size=3><b>#endif</b></font></tt>
<br>
<br><tt><font size=3><b>#if INCLUDE_SCC</b></font></tt>
<br><tt><font size=3><b>        // SCC Devices</b></font></tt>
<br><tt><font size=3><b>        //#include
"scc.asl" -----Commented out code 1</b></font></tt>
<br><tt><font size=3><b>#endif</b></font></tt>
<br>
<br><tt><font size=3><b>#if INCLUDE_LPE</b></font></tt>
<br><tt><font size=3><b>        // LPE Device</b></font></tt>
<br><tt><font size=3><b>        //#include
"lpe.asl"-----Commented out code 2</b></font></tt>
<br><tt><font size=3><b>#endif</b></font></tt>
<br><tt><font size=3><b>}</b></font></tt>
<br>
<br>
<br><tt><font size=4>But I'm not quite understand ,I change the asl code
is how to take effect?Looking for help to load win7 </font></tt><font size=4>64bit
normaly</font><tt><font size=4>.How to modify the ACPI asl coed?</font></tt>
<br><tt><font size=4>Thanks in advance.</font></tt>
<br>
<br>
<br><font size=3 face="宋体"><u><br>
                    
                     
                     
                     
            </u></font>
<p><font size=1 face="Arial">This email (including any attachments) is
intended for the sole use of the intended recipient/s and may contain material
that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. <br>
Any unauthorized review, use, disclosure, dissemination, forwarding, printing
or copying of such information or any action taken in reliance on this
e-mail is strictly prohibited.</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">发件人: </font>
<td><font size=1 face="sans-serif">Werner Zeh via coreboot <coreboot@coreboot.org></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">收件人:</font>
<td><font size=1 face="sans-serif">Gailu Singh <gailu96@gmail.com>,
coreboot@coreboot.org</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">日期:</font>
<td><font size=1 face="sans-serif">2014-11-04 03:24</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">主题:</font>
<td><font size=1 face="sans-serif">Re: [coreboot] Coreboot with Intel FSP
on BayleyBay Help</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">发件人:</font>
<td><font size=1 face="sans-serif">"coreboot" <coreboot-bounces@coreboot.org></font></table>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>Hi.<br>
<br>
Now you have coreboot running.<br>
coreboot searches for FSP, finds it and executes the first call into it.<br>
FSP returns with an error and what you see is this (taken from <br>
src/drivers/intel/fsp/cache_as_ram.inc):<br>
<br>
/*<br>
      * Failures for postcode 0xBB - failed in the FSP:<br>
      *<br>
      * 0x00 - FSP_SUCCESS: Temp RAM was initialized successfully.<br>
      * 0x02 - FSP_INVALID_PARAMETER: Input parameters are
invalid.<br>
      * 0x0E - FSP_NOT_FOUND: No valid microcode was found
in the <br>
microcode region.<br>
      * 0x03 - FSP_UNSUPPORTED: The FSP calling conditions
were not met.<br>
      * 0x07 - FSP_DEVICE_ERROR: Temp RAM initialization
failed<br>
      * 0x14 - FSP_ALREADY_STARTED: Temp RAM initialization
has been invoked<br>
      */<br>
<br>
So what you actually see is error code 0x07 from FSP. This can mean that
<br>
your CPU is not supported by this FSP version.<br>
If you use GOLD1 or GOLD2, then a D0 stepping is not supported and if <br>
you have in advance a D0 stepping installed on your board,<br>
than you have to use GOLD3 FSP release as it was already mentioned.<br>
<br>
I had the same issue and it was due to missing D0-Support in GOLD1 <br>
release. So, I would suggest to try the right FSP-release from Intel.<br>
<br>
Bye<br>
Werner<br>
<br>
Am 03.11.2014 um 17:23 schrieb Gailu Singh via coreboot:<br>
> With the changed TXE/descriptor, it moved ahead but now toggling <br>
> between POST codes 0x66 and 0x07. I checked <br>
> ./src/include/console/post_codes.h and these POST codes are not <br>
> defined there so I doubt that these are coming from coreboot code.
Are <br>
> these post codes coming from FSP code? If yes, How do I interpret
<br>
> them? Do I need to ask Intel? Any pointers please?<br>
><br>
> On Sun, Nov 2, 2014 at 6:50 PM, Sean McNeil <seanmcneil3@gmail.com
<br>
> <</font></tt><a href=mailto:seanmcneil3@gmail.com><tt><font size=2>mailto:seanmcneil3@gmail.com</font></tt></a><tt><font size=2>>>
wrote:<br>
><br>
>     You mentioned just copying the .fd file, so I assumed
it was being<br>
>     used directly in your coreboot image. FSP needs to be
incorporated<br>
>     into flash, yes. It should, however, be patched with
the BCT<br>
>     program as what is provided in the .fd is usually not
patched with<br>
>     the a configuration that you desire. Thus you should
run bct and<br>
>     configure/patch the .fd and generate a .bin to include
into coreboot.<br>
><br>
>     I am a little confused by your email below. You state
that you are<br>
>     not using the .fd directly then contradict yourself
in the next<br>
>     sentence. Bottom line is I would not include any .fd
file from the<br>
>     FSP archive directly. Use BCT to patch it and do not
name it .fd.<br>
>     This avoids any confusion regarding whether you are
including a<br>
>     patched FSP or not. Just because there is a bsf file
included in<br>
>     the GOLD release doesn't mean that the .fd was patched
with those<br>
>     settings and that it is valid.<br>
><br>
>     Best of luck to you. There are many issues you will
have to<br>
>     resolve dealing with new hardware. I've gone through
the process<br>
>     with a lot of support from Intel and it is not that
easy.<br>
>     Especially when certain components found on the CRB
are not<br>
>     provided on custom hardware.<br>
><br>
>     Cheers,<br>
>     Sean<br>
><br>
><br>
>     On 11/02/2014 08:01 PM, Gailu Singh wrote:<br>
>>     Hi Sean,<br>
>><br>
>>     1. This is not for a real project and we are trying
to understand<br>
>>     FSP interaction with coreboot to look at feasibility
for<br>
>>     considering coreboot in our future projects. Unfortunately
I do<br>
>>     not have board documentation so was not able to
determine which<br>
>>     one is serial port 0 though I know that port 0 is
specified in<br>
>>     coreboot config. That was the reason I was trying
on all 3<br>
>>     available ports.<br>
>>     2. I am not using .fd directly. I believe that FSP
need to be<br>
>>     included in bootloader (coreboot in this case) and
we are<br>
>>     providing path to coreboot so that it can be included
in<br>
>>     coreboot. In my original post I only said that I
copied .fd to a<br>
>>     path expected  by coreboot configuration. May
I know how did you<br>
>>     conclude that I am using it directly? May be that
can give me<br>
>>     some pointer.<br>
>>     3. I had checked the bsf file in the FSP kit with
BCT tool and it<br>
>>     is configured for non-ECC RAM, so I believe that
no change is<br>
>>     required in .fd. Am I wrong?<br>
>>     4. Yes, I agree that there is no documentation available
on how<br>
>>     to create entire 8MB binary with Firmware Description,
TXE,<br>
>>     coreboot etc so for safe route I only touched upper
2 MB as<br>
>>     recommended in one of the initial commit for baytrail
FSP<br>
>>     integration and some posts related to similar discussion.<br>
>><br>
>><br>
>><br>
>>     On Sun, Nov 2, 2014 at 3:49 PM, Sean McNeil<br>
>>     <seanmcneil3@gmail.com <</font></tt><a href=mailto:seanmcneil3@gmail.com><tt><font size=2>mailto:seanmcneil3@gmail.com</font></tt></a><tt><font size=2>>>
wrote:<br>
>><br>
>>         Coreboot and FSP are not as easy to
understand as you can<br>
>>         see. I also would suggest that you
seek assistance from<br>
>>         either Sage (who has good experience
that I understand serves<br>
>>         the USA and Europe markets and contributed
the current<br>
>>         Coreboot+FSP code) or perhaps a company
in Asia such as Zien<br>
>>         Solutions (of Vietnam). There are
a number of issues that you<br>
>>         are failing to understand:<br>
>><br>
>>         1) As stated, the first serial port
is actually connected to<br>
>>         a USB->Serial converter and delivered
out of the microUSB<br>
>>         connector on the CRB.<br>
>>         2) You need to configure the FSP with
Intels program to<br>
>>         create a ROMable image and not use
the .fd file directly.<br>
>>         3) BayleyBay needs to be configured
for non-ECC RAM whereas<br>
>>         Bakersport needs to be configured
for ECC.<br>
>>         4) You don't necessarily need the
TXE security module, but<br>
>>         you could very well cause problems
if it is partially<br>
>>         overwritten. Best is to create a correct
8MB image to flash<br>
>>         that has the proper Intel Firmware
Description block at the<br>
>>         beginning.<br>
>><br>
>>         Regards,<br>
>>         Sean<br>
>><br>
>><br>
>>         On 11/02/2014 02:25 AM, Gaumless via
coreboot wrote:<br>
>><br>
>>             First, the serial ports:
 The serial console is on the<br>
>>             first serial port on
the micro-USB connection.<br>
>><br>
>>             The 0x0000 on the post
code display means that it's not<br>
>>             actually starting to
boot - it's probably hanging in the<br>
>>             TXE.  There are
known issues with upgrading to coreboot<br>
>>             from some of the bayleybay
roms.  I thought Intel was<br>
>>             going to document that,
but I don't know if they did.<br>
>><br>
>>             The Gold 2 FSP doesn't
support D0 parts, so if you have a<br>
>>             D0, you need the Gold
3.  Also, the FSP is targeted at<br>
>>             the embedded sku Baytrail-I.
 It might work with M/D<br>
>>             parts, I haven't tested
that.<br>
>><br>
>>             Assuming all that is
ok, you probably need to start from<br>
>>             a different rom.  It
might be failing because of the TXE<br>
>>             security.  You'll
probably need to talk to your Intel<br>
>>             contact to get that
update.<br>
>><br>
>>             Finally, if this is
not a personal project, you might be<br>
>>             interested in contacting
Sage and look at purchasing a<br>
>>             BSP to get up and running.
 Either way, let us know<br>
>>             whether you make progress
or need more help.<br>
>><br>
>>             Martin<br>
>><br>
>><br>
>>                 On Nov
1, 2014, at 11:48 AM, Gailu Singh via coreboot<br>
>>                 <coreboot@coreboot.org<br>
>>                 <</font></tt><a href=mailto:coreboot@coreboot.org><tt><font size=2>mailto:coreboot@coreboot.org</font></tt></a><tt><font size=2>>>
wrote:<br>
>><br>
>>                 Hi Experts,<br>
>><br>
>>                 I am trying
to boot BayleyBay CRB Rev 3 using<br>
>>                 coreboot
and have no success so far. I have serial<br>
>>                 port (DB9)
connected and using 115200 Baud Rate. No<br>
>>                 message
comes on serial at all. Here is the procedure<br>
>>                 I followed.<br>
>><br>
>>                 1. Pulled
latest coreboot from git.<br>
>>                 2. Pulled
following from BAY_TRAIL_FSP_KIT. The<br>
>>                 reason
for doing it is that  BAYTRAIL_FSP.fd is not<br>
>>                 in git
and .config refers to it. Also .config refers<br>
>>                 to ../intel/cpu/baytrail/microcode<br>
>>                  
   a) created intel directory parallel to coreboot<br>
>>                 and copied
BAYTRAIL_FSP_GOLD_002_10-JANUARY-2014.fd<br>
>>                 in to
intel/fsp/baytrail/BAYTRAIL_FSP.fd<br>
>>                  
   b) Copied *.h from Microcode folder in the kit<br>
>>                 to intel/cpu/baytrail/microcode.<br>
>>                 3. Configured
the coreboot for mainboard as intel<br>
>>                 bayleybay.
My .config is attached.<br>
>>                 4. Build
Coreboot. Below is the prints from cbfstool.<br>
>>                 cmos_layout.bin
               0x0    
cmos_layout  1132<br>
>>                 fallback/romstage
             0x4c0     stage
      <br>
>>                 27813<br>
>>                 fallback/ramstage
             0x71c0    stage
      <br>
>>                 67431<br>
>>                 fallback/payload
 0x17980    payload      268859<br>
>>                 config
 0x59400    raw          4363<br>
>>                 (empty)
0x5a540    null         744088<br>
>>                 cpu_microcode_blob.bin
 0x110000   microcode    104448<br>
>>                 (empty)
0x129840   null         157528<br>
>>                 mrc.cache
0x14ffc0   (unknown)    65536<br>
>>                 (empty)
0x160000   null         393112<br>
>>                 fsp.bin
0x1bffc0   (unknown)    229376<br>
>>                 (empty)
0x1f8000   null         31640<br>
>>                 5. Flashed
the coreboot.rom in upper 2MB<br>
>>                 (0X0600000-0x07FFFFF)<br>
>>                 6. Reboot
the board<br>
>>                 7. Nothing
comes on Serial Console (DB9). Also tried<br>
>>                 to connect
Micro usb cable which detects two serial<br>
>>                 ports
but no output to any of them as well.<br>
>>                 8. Before
flashing coreboot.rom, 4 digit display was<br>
>>                 displaying
something on two digits and rest two were<br>
>>                 zero.
Now all 4 digits stays at zeros.<br>
>><br>
>>                 Looking
for help to get at least serial working so<br>
>>                 that I
can get some logs to debug it. I do not have<br>
>>                 copy of
original BIOS that was there in Flash and<br>
>>                 forgot
to make a copy using programmer though I<br>
>>                 ensured
that I only touch upper 2MB. I am stuck and<br>
>>                 have no
logs to debug it.<br>
>><br>
>>                 Thanks
in advance.<br>
>>                 <my.config><br>
>>                 -- <br>
>>                 coreboot
mailing list: coreboot@coreboot.org<br>
>>                 <</font></tt><a href=mailto:coreboot@coreboot.org><tt><font size=2>mailto:coreboot@coreboot.org</font></tt></a><tt><font size=2>><br>
>>                 </font></tt><a href=http://www.coreboot.org/mailman/listinfo/coreboot><tt><font size=2>http://www.coreboot.org/mailman/listinfo/coreboot</font></tt></a><tt><font size=2><br>
>><br>
>><br>
>><br>
><br>
><br>
><br>
><br>
<br>
<br>
-- <br>
coreboot mailing list: coreboot@coreboot.org<br>
</font></tt><a href=http://www.coreboot.org/mailman/listinfo/coreboot><tt><font size=2>http://www.coreboot.org/mailman/listinfo/coreboot</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br>
<br>