[U-Boot] u-boot-x86 sf probe fail

Hilbert Tu(杜睿哲_Pegatron) Hilbert_Tu at pegatroncorp.com
Thu Jun 2 05:46:18 CEST 2016


Hi Bin,

Sorry for the late.

I have checked with Intel's support and following is their response:

>>On the other hand, for the question about ICH7 or ICH9. Unfortunately, the Bios Writers Guides (BWGs) or the EDS is unstated any information about ICH9. But, reviewing in section 22.4.1 on page 498 of the EDS specifies that the non-descriptor mode is the same as ICH7 mode. However, the non-descriptor mode is not supported and a valid Flash Descriptor is required for this SoC.

So I think the current u-boot cannot support SPI access under Atom C2000 with Intel FSP. I am still working on how to read the related registers in u-boot since I am not sure the default SPI base address (0x00001fff) is correct or not. If you know that, please advise. Thanks.

Regards,
Hilbert

-----Original Message-----
From: Bin Meng [mailto:bmeng.cn at gmail.com]
Sent: Wednesday, June 01, 2016 11:36 AM
To: Hilbert Tu(杜睿哲_Pegatron)
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] u-boot-x86 sf probe fail

Hi,

On Tue, May 31, 2016 at 6:14 PM, Hilbert Tu(杜睿哲_Pegatron)
<Hilbert_Tu at pegatroncorp.com> wrote:
> Hi,
>
> I use Coreboot with u-boot-x86 as payload to bring-up my Intel Atom C2000 platform, but I cannot make my SPI flash(w25q128fv) to work.
> Actually the SPI was detected under coreboot with correct ID, but in u-boot “sf probe” command, it just always failed.
> After tracing and code dump, I found it was failed due to SPIS_FCERR in spi/ich.c spi_xfer function.
> I totally have no idea why this happened and how to proceed my bring-up.
> My u-boot-x86 is up-to-date version and the SPI use intel,ich9-spi compatible in my dts file.
>

Can you double check Atom C2000 SPI controller that it is ICH9
compatible? Or maybe ICH7 compatible? Did you check its register can
be accessed correctly?

> Following is my dm tree and there is spi-flash device
>
> => dm tree
> Class       Probed   Name
> ----------------------------------------
> root        [ + ]    root_driver
> serial      [ + ]    |-- serial
> keyboard    [ + ]    |-- keyboard
> rtc         [   ]    |-- rtc
> timer       [ + ]    |-- tsc-timer
> pci         [ + ]    `-- pci
> pch         [ + ]        |-- pch at 1f,0
> irq         [ + ]        |   |-- irq-router
> spi         [   ]        |   `-- spi
> spi_flash   [   ]        |       `-- spi-flash at 0
> pci_generic [   ]        |-- pci_0:0.0
> pci         [ + ]        |-- pci_0:1.0
> pci_generic [   ]        |   `-- pci_1:0.0
> pci         [ + ]        |-- pci_0:3.0
> pci_generic [   ]        |-- pci_0:e.0
> pci_generic [   ]        |-- pci_0:f.0
> pci_generic [   ]        |-- pci_0:13.0
> usb         [   ]        |-- ehci_pci
> pci_generic [   ]        |-- pci_0:17.0
> pci_generic [   ]        |-- pci_0:18.0
> pci_generic [   ]        `-- pci_0:1f.3
> =>
> Could you please give me some hint or tell me where I can reference? Thanks.
>

Regards,
Bin
This e-mail and its attachment may contain PEGATRON Corp information that is confidential or privileged, and are solely for the use of the individual to whom this e-mail is addressed. If you are not the intended recipient or have received it accidentally, please immediately notify the sender by reply e-mail and destroy all copies of this email and its attachment. Please be advised that any unauthorized use, disclosure, distribution or copying of this email or its attachment is strictly prohibited.


More information about the U-Boot mailing list