firmware-utils: mkfwimage: add support for Ubiquiti XC devices
authorRoger Pueyo Centelles <roger.pueyo@guifi.net>
Fri, 24 Apr 2020 15:46:14 +0000 (17:46 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 17 May 2020 19:03:19 +0000 (21:03 +0200)
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>
tools/firmware-utils/src/mkfwimage.c

index 9e6d8f5b9ab4b62305ba10e6c670a53ee8e7b2ee..ff9011a0c48f17e933183a6d1c85cc3490cdb6c7 100644 (file)
@@ -137,6 +137,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 = {