Hello,
We are running the TI SDK Linux kernel 3.14.43 on our custom hardware based on the BeagleBone Black. Firmware is stored in NAND flash. Our application programs the our kernel to NAND (mtd8) with mtdutils v1.5.0 as follows:
flash_erase /dev/mtd8 0 0
nandwrite -b 1 /dev/mtd8 -p /tmp/ramdisk1/image.binary1
The option that I am concerned with is (taken from the nandwrite help):
-m, --markbad Mark blocks bad if write fails
I can find very little documentation or examples on the -m option. It seems that it should be included so, in the event that blocks go bad, the nandwrite command will mark the bad blocks so they are skipped in the future. Most of the examples I have come across for the nandwrite command do NOT include -m. Is there any reason not to use this option when programming my kernel to NAND?
Thank you in advance for any help! - Anthony