OpenWrt Forum Archive

Topic: unable to unlock u-boot

The content of this topic has been archived on 14 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,
I try to write to the u-boot partition on a WDR4300. I wrote "parts[0].mask_flags = 0;" to target/linux/ar71xx/files/drivers/mtd/tplinkpart.c.

mtd unlock "u-boot" still gives:
Could not open mtd device: u-boot

mtd unlock /dev/mtd0:
Could not open mtd device: /dev/mtd0

What to do now?

bye muebau

I guess you are talking about line 152?

Try commenting out that with #.

you make clean before recompile?

did you do "make target/linux/clean" ?

The discussion might have continued from here.