swu: enable 'upgrade-available' flag on single systems and file updates
ConnectCore 6 based products require the use of the 'upgrade_available' environment flag to save the bootcount value between resets. Extend the use of this U-Boot variable for single system updates and updates based on files. Signed-off-by: David Escalona <david.escalona@digi.com>
This commit is contained in:
parent
cb6b4fe67a
commit
7bf452e85a
|
|
@ -22,6 +22,10 @@ software =
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
uboot: (
|
uboot: (
|
||||||
|
{
|
||||||
|
name = "upgrade_available";
|
||||||
|
value = "@@UPGRADE_AVAILABLE@@";
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name = "swap_bank";
|
name = "swap_bank";
|
||||||
value = "false";
|
value = "false";
|
||||||
|
|
@ -48,6 +52,12 @@ software =
|
||||||
type = "shellscript";
|
type = "shellscript";
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
uboot: (
|
||||||
|
{
|
||||||
|
name = "upgrade_available";
|
||||||
|
value = "@@UPGRADE_AVAILABLE@@";
|
||||||
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
platform = {
|
platform = {
|
||||||
ref = "#./single";
|
ref = "#./single";
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,12 @@ software =
|
||||||
type = "shellscript";
|
type = "shellscript";
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
uboot: (
|
||||||
|
{
|
||||||
|
name = "upgrade_available";
|
||||||
|
value = "@@UPGRADE_AVAILABLE@@";
|
||||||
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
platform = {
|
platform = {
|
||||||
ref = "#./single";
|
ref = "#./single";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue