summaryrefslogtreecommitdiff
path: root/tools/firmware-utils
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-12-07 16:53:22 +0000
committerJohn Crispin <john@openwrt.org>2014-12-07 16:53:22 +0000
commit8a123f6f6646f68ebd209caa5e7ef5b8ed61c325 (patch)
treef5a96606632a6d12632b9b6ab765fa95b4dc6fc5 /tools/firmware-utils
parent3572657c5ab7ee73cc0f80f40a7787d2bffca58c (diff)
downloadmtk-20170518-8a123f6f6646f68ebd209caa5e7ef5b8ed61c325.zip
mtk-20170518-8a123f6f6646f68ebd209caa5e7ef5b8ed61c325.tar.gz
mtk-20170518-8a123f6f6646f68ebd209caa5e7ef5b8ed61c325.tar.bz2
ramips: generate factory images for Nexx devices
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> SVN-Revision: 43541
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r--tools/firmware-utils/src/mkporayfw.c32
1 files changed, 23 insertions, 9 deletions
diff --git a/tools/firmware-utils/src/mkporayfw.c b/tools/firmware-utils/src/mkporayfw.c
index 960c604..6ec4f32 100644
--- a/tools/firmware-utils/src/mkporayfw.c
+++ b/tools/firmware-utils/src/mkporayfw.c
@@ -58,8 +58,8 @@
#define HWID_PORAY_X5_X6 0x35353335
#define HWID_PORAY_X8 0x36353335
#define HWID_PORAY_X1 0x38353335
-#define HWID_NEXX_WT15XXX 0x30353332
-#define HWID_NEXX_WT3020A 0x30323033
+#define HWID_NEXX_WT1520 0x30353332
+#define HWID_NEXX_WT3020 0x30323033
#define HWID_A5_V11 0x32473352
/* Recognized XOR obfuscation keys */
@@ -212,16 +212,30 @@ static struct board_info boards[] = {
.layout_id = "8M",
.key = KEY_PORAY_1,
}, {
- .id = "WT15XXX",
- .hw_id = HWID_NEXX_WT15XXX,
+ .id = "WT1520",
+ .hw_id = HWID_NEXX_WT1520,
.layout_id = "4M",
.key = KEY_NEXX_1,
}, {
- .id = "WT3020A",
- .hw_id = HWID_NEXX_WT3020A,
- .layout_id = "4M",
- .key = KEY_NEXX_2,
- }, {
+ .id = "WT1520",
+ .hw_id = HWID_NEXX_WT1520,
+ .layout_id = "8M",
+ .key = KEY_NEXX_1,
+ }, {
+ .id = "WT3020",
+ .hw_id = HWID_NEXX_WT3020,
+ .layout_id = "4M",
+ .key = KEY_NEXX_2,
+ }, {
+ .id = "WT3020",
+ .hw_id = HWID_NEXX_WT3020,
+ .layout_id = "8M",
+ .key = KEY_NEXX_2,
+ }, {
+
+
+
+
/* terminating entry */
}
};