mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
1e06482f7d
This adds an option to set the recovery flag of newer TP-Link MediaTek boards and remove it after a successful write. To make use of this feature, add the '-t' option to mtd-write. The '-t' option takes the mtd partition containing the recovery flag (usually 'romfile') as an argument. Make sure this partition is not flagged as read-only! Example: > mtd -t romfile write owrt.bin firmware This command writes the recovery-flag before it begins writing the image to the firmware partition. After the image-write has been successful, the recovery flag is removed. This way, the TP-Link web-recovery is automatically enabled on an unsucessful flash (e.g. power loss). This option is only available if the mtd package is compiled for the ramips target. Signed-off-by: David Bauer <mail@david-bauer.net> |
||
---|---|---|
.. | ||
crc32.c | ||
crc32.h | ||
fis.c | ||
fis.h | ||
imagetag.c | ||
jffs2.c | ||
jffs2.h | ||
linksys_bootcount_fix.c | ||
linksys_bootcount.c | ||
Makefile | ||
md5.c | ||
md5.h | ||
mtd.c | ||
mtd.h | ||
seama.c | ||
seama.h | ||
tpl_ramips_recoveryflag.c | ||
trx.c | ||
wrg.c | ||
wrgg.c | ||
wrgg.h |