I'm not sure if this is a bug but OpenWRT is not identifying the size of the NAND on my board correctly and this is causing write/erase errors. The RB411UAHR has 64MB of NAND, but all of the recent versions from 17-19 all ID it as having 128. This then causes it to think there are lots of bad blocks and makes installation fail (I can boot fine via tftp). Any suggestions, log of the driver messing up below.
[ 7.002055] NAND flash driver for RouterBoard 4xx series version 0.2.0
[ 7.010908] nand: device found, Manufacturer ID: 0x20, Chip ID: 0xf1
[ 7.017318] nand: ST Micro NAND01GW3B2CN6
[ 7.021320] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64