Skip to content

Support for Winbond W25N02KV QSPI NAND Chip (256MB Size)#

Date: 3rd November 2023

Changes:

  • 15th November 2023: Add link for kernel version 5.4-ktn

Affected hardware products#

All Kontron i.MX6 UL and ULL SOM based devices which contain the Winbond W25N02KV 256MB QSPI NAND flash. Also customer products are affected which are based on these Kontron SOM products.

  • 40099 144 - Kontron i.MX6 ULL SOM 256/256
  • 40099 123 - Kontron i.MX6 UL SOM 256/256

Affected software components#

  • all U-Boot bootloader versions,
  • all Linux kernel versions,
  • all Yocto BSP versions

Description#

Due to the change of the 256MB QSPI NAND chip on i.MX6 SOM devices some software adaptions in Linux kernel and U-Boot bootloader are required. The basic steps to do are already described in PCN2103/23.

Further stress testing of the new configuration discovered some timing issues which lead to malfunction of the device. This is true especially for environments with increased environmental temperature.

So for reliable opreration, some additional adaptions has to be done in Linux kernel. For U-Boot additional timing adaptions are not required due to the reduced interface frequency of 50MHz.

To fully support the new chip two adaptions are required

  • Basic support for this chip for Linux kernel and U-Boot bootloader (as already mentionned in PCN2103/23)
  • Additional timing adjustment for Linux kernel (new)

Upgrade to a software version which fixes this issue or backport the provided patches to the version you use.

Or reduce the interface frequency of the QSPI clock to 50MHz in the device tree of your board. This obsoletes additional timing patches, but may have negative impact for the performance of your storage system!

Available Fixes#

The Kontron Yocto BSP 6.1 currently does not support 256MB QSPI NAND devices at all. Kontron Yocto BSP versions from version 6.2 up are going to include this fix.

The current development branch of Kontron Yocto BSP 5.x contains support for the Winbond W25N02KV QSPI NAND (basic chip support and timing adjustment)

The Kontron U-Boot and Linux kernel repositories provide fixed versions. Use the latest versions or at least these commits:

For backporting to other Linux kernel versions these are the relevant commits for chip support on U-Boot 2022.10 and Linux kernel 5.10: