Knowledge Base Article

Why does the Kernel crash with socfpga-6.12.11-lts while reading from the mtd device on the Stratix® 10 SX SoC Development Kit?

Description

Due to a problem in the SPI subsystem driver in socfpga-6.12.11-lts, the Power Management implementation was contributed by the open-source community. The qspi controller bind/unbind causes kernel crash/call trace issue while read/write /dev/mtd0 on the Stratix® 10 SX SoC Development Kit.

Resolution

To workaround this problem, you need to apply the patches to socfpga-6.12.11-lts from the attached qspi-fix-6.12.11-lts.zip.

cd linux-socfpga
patch -p1 < 0001-HSD-16027100077-1-spi-cadence-quadspi-Implement-refc.patch
patch -p1 < 0002-HSD-16027100077-2-spi-spi-cadence-quadspi-Fix-pm-run.patch
patch -p1 < 0003-HSD-16027100077-3-mtd-spi-nor-core-Check-for-null-po.patch
patch -p1 < 0004-HSD-14021922100-spi-cadence-qspi-add-quirk-to-disabl.patch

Additional Information

This problem is scheduled to be fixed in a future release of the socfpga-6.12.19-lts.

Updated 17 days ago
Version 2.0
No CommentsBe the first to comment