From: Tobias Schramm Date: Tue, 3 Dec 2019 21:33:32 +0000 (+0100) Subject: firmware-utils: mkfwimage: add support for Ubiquiti SW devices X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d29929be073ad74585043dc4f74e8581dd9e657c;p=oweals%2Fopenwrt.git 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 --- 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 = {