firmware-utils: mkfwimage: add support for Ubiquiti SW devices
authorTobias Schramm <tobleminer@gmail.com>
Tue, 3 Dec 2019 21:33:32 +0000 (22:33 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 12 Jan 2020 13:12:50 +0000 (14:12 +0100)
This commit adds support for Ubiquiti ToughSwitch XP (and probably also
EdgeSwitch XP) devices. They are mostly based on the same hardware as
MX devices.

Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
tools/firmware-utils/src/mkfwimage.c

index c9d838a2e131c4a66ec0f53101339f6ea6c14490..d0dca040cdaee4d71a39ada82b8242ba08a7c7e8 100644 (file)
@@ -110,6 +110,15 @@ struct fw_info fw_info[] = {
                },
                .sign = false,
        },
+       {
+               .name = "SW",
+               .fw_layout = {
+                       .kern_start     =       0x9f050000,
+                       .kern_entry     =       0x80002000,
+                       .firmware_max_length=   0x00760000,
+               },
+               .sign = false,
+       },
        {
                .name = "UBDEV01",
                .fw_layout = {