tn3399_openwrt/package/system
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
..
ca-certificates ca-caertificates: remove myself as PKG_MAINTAINER 2018-07-31 00:00:20 +02:00
fstools fstools: media change detection (eg:sdcard) using kernel polling 2019-01-22 08:49:36 +01:00
fwtool fwtool: add utility for appending and extracting firmware metadata/signatures 2016-11-19 11:24:09 +01:00
iucode-tool tools: add iucode-tool 2018-02-11 14:39:16 +01:00
mtd mtd: add logic for TP-Link ramips recovery magic 2019-01-26 21:46:32 +01:00
openwrt-keyring openwrt-keyring: bundle latest usign certificates 2018-05-20 19:39:12 +02:00
opkg opkg: update to latest Git head 2019-01-19 14:31:46 +01:00
procd procd: update to latest git HEAD 2019-01-24 22:54:13 +01:00
rpcd rpcd: update to latest Git head 2018-12-12 16:33:54 +01:00
ubox procd: Add wrapper for uci_validate_section() 2019-01-22 09:05:59 +01:00
ubus packages: set more explicit ABI_VERSION values 2019-01-19 14:31:51 +01:00
ucert ucert: work around short read 2018-09-18 13:51:09 +02:00
uci treewide: revise library packaging 2019-01-24 10:39:30 +01:00
usign treewide: replace LEDE_GIT with PROJECT_GIT 2018-01-10 21:27:32 +01:00
zram-swap zram-swap: bump pkg version 2018-09-29 17:23:11 +02:00