Hi,
I am having a problem while trying to unlock and rewrite the RedBoot config partition from within the linux.
All other partitions are able to unlock and rewrite except the RedBoot config "mtd6" and FIS directory"mtd7".
Following is the partition setup on the Intel IXP425 board running kamikaez r12369.
root@OpenWrt:/etc# cat /proc/mtd
dev: size erasesize name
mtd0: 00060000 00020000 "RedBoot"
mtd1: 00140000 00020000 "kernel1"
mtd2: 00500000 00020000 "rootfs1"
mtd3: 00140000 00020000 "kernel2"
mtd4: 00500000 00020000 "rootfs2"
mtd5: 00100000 00020000 "OSMOconfig"
mtd6: 00001000 00020000 "RedBoot config"
mtd7: 00020000 00020000 "FIS directory"
root@OpenWrt:/#
When trying to unlock RedBoot config, it throws the fowlloing error.
root@OpenWrt:/etc# mtd unlock mtd6
Could not open mtd device: mtd6
Could not open mtd device: mtd6
root@OpenWrt:/#
Whereas, unlocking other parition like mtd5 is ok.
root@OpenWrt:~# mtd unlock mtd5
Unlocking mtd5 ...
root@OpenWrt:~#
Does anybody have an idea where the problem could be?