@@ -52,9 +52,7 @@ General Overview
- new partition schema. This is bound with UBI volume.
SWUpdate can recreate UBI volumes, resizing them and
- copying the new software. A special UBI volume with the name "data"
- is saved and restored after repartitioning with all data
- it contains, to maintain user's data.
+ copying the new software.
- support for compressed images, using the zlib and zstd library.
tarball (tgz file) are supported.
@@ -345,8 +343,6 @@ A run of SWUpdate consists mainly of the following steps:
really in the cpio archive.
- modify partitions, if required. This consists in a resize
of UBI volumes, not a resize of MTD partition.
- A volume with the name "data" is saved and restored after
- resizing.
- runs pre-install scripts
- iterates through all images and call the corresponding
handler for installing on target.
@@ -15,9 +15,6 @@
#include "bsdqueue.h"
#define DEFAULT_CTRL_DEV "/dev/ubi_ctrl"
-#define UBI_DATA_VOLNAME "data"
-#define UBI_DATACPY_VOLNAME "datacpy"
-#define MTD_FS_DEVICE 7
struct ubi_part {
struct ubi_vol_info vol_info;
Special handling of an UBI volume with the name "data" seems not to exist anymore. So remove the remaining documentation and also remove orphan defines. Signed-off-by: Christian Eggers <ceggers@arri.de> --- doc/source/swupdate.rst | 6 +----- include/flash.h | 3 --- 2 files changed, 1 insertion(+), 8 deletions(-)