Skip to content

Commit

Permalink
swupdate: add support for imx93-var-som
Browse files Browse the repository at this point in the history
Signed-off-by: Nate Drude <nate.d@variscite.com>
  • Loading branch information
nsdrude committed Feb 20, 2023
1 parent 6073c12 commit b06b614
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 0 deletions.
45 changes: 45 additions & 0 deletions dynamic-layers/swupdate/swupdate/imx93-var-som/swupdate.cfg
@@ -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;
};
@@ -0,0 +1 @@
hardware="imx93-var-som"
27 changes: 27 additions & 0 deletions dynamic-layers/swupdate/var-image-swu/imx93-var-som/sw-description
@@ -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";
}
);
};
}

0 comments on commit b06b614

Please sign in to comment.