aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/mkfwimage.c
diff options
context:
space:
mode:
authorTobias Schramm <tobleminer@gmail.com>2019-12-03 22:33:32 +0100
committerDavid Bauer <mail@david-bauer.net>2020-01-12 14:12:50 +0100
commitd29929be073ad74585043dc4f74e8581dd9e657c (patch)
tree7db4821996457feb4785b3c788167f79cd83a380 /tools/firmware-utils/src/mkfwimage.c
parent8f9cd1af0f9c325a902dbd0e79e12015372e6bb0 (diff)
downloadupstream-d29929be073ad74585043dc4f74e8581dd9e657c.tar.gz
upstream-d29929be073ad74585043dc4f74e8581dd9e657c.tar.bz2
upstream-d29929be073ad74585043dc4f74e8581dd9e657c.zip
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 <tobleminer@gmail.com>
Diffstat (limited to 'tools/firmware-utils/src/mkfwimage.c')
-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 c9d838a2e1..d0dca040cd 100644
--- a/tools/firmware-utils/src/mkfwimage.c
+++ b/tools/firmware-utils/src/mkfwimage.c
@@ -111,6 +111,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 = {
.kern_start = 0x9f050000,