From 50554f257c730878ab1e138841695b0105ad0af7 Mon Sep 17 00:00:00 2001 From: Francisco Gil Date: Thu, 24 Aug 2023 09:26:21 +0200 Subject: [PATCH] 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 --- .../ccmp1/sw-description-images_template | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 meta-digi-dey/recipes-digi/swu-images/files/ccmp1/sw-description-images_template diff --git a/meta-digi-dey/recipes-digi/swu-images/files/ccmp1/sw-description-images_template b/meta-digi-dey/recipes-digi/swu-images/files/ccmp1/sw-description-images_template new file mode 100644 index 000000000..0cc414a85 --- /dev/null +++ b/meta-digi-dey/recipes-digi/swu-images/files/ccmp1/sw-description-images_template @@ -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"; + } + }; +}