aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-10-19 10:10:02 +0000
committerJohn Crispin <john@openwrt.org>2015-10-19 10:10:02 +0000
commit257e76a3df0ddff4583789755e78835d79ed2005 (patch)
treed5452bba5dab1599badb124433fce27775667bd4 /tools
parent024083a556788895ee5f98c7acbd08b7ac2e278e (diff)
downloadupstream-257e76a3df0ddff4583789755e78835d79ed2005.tar.gz
upstream-257e76a3df0ddff4583789755e78835d79ed2005.tar.bz2
upstream-257e76a3df0ddff4583789755e78835d79ed2005.zip
ar71xx: Bitmain Antminer S1 & S3 cleanup
Sets the LEDs to boardname:color:led-name Sets the LAN to eth0 Other corrections such as the Machine Name and HWIDs v2 corrects the profile names in the Makefile and changes tabs to spaces in the Makefile 'define Device/' like the other devices. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 47221
Diffstat (limited to 'tools')
-rw-r--r--tools/firmware-utils/src/mktplinkfw.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
index 96fd6a00cd..4922afb069 100644
--- a/tools/firmware-utils/src/mktplinkfw.c
+++ b/tools/firmware-utils/src/mktplinkfw.c
@@ -31,8 +31,8 @@
#define HEADER_VERSION_V1 0x01000000
#define HEADER_VERSION_V2 0x02000000
-#define HWID_ANTMINER_S1 0x04440001
-#define HWID_ANTMINER_S3 0x04440003
+#define HWID_ANTMINER_S1 0x04440101
+#define HWID_ANTMINER_S3 0x04440301
#define HWID_GL_INET_V1 0x08000001
#define HWID_GS_OOLITE_V1 0x3C000101
#define HWID_ONION_OMEGA 0x04700001
@@ -434,6 +434,11 @@ static struct board_info boards[] = {
.hw_rev = 1,
.layout_id = "8Mlzma",
}, {
+ .id = "ANTMINER-S3",
+ .hw_id = HWID_ANTMINER_S3,
+ .hw_rev = 1,
+ .layout_id = "8Mlzma",
+ }, {
/* terminating entry */
}
};