Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
Introduction

...

Code Block
themeMidnight
config MTD_NAND_ARASAN
    tristate "Support for Arasan Nand Flash controller"
    depends on MTD_NAND
    help
      Enables the driver for the Arasan Nand Flash controller in ZynqMP SoC.

Device Tree Settings

More information on nand device tree node details, refer the link Nand device tree
Example for device tree

...

Below test cases requires the following user space tools
mtd_debug, nandtest
All these tools are part of the mtd-utils and source is available from link http://git.infradead.org/mtd-utils.git

Note: expected output may not be same and its all depends on the flash device and configuration of the target system.

...

Code Block
themeMidnight
root@zynqmp:~# insmod /lib64/modules/5.94/kernel/drivers/mtd/tests/mtd_oobtest.ko dev=0 bitflip_limit=2
 
 

...

Code Block
themeMidnight
root@zynqmp:~# insmod /lib64/modules/5.404/kernel/drivers/mtd/tests/mtd_speedtest.ko dev=1

...