aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils
diff options
context:
space:
mode:
authorRoger Pueyo Centelles <roger.pueyo@guifi.net>2020-04-24 17:46:14 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-05-17 21:03:19 +0200
commit0486641849f4ecb6a29d0f5a9ec2b900380ba2b7 (patch)
tree1a2c3db82ca74a434416856dc9ecb2776b3a8700 /tools/firmware-utils
parent31b49f02ca8a82a36f920d4b29626f2845e9eb50 (diff)
downloadupstream-0486641849f4ecb6a29d0f5a9ec2b900380ba2b7.tar.gz
upstream-0486641849f4ecb6a29d0f5a9ec2b900380ba2b7.tar.bz2
upstream-0486641849f4ecb6a29d0f5a9ec2b900380ba2b7.zip
firmware-utils: mkfwimage: add support for Ubiquiti XC devices
This commit adds support for Ubiquiti devices based on the XC board type, such as the PowerBeam 5AC 500. The factory binary structure is the same as the WA type. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r--tools/firmware-utils/src/mkfwimage.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/mkfwimage.c b/tools/firmware-utils/src/mkfwimage.c
index 9e6d8f5b9a..ff9011a0c4 100644
--- a/tools/firmware-utils/src/mkfwimage.c
+++ b/tools/firmware-utils/src/mkfwimage.c
@@ -138,6 +138,15 @@ struct fw_info fw_info[] = {
.sign = true,
},
{
+ .name = "XC",
+ .fw_layout = {
+ .kern_start = 0x9f050000,
+ .kern_entry = 0x80002000,
+ .firmware_max_length= 0x00F60000,
+ },
+ .sign = true,
+ },
+ {
.name = "ACB-ISP",
.fw_layout = {
.kern_start = 0x9f050000,