swupdate: add configuration file for ccmp1X platforms

Now we can't determine if the rootfs is ubifs/squashfs
in the ccmp1X platforms, so we need to add again the rootfstype
parameter but only for ccmp1X platforms.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
Francisco Gil 2023-08-24 09:26:21 +02:00 committed by Hector Palacios
parent b2dddb2b4c
commit 50554f257c
1 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,70 @@
software =
{
version = "@@DEY_FIRMWARE_VERSION@@";
description = "@@SWUPDATE_DESCRIPTION@@";
@@SWUPDATE_STORAGE_TYPE@@ = {
primary: {
images: (
##IMAGES_PRIMARY##
);
scripts: (
{
filename = "@@SWUPDATE_SCRIPT_NAME@@";
type = "shellscript";
}
);
uboot: (
{
name = "upgrade_available";
value = "1";
},
{
name = "rootfstype"
value = "@@SWUPDATE_ROOTFS_TYPE@@"
}
);
}
secondary: {
images: (
##IMAGES_SECONDARY##
);
scripts: (
{
filename = "@@SWUPDATE_SCRIPT_NAME@@";
type = "shellscript";
}
);
uboot: (
{
name = "upgrade_available";
value = "1";
},
{
name = "rootfstype"
value = "@@SWUPDATE_ROOTFS_TYPE@@"
}
);
}
single: {
images: (
##IMAGES_SINGLE##
);
scripts: (
{
filename = "@@SWUPDATE_SCRIPT_NAME@@";
type = "shellscript";
}
);
uboot: (
{
name = "rootfstype"
value = "@@SWUPDATE_ROOTFS_TYPE@@"
}
);
}
platform = {
ref = "#./single";
}
};
}