Forum Discussion
Hi there,
Thanks for your answers!
I am sorry, i was unable to answer for some days.
These are the qspi timings i use:
Altering these timing values did not improve the performance!
for example: Kernel 4.3 does autodetection of read-delay to "2" - setting read delay to values of 2,3..6 on 4.15 doesn't change the behavior
I did some further research in the code and discovered that the driver in version 4.3 does not use 4 channel communication with the qspi, but 4.15 does!
So i patched the 4.15 driver to only use single channel qspi and this seem to work. This leads me to believe there might be a problem with the hardware.
--> so this also confirms why changing any devicetree values do not help the problem.
For Reference:
driver 4.3: https://github.com/enclustra-bsp/altera-linux/blob/v1.6/drivers/mtd/spi-nor/cadence-quadspi.c
driver 4.15: https://github.com/enclustra-bsp/altera-linux/blob/v1.8/drivers/mtd/spi-nor/cadence-quadspi.c