meta-digi/meta-digi-dey/recipes-digi/swu-images
David Escalona a04af0cbc1 meta-digi-dey: swu-images: simplify sw-description file
The fact of including both storage types (mtd and mmc) in the same 'sw-description' file is not providing any kind
of benefit. Instead, it makes the file larger, complex and harder to maintain. Additionally, most of the images
entries share the same structure and contents, changing only names and mount points. This commit simplifies the
'sw-description' file by configuring the storage type and the images to include in the SWU package at build
time, using a generic 'sw-description' template and template files for 'mmc' and 'mtd' images.

While on it, use the new 'DEY_FIRMWARE_VERSION' variable for SWU package version and fix the recipe to not include
all 'SRC_URI' files in the SWU update image, but only the required files for the update. Also, make use of variable
substitution provided by SWU class in the 'sw-description' file.

Note: SWU U-Boot update will be broken after this change. Waiting for official support with a robust implementation.

https://onedigi.atlassian.net/browse/DEL-8537
https://onedigi.atlassian.net/browse/DEL-8538

Signed-off-by: David Escalona <david.escalona@digi.com>
2023-06-21 18:23:50 +02:00
..
files meta-digi-dey: swu-images: simplify sw-description file 2023-06-21 18:23:50 +02:00
core-image-base-swu.bb swu-images: add include file to reuse in swu update package recipes 2017-07-05 13:43:28 +02:00
dey-image-aws-swu.bb swu-images: new swu update package including Amazon Web Services 2017-07-05 13:43:28 +02:00
dey-image-crank-swu.bb crank: add new crank image 2022-08-26 13:34:59 +02:00
dey-image-qt-swu.bb swu-images: add include file to reuse in swu update package recipes 2017-07-05 13:43:28 +02:00
swu.inc meta-digi-dey: swu-images: simplify sw-description file 2023-06-21 18:23:50 +02:00