Is the command changed lately? I can't do it:
root@OpenWrt:/tmp# mtd write /tmp/factory.bin factory
Could not open mtd device: factory
Can't open device for writing!
Is the command changed lately? I can't do it:
root@OpenWrt:/tmp# mtd write /tmp/factory.bin factory
Could not open mtd device: factory
Can't open device for writing!
What device? ubus call system board
kmod-mtd-rw ?
Snapshots doesn't have that afaik. I am doing some experiments.
Why wouldn't it ?
I checked on the make menuconfig, there is no such thing as kmod-mtd-rw?
There is in reality - (just a random example) https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.12.48-1-457143262baaa3b3c3261909ce3dcb61/.
Yeah but doesn't exist on my own compiled image, that's what I needed. I am doing experiments as I said.
The partition naming and access style varies a lot device. Are you talking about RT-AX59U (that is in your profile)?
According to OpenWrt wiki it does not have a 'factory' mtd partition. Instead most of stuff is inside a single ubi area, which is likely divided to several volumes (that you manipulate with ubi tools).
(That direct mtd write is mostly related to old simple nor flash devices.)
Man how to add kmod-mtd-rw for development snapshot? I want it in the make menuconfig why it wouldn't exist?? I am doing something important and because some random dude not put in the menuconfig I can't.
Location:
-> Kernel modules
-> Other modules
-> kmod-mtd-rw
It should be quite normally available in menuconfig, like ruralroots just gave you the menu path. (I am not at my PC now, so I can't check)
Ps. Have you noticed, that you can search in menuconfig with "/" ?
Yeah I've searched with /, then I went ahead and added the CONFIG BLA BLAH in the .config file myself. It's definitely not visible.
Looking at the Makefile, it should be visible from packages feed to all other targets than x86, octeon, bcm27xx