How do you protect data from being lost through an image update?

How do you protect data from being lost through an image update? Is it possible to persistently save a handful of 32/64-bit values that are not lost during an image update?

For the VF61 the Linux Console Image Colibri VFxx (2.8 | 2019-04-01) is used. This is updated via the SD card (run setupdate && run update).

  • Is there an area which is not affected by such an update?
  • Is there a way to run the update in “two phases” to save data across the process?

@Daniel,

Greetings from Toradex!

Could you please kindly tell us more about what exactly you are trying to update? Which image and which BSP do you currently use, etc.,

Thanks and Regards,
Janani

I have updated my question.

Hello @Daniel ,

The data can protected when you can implement the own partition scheme and then there you can store that data that you wanted to save.

It could be done as follows. As run setupdate basically reads a file on the SD card called flash_blk.img (a U-boot script), which you can modify it to your use-case with more than one partition. But unfortunately, this feature is not implemented by us, but still customers could try based on their use-case.

https://developer.toradex.com/files/toradex-dev/uploads/media/Colibri/Linux/Images/Colibri-VF_Console-Image_2.8b6.184-20190401.tar.bz2

Best regards,

Janani