ramips: Archer C50v1: support US and EU versions
For the Archer C50v1, the EU and US versions are differentiated by their respective HW additional version (0x0 for US, 0x2 for EU). The stock web interface checks this field before flashing, making it impossible to flash the current (US) factory image on EU hardware. However the bootloader does not check this field, making it possible to use a single sysupgrade image for both hardware. This patch adds the necessary build bits to generate both EU and US factory images, and renames the target as "Archer C50v1" since there are as of now 3 different versions of Archer C50 (all with different CPUs). Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
This commit is contained in:
parent
66a8c8f04c
commit
991681cf49
1 changed files with 6 additions and 4 deletions
|
@ -42,15 +42,17 @@ define Device/ArcherC20i
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += ArcherC20i
|
TARGET_DEVICES += ArcherC20i
|
||||||
|
|
||||||
define Device/ArcherC50
|
define Device/ArcherC50v1
|
||||||
$(Device/Archer)
|
$(Device/Archer)
|
||||||
DTS := ArcherC50
|
DTS := ArcherC50
|
||||||
SUPPORTED_DEVICES := c50
|
SUPPORTED_DEVICES := c50
|
||||||
TPLINK_BOARD_ID := ArcherC50
|
TPLINK_BOARD_ID := ArcherC50
|
||||||
IMAGES += factory.bin
|
IMAGES += factory-us.bin factory-eu.bin
|
||||||
DEVICE_TITLE := TP-Link ArcherC50
|
IMAGE/factory-us.bin := tplink-v2-image -w 0
|
||||||
|
IMAGE/factory-eu.bin := tplink-v2-image -w 2
|
||||||
|
DEVICE_TITLE := TP-Link ArcherC50v1
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += ArcherC50
|
TARGET_DEVICES += ArcherC50v1
|
||||||
|
|
||||||
define Device/ArcherMR200
|
define Device/ArcherMR200
|
||||||
$(Device/Archer)
|
$(Device/Archer)
|
||||||
|
|
Loading…
Reference in a new issue