NAND flash Write protection

kasi viswanathan kviswanathan.83 at gmail.com
Fri May 7 21:19:58 PDT 2021


Hi all,

In one of our current boards we are using Micron NAND flash of Size 512MB.
Sometimes the first page (4k) gets corrupted and the board gets bricked.

We have stored the bootloader at this location.

As a preventive measure we have added read-only and lock flags in the dtb entry.

My query is, Is it possible to lock a particular block of NAND flash
memory in linux ?
I understood after googling that a specific H/W pin support is needed
to achieve this "Power-Up  Read  Enable,  Lock/Unlock  Enable(PRL)"

If so can you pls let me know the pointers which i can check to work on this.

Thanks in advance,

Thanks,
Kasiviswanathan.V



More information about the linux-mtd mailing list