ipq40xx SPI and/or SPI flash driver not working.
Florence Riker
1460830 at gmail.com
Thu Apr 21 17:08:38 CEST 2022
Hello everyone, recently I'm trying to port U-Boot 2022.01 to my ipq4019
development board, but I can't get the SPI flash working, when I send the
command sf probe, it returns this:
drivers/core/uclass.c:325-uclass_find_device_by_seq() 0
drivers/core/uclass.c:333-uclass_find_device_by_seq() - 0 'spi at 78b5000'
drivers/core/uclass.c:336-uclass_find_device_by_seq() - found
drivers/spi/spi-uclass.c:282-spi_find_chip_select() spi_qup spi at 78b5000:
spi_find_chip_select: plat=bfd95318, cs=0
drivers/core/uclass.c:325-uclass_find_device_by_seq() 0
drivers/core/uclass.c:333-uclass_find_device_by_seq() - 0 'spi at 78b5000'
drivers/core/uclass.c:336-uclass_find_device_by_seq() - found
drivers/spi/spi-uclass.c:282-spi_find_chip_select() spi_qup spi at 78b5000:
spi_find_chip_select: plat=bfd95318, cs=0
drivers/mtd/spi/spi-nor-core.c:1350- spi_nor_read_id() jedec_spi_nor
m25p16 at 0: unrecognized JEDEC id bytes: ff, ff, ff
drivers/spi/spi-uclass.c:439- spi_get_bus_and_cs() spi_get_bus_and_cs:
Error path, created=0, device 'm25p16 at 0'
Failed to initialize SPI flash at 0:0 (error -2)
Which is not correct because the JEDEC id shouldn't be all Fs, I can't
figure out whether it's the SPI driver or SPI flash driver is not working,
or I just not doing it right.
Any suggestions?
Thanks.
More information about the U-Boot
mailing list