[U-Boot] sf probe failed on Intel DNV-NS platform
Hilbert Tu(杜睿哲_Pegatron)
Hilbert_Tu at pegatroncorp.com
Tue Jun 4 10:35:48 UTC 2019
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.
本電子郵件及其附件可能含有機密或依法受特殊管制之資訊,僅供本電子郵件之受文者使用。台端如非本電子郵件之受文者或誤收本電子郵件,請立即回覆郵件通知寄件人,並銷毀本電子郵件之所有複本及附件。任何未經授權而使用、揭露、散佈或複製本電子郵件或其附件之行為,皆嚴格禁止。
More information about the U-Boot
mailing list