All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] u-boot device model SPI + SPI Flash
@ 2015-10-21 10:55 Hoefle Marco
  2015-10-21 16:28 ` Jagan Teki
  0 siblings, 1 reply; 21+ messages in thread
From: Hoefle Marco @ 2015-10-21 10:55 UTC (permalink / raw)
  To: u-boot


 Hello,
I saw that here is also a mailing list dedicated to device model issues but it looks obsolete (last post February 2014) so I am using this forum.

I hav?e a?problem?nearly identically to
http://lists.denx.de/pipermail/u-boot/2015-April/210754.html


The SPI?initialization?does not work:??

Invalid bus 0 (err=-19)
*** Warning - spi_flash_probe() failed, using default environment


This is the device tree compiled into u-boot:

U-Boot> fdt addr 0x8FEB8A7C
U-Boot> fdt print
/ {
??????? #address-cells = <0x00000001>;
??????? #size-cells = <0x00000001>;
??????? aliases {
??????????????? serial0 = "serial at 40600000";
??????????????? spi0 = "/axi_quad_spi at 44a00000";
??????? };
??????? memory {
??????????????? device_type = "memory";
??????????????? reg = <0x80000000 0x10000000>;
??????? };
??????? axi_quad_spi at 44a00000 {
??????????????? compatible = "xlnx,xps-spi-2.00.a";
??????????????? reg = <0x44a00000 0x00010000>;
??????????????? spi-max-frequency = <0x423a35c7>;
??????????????? #address-cells = <0x00000001>;
??????????????? #size-cells = <0x00000000>;
??????????????? status = "okay";
??????????????? is-dual = <0x00000000>;
??????????????? num-cs = <0x00000001>;
??????????????? flash at 0 {
??????????????????????? compatible = "n25q128a11";
??????????????????????? reg = <0x00000000>;
??????????????????????? spi-tx-bus-width = <0x00000001>;
??????????????????????? spi-rx-bus-width = <0x00000004>;
??????????????????????? spi-max-frequency = <0x0d3ed78e>;
??????????????????????? #address-cells = <0x00000001>;
??????????????????????? #size-cells = <0x00000001>;
??????????????????????? partition at qspi-fsbl-uboot {
??????????????????????????????? label = "qspi-fsbl-uboot";
??????????????????????????????? reg = <0x00000000 0x00100000>;
??????????????????????? };
??????????????????????? partition at qspi-linux {
??????????????????????????????? label = "qspi-linux";
??????????????????????????????? reg = <0x00100000 0x00500000>;
??????????????????????? };
??????????????????????? partition at qspi-device-tree {
??????????????????????????????? label = "qspi-device-tree";
??????????????????????????????? reg = <0x00600000 0x00020000>;
??????????????????????? };
??????????????????????? partition at qspi-rootfs {
??????????????????????????????? label = "qspi-rootfs";
??????????????????????????????? reg = <0x00620000 0x005e0000>;
??????????????????????? };
??????????????????????? partition at qspi-bitstream {
??????????????????????????????? label = "qspi-bitstream";
??????????????????????????????? reg = <0x00c00000 0x00400000>;
??????????????????????? };
??????????????? };
??????? };
};

Has anybody an idea how to debug this further?
Thanks,
Marco?


      

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

end of thread, other threads:[~2015-11-17 10:30 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-21 10:55 [U-Boot] u-boot device model SPI + SPI Flash Hoefle Marco
2015-10-21 16:28 ` Jagan Teki
2015-10-21 16:40   ` Hoefle Marco
2015-10-21 16:45     ` Jagan Teki
2015-10-22  6:16       ` Hoefle Marco
2015-10-23 10:12         ` Hoefle Marco
2015-10-23 10:20           ` Jagan Teki
2015-10-26 13:51             ` Michal Simek
2015-10-27 11:12               ` Hoefle Marco
2015-10-27 11:37                 ` Michal Simek
2015-10-27 12:52                   ` Hoefle Marco
2015-10-27 14:50                     ` Michal Simek
2015-10-27 15:03                       ` Hoefle Marco
2015-10-29  8:22                         ` Michal Simek
2015-11-03  9:08                           ` Hoefle Marco
2015-11-04 12:04                             ` Michal Simek
2015-11-05 14:40                               ` Hoefle Marco
2015-11-05 15:18                                 ` Michal Simek
2015-11-17 10:17                                   ` Hoefle Marco
2015-11-17 10:23                                     ` Michal Simek
2015-11-17 10:30                                       ` Hoefle Marco

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.