public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* NAND flash Write protection
@ 2021-05-08  4:19 kasi viswanathan
  2021-05-10  7:59 ` Miquel Raynal
  0 siblings, 1 reply; 3+ messages in thread
From: kasi viswanathan @ 2021-05-08  4:19 UTC (permalink / raw)
  To: linux-mtd

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

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-10 10:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-08  4:19 NAND flash Write protection kasi viswanathan
2021-05-10  7:59 ` Miquel Raynal
2021-05-10 10:19   ` kasi viswanathan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox