Dealing with Bad Blocks on Nand Flash

About The Project As a part of my Doctorate, I am regularly building, flashing and debugging custom U-Boot bootloaders. I&rsquo;ve been using OpenWrt as a part of my research on embedded systems, and developing slightly modified builds as previously documented in earlier blog posts. Recently, when flashing my OpenWrt One, I ran into errors that ultimately prevented me from writing a new image to…