--- /dev/null
+## Upgrade tools generic plugin
+This is a template configuration repository for generic rpi4 devices to be used in delta generation.
+Docker image used for generating deltas can automatically clone and checkout a repository containing
+configuration files, so there is no need to manually copy them (to configure which repository is used
+for that, please refer to `platform/core/system/upgrade-tools`).
+
+When creating your own configuration repository, keep the same file tree structure as here. This means
+that if you want to add a new device in your repository, place its configuration in `<device_name>/cfg/delta.cfg`.
+
+### `delta.cfg` structure
+Custom configuration files should follow the structure of `delta.cfg` file in this repository.
+Each line describes a partition, and should have 6 columns in following order:
+* Filesystem label
+* name of binary file in an archive containing OS image (ex. boot.img) from base image
+* name of binary file in an archive containing OS image (ex. boot.img) from image to upgrade to
+* Update type. This is a sting containing two options separated by `:`. Supported options:
+ * First part:
+ * `FULL_IMAGE`
+ * `DELTA_IMAGE`
+ * Second Part:
+ * `BEFORE_BOOT_FOTA`
+ * `AT_BOOT_FOTA`
+
+ Example full update type string: `FULL_IMAGE:BEFORE_BOOT_FOTA`.
+* Block deivce
+* Block offset
--- /dev/null
+Name: upgrade-tools-generic
+Version: 1.0.0
+Release: 0
+License: Apache-2.0
+Summary: Template generic config for delta building
+Group: Development/System
+Source0: %{name}-%{version}.tar.gz
+
+Source1001: %{name}.manifest
+
+%description
+This is a dummy package
\ No newline at end of file
--- /dev/null
+# Configuration for generation of delta
+# Filesystem label, bin name (in tar), delta name, update type, blk dev, blk offset
+BOOT boot.img boot.img FULL_IMAGE:BEFORE_BOOT_FOTA /dev/mmcblk0p1 0
+hal hal.img hal.img DELTA_IMAGE:AT_BOOT_FOTA /dev/mmcblk0p10 0
+modules modules.img modules.img FULL_IMAGE:BEFORE_BOOT_FOTA /dev/mmcblk0p6 0
+rootfs rootfs.img rootfs.img DELTA_IMAGE:AT_BOOT_FOTA /dev/mmcblk0p2 0
+ramdisk ramdisk.img ramdisk.img FULL_IMAGE:AT_BOOT_FOTA /dev/mmcblk0p7 0
+ramdisk-recovery ramdisk-recovery.img ramdisk-recovery.img FULL_IMAGE:BEFORE_BOOT_FOTA /dev/mmcblk0p8 0