I boot board with BB version of OpenWRT and found below for NAND flash :
root@OpenWrt:/# cat /proc/mtd
dev: size erasesize name
mtd0: 0ff80000 00020000 "ALL"
mtd1: 00080000 00020000 "Bootloader"
mtd2: 00080000 00020000 "Config"
mtd3: 00040000 00020000 "Factory"
mtd4: 0fe40000 00020000 "firmware"
mtd5: 0fcaf309 00020000 "rootfs"
mtd6: 0faa0000 00020000 "rootfs_data"
root@OpenWrt:/# cat /proc/partitions
major minor #blocks name
31 0 261632 mtdblock0
31 1 512 mtdblock1
31 2 512 mtdblock2
31 3 256 mtdblock3
31 4 260352 mtdblock4
31 5 258748 mtdblock5
31 6 256640 mtdblock6
root@OpenWrt:/# ls /dev/mtd* | grep ro
/dev/mtd0ro
/dev/mtd1ro
/dev/mtd2ro
/dev/mtd3ro
/dev/mtd4ro
/dev/mtd5ro
/dev/mtd6ro
all MTD partitions are read only.
I already tried to use kernel argument but this SDK driver dont use it.
What are all other ways to get it read write at least config mtd partition and definitely rootfs and rootfs_data.
Is there anyway to force it to make writable once system boot complete on using command line.
How to make it writable somehow ?