What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Firmware version 3.0.0.4.384_21045

Adrian Knight

Regular Contributor
Seems we have an undocumented *FIX*

mtd-write has been replaced by mtd-write2 which now has been *IMPROVED* to only allow trx files to be written.

Although the normal mtd-write app is still available in the rc (toolbox/busybox), so if you do for example:-

ln -s /sbin/rc /tmp/mtd-write

you can get back the *NICE* version ;)
 
Last edited:
Seems we have an undocumented *FIX*

mtd-write has been replaced by mtd-write2 which now has been *IMPROVED* to only allow trx files to be written.

Although the normal mtd-write app is still available in the rc (toolbox/busybox), so if you do for example:-

ln -s /sbin/rc /tmp/mtd-write

you can get back the *NICE* version ;)
I've only used mtd-write2 to install firmware trx files. I've also used an old mtd-write copied to the router to update CFEs. Are there other reasons to write arbitrary files? Are you saying I can just use the sym link to write the CFE or restore other mtd partitions from backups?
 
Last edited:
mtd-write is for MIPS, mtd-write2 is for ARM.

Those are just function calls to rc BTW, they're not external programs.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top