This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SPI Flash detection in Linux

Hi,

In our custom AM335X based design we have a problem with SPI bus.

For u-boot everthing is ok. (sf probe, read and write  is ok and all signal lines have good behaviour in scope.)

But in linux; we have an error like below ;

[ 1.027862] m25p80 spi1.0: unrecognized id m2580
[ 1.032836] m25p80 spi1.0: unrecognized JEDEC id ffffff

And when we looked to signals in scope, we detect there is no any switch for MOSI signal, other signals have some switching in linux booting.

Firstly, we suspect linux pinmuxing, but when we closed to pinmux lines for SPI signals (Already uboot sets these pinmux) or any changes we are no success. 

When we search this forum, we see PROFILE2 case in EVM. But this case only valid for EVM because of CPLD.

We have no glue logic. Actually we have some peripherals in the SPI Bus with SPI Flash. And If we change chip selects for other peripherals , then MOSI signals again in stuck and no any switching.

Do you any advise or test changes? Is there anybody to successfully see and test SPI peripherals?

Best Regards,

FERHAT