openwrt/package
David Bauer 1e06482f7d mtd: add logic for TP-Link ramips recovery magic
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>
2019-01-26 21:46:32 +01:00
..
base-files build: Optionally provide file checksums in package metadata 2019-01-22 09:22:25 +01:00
boot uboot-envtools: add support for Linksys EA6350v3 2019-01-26 21:43:04 +01:00
devel perf: replace libelf1 dependency with libelf 2019-01-24 12:56:11 +01:00
firmware ipq-wifi: add support for Linksys EA6350v3 2019-01-26 21:42:57 +01:00
kernel mac80211: ath: add extra 'regulatory domains' 2019-01-26 21:41:04 +01:00
libs libelf: fix library packaging 2019-01-25 18:59:46 +01:00
network ppp: update to version 2.4.7.git-2018-06-23 2019-01-25 14:55:46 +01:00
system mtd: add logic for TP-Link ramips recovery magic 2019-01-26 21:46:32 +01:00
utils treewide: revise library packaging 2019-01-24 10:39:30 +01:00
Makefile build: add ABI_VERSION to binary package names 2019-01-19 14:32:12 +01:00