Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
swupdate: add support for imx93-var-som
Signed-off-by: Nate Drude <nate.d@variscite.com>
- Loading branch information
Showing
3 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
dynamic-layers/swupdate/swupdate/imx93-var-som/swupdate.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
globals : | ||
{ | ||
verbose = true; | ||
loglevel = 5; | ||
syslog = true; | ||
/* public-key-file = "test.pem"; */ | ||
}; | ||
|
||
download : | ||
{ | ||
retries = 3; | ||
timeout = 1800; | ||
}; | ||
|
||
identify : ( | ||
{ name = "board"; value = "imx93-var-som"; } | ||
); | ||
|
||
suricatta : | ||
{ | ||
tenant = "default"; | ||
id = "imx93-var-som"; | ||
confirm = 0; | ||
url = "http://varupdate:8080"; | ||
polldelay = 3600; | ||
nocheckcert = true; | ||
retry = 4; | ||
retrywait = 200; | ||
loglevel = 10; | ||
userid = 0; | ||
groupid = 0; | ||
max_artifacts = 1; | ||
/* | ||
cafile = "/etc/ssl/cafile"; | ||
sslkey = "/etc/ssl/sslkey"; | ||
sslcert = "/etc/ssl/sslcert"; | ||
*/ | ||
}; | ||
|
||
webserver : | ||
{ | ||
document_root = "/www"; | ||
userid = 0; | ||
groupid = 0; | ||
}; |
1 change: 1 addition & 0 deletions
1
dynamic-layers/swupdate/swupdate/imx93-var-som/swupdate.default
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
hardware="imx93-var-som" |
27 changes: 27 additions & 0 deletions
27
dynamic-layers/swupdate/var-image-swu/imx93-var-som/sw-description
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
software = | ||
{ | ||
version = "0.1.0"; | ||
|
||
imx93-var-som = { | ||
hardware-compatibility: [ "1.0" ]; | ||
|
||
files: ( | ||
{ | ||
filename = "var-image-swupdate-imx93-var-som.tar.gz"; | ||
type = "archive"; | ||
compressed = true; | ||
device = "/dev/update"; | ||
filesystem = "ext4"; | ||
preserve-attributes = true; | ||
path = "/"; | ||
} | ||
); | ||
|
||
scripts: ( | ||
{ | ||
filename = "update.sh"; | ||
type = "shellscript"; | ||
} | ||
); | ||
}; | ||
} |