aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/image
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2018-06-23 10:52:10 +0300
committerMathias Kresin <dev@kresin.me>2018-06-28 20:31:03 +0200
commit25070f71062e57c08e27b921868178b09274602a (patch)
tree94cab3d667351f98f42291e9cb05b0759f32648c /target/linux/ath79/image
parent7dd3d7e1d3845160c2ef51e6148b452e666bd6f5 (diff)
downloadupstream-25070f71062e57c08e27b921868178b09274602a.tar.gz
upstream-25070f71062e57c08e27b921868178b09274602a.tar.bz2
upstream-25070f71062e57c08e27b921868178b09274602a.zip
ath79: small wr1043nd-v4 fixes
- fix sysupgrade check - move usb to v4 dts because v5 doesn't have it - make wan mac address behave like ar71xx target - add orange wan led support, it can be userspace activated like: on: echo default-on > /sys/class/leds/tp-link\:orange\:wan/trigger off: echo none > /sys/class/leds/tp-link\:orange\:wan/trigger Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'target/linux/ath79/image')
-rw-r--r--target/linux/ath79/image/generic-tp-link.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk
index f048acc673..28fac6a631 100644
--- a/target/linux/ath79/image/generic-tp-link.mk
+++ b/target/linux/ath79/image/generic-tp-link.mk
@@ -70,7 +70,8 @@ define Device/tl-wr1043nd-v4
TPLINK_HWID := 0x10430004
TPLINK_BOARD_ID := TLWR1043NDV4
KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header -O
- IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
+ IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \
+ append-metadata | check-size $$$$(IMAGE_SIZE)
IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
SUPPORTED_DEVICES := tplink,tl-wr1043nd-v4 tl-wr1043nd-v4
endef