All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] sf probe failed on Intel DNV-NS platform
@ 2019-06-04 10:35 Hilbert Tu(杜睿哲_Pegatron)
  2019-06-05 13:45 ` Bin Meng
  0 siblings, 1 reply; 6+ messages in thread
From: Hilbert Tu(杜睿哲_Pegatron) @ 2019-06-04 10:35 UTC (permalink / raw)
  To: u-boot

Hi,

I got following error message when using U-Boot as payload of Coreboot on Intel DNV-NS platform. I am checking if my dts file was incorrect configured for SPI flash device. Can anyone help? Thanks.
Errors:
Invalid bus 0 (err=-19)
Failed to initialize SPI flash at 0:0 (error -19)
====================================
My dts dump:
    aliases {
        serial0 = &serial;
        spi0 = &spi0;
    };
    config {
        silent_console = <0>;
    };
    chosen {
        stdout-path = "/serial";
    };
    tsc-timer {
        clock-frequency = <1000000000>;
    };
    pci {
        compatible = "pci-x86";
        u-boot,dm-pre-reloc;
        pch at 1f,0 {
             reg = <0x0000f800 0 0 0 0>;
             compatible = "intel,pch9";
             u-boot,dm-pre-reloc;
             #address-cells = <1>;
             #size-cells = <1>;
             spi0: spi {
                 #address-cells = <1>;
                 #size-cells = <0>;
                 compatible = "intel,ich9-spi";
                 intel,spi-lock-down;

                 spi-flash at 0 {
                     reg = <0>;
                     compatible = "winbond,w25q128bv", "spi-flash";
                     memory-map = <0xff800000 0x00800000>;
                 };
             };
        };
    };
    coreboot-fb {
        compatible = "coreboot-fb";
    };

Following is the dump of command “dm tree”
=> dm tree
Class      Probed  Driver      Name
----------------------------------------
root       [ + ]   root_drive  root_driver
rsa_mod_ex [   ]   mod_exp_sw  |-- mod_exp_sw
serial     [ + ]   ns16550_se  |-- serial
keyboard   [ + ]   i8042_kbd   |-- keyboard
sysreset   [   ]   x86-sysres  |-- reset
rtc        [   ]   rtc_mc1468  |-- rtc
timer      [ + ]   tsc_timer   |-- tsc-timer
pci        [ + ]   pci_x86     |-- pci
pci_generi [   ]   pci_generi  |   |-- pci_0:0.0
pci_generi [   ]   pci_generi  |   |-- pci_0:4.0
pci_generi [   ]   pci_generi  |   |-- pci_0:5.0
pci        [ + ]   pci_bridge  |   |-- pci_0:9.0
pci        [ + ]   pci_bridge  |   |-- pci_0:e.0
pci_generi [   ]   pci_generi  |   |   `-- pci_2:0.0
pci        [ + ]   pci_bridge  |   |-- pci_0:10.0
pci_generi [   ]   pci_generi  |   |-- pci_0:12.0
ahci       [   ]   ahci_pci    |   |-- ahci_pci
scsi       [   ]   ahci_scsi   |   |   `-- ahci_scsi
usb        [ + ]   xhci_pci    |   |-- xhci_pci
usb_hub    [ + ]   usb_hub     |   |   `-- usb_hub
pci        [ + ]   pci_bridge  |   |-- pci_0:16.0
pci_generi [   ]   pci_generi  |   |   |-- pci_4:0.0
pci_generi [   ]   pci_generi  |   |   `-- pci_4:0.1
pci        [ + ]   pci_bridge  |   |-- pci_0:17.0
pci_generi [   ]   pci_generi  |   |   |-- pci_5:0.0
pci_generi [   ]   pci_generi  |   |   `-- pci_5:0.1
pci_generi [   ]   pci_generi  |   |-- pci_0:18.0
pci_generi [   ]   pci_generi  |   |-- pci_0:1a.0
pci_generi [   ]   pci_generi  |   |-- pci_0:1a.1
pci_generi [   ]   pci_generi  |   |-- pci_0:1a.2
mmc        [ + ]   pci_mmc     |   |-- pci_mmc
blk        [   ]   mmc_blk     |   |   `-- pci_mmc.blk
pci_generi [   ]   pci_generi  |   |-- pci_0:1f.0
pci_generi [   ]   pci_generi  |   |-- pci_0:1f.2
pci_generi [   ]   pci_generi  |   |-- pci_0:1f.4
pci_generi [   ]   pci_generi  |   `-- pci_0:1f.5
video      [   ]   coreboot_v  `-- coreboot-fb

-Hilbert
This e-mail and its attachment may contain 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.
本電子郵件及其附件可能含有機密或依法受特殊管制之資訊,僅供本電子郵件之受文者使用。台端如非本電子郵件之受文者或誤收本電子郵件,請立即回覆郵件通知寄件人,並銷毀本電子郵件之所有複本及附件。任何未經授權而使用、揭露、散佈或複製本電子郵件或其附件之行為,皆嚴格禁止。

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-06-13  2:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-04 10:35 [U-Boot] sf probe failed on Intel DNV-NS platform Hilbert Tu(杜睿哲_Pegatron)
2019-06-05 13:45 ` Bin Meng
2019-06-11  6:40   ` Hilbert Tu(杜睿哲_Pegatron)
2019-06-11  6:47     ` Bin Meng
2019-06-13  1:59       ` Hilbert Tu(杜睿哲_Pegatron)
2019-06-13  2:11         ` Bin Meng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.