From d29929be073ad74585043dc4f74e8581dd9e657c Mon Sep 17 00:00:00 2001 From: Tobias Schramm Date: Tue, 3 Dec 2019 22:33:32 +0100 Subject: [PATCH] firmware-utils: mkfwimage: add support for Ubiquiti SW devices 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 --- tools/firmware-utils/src/mkfwimage.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/firmware-utils/src/mkfwimage.c b/tools/firmware-utils/src/mkfwimage.c index c9d838a2e1..d0dca040cd 100644 --- a/tools/firmware-utils/src/mkfwimage.c +++ b/tools/firmware-utils/src/mkfwimage.c @@ -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 = { -- 2.25.1