Recovery image(fail safe mode)
when I update the linux image or firmware. unfortunately latest firmware some services or programs are not working.I want to roll back the previous image.
Is there any way to recover or roll back the previous state.
Is there any primary and secondary partition can we create.
When ever new firmware or Image is available this need to download on secondary partition.
If user acknowledge by some input (stwithes) then only update/overwrite the primary image or make the secondary image as primary and primary image as secondary.
Please suggest the how to create two partition and recover previous image(fail safe mode)
If you want to return to the previous image you were using you'd need to download the image you want from the "Previous versions" section of https://software.intel.com/en-us/iot/hardware/edison/downloads https://software.intel.com/en-us/iot/hardware/edison/downloads and go through the flashing process https://software.intel.com/en-us/articles/flash-tool-lite-user-manual https://software.intel.com/en-us/articles/flash-tool-lite-user-manual . If you flash a new image, there's no command to just return to the previous one, you'd have to flash and install all the things you had previously configured.
As for the partitions, you can use parted https://wiki.archlinux.org/index.php/GNU_Parted https://wiki.archlinux.org/index.php/GNU_Parted which is installed by default in the latest image "Release 3.5". There are no steps to do specifically what you want to do with the partitions but this guide will help you understand how to use parted and configure the partitions according to your needs.
Can you provide the details to make two different partition on Edison (SD card and or emmc).
I will use one for rootfs , boot another partition i will use application.
I know about parted and how to use.My ideas is describe above thread.
Please provide the solution. (please don't tell we do not have any solution and i don't want workaround).
To change between partitions in Yocto you just need to use the cd command to navigate to the partition you want just like you would move through the filesystem. For example, the contents of the SD card are in /media/sdcard. So, to view contents of the currently flashed image you'd have to be in /root and to view the files in the SD go to /media/sdcard. You can change between the two using the cd command.
Now, if you want to automatically detect when a new image is available to then download it and install it in the secondary partition you'd have to program a script that does this functionality. This includes the user acknowledgement and the decision to either overwrite or change between partitions, which have to be included in the script.
We don't have any sample scripts to do the functionality you request since this a very specific subject. You'd have to do the code so it has the features you need. We can, however, help you correct already existing pieces of code in case you need assistance with functions, libraries or other issues you may encounter.
Heck, why don't you just tell us to design, implement your project for you. I have watched your posts for some time. You double post the same question, you refuse to accept answers provided. You refuse to do any leg work yourself, you show very little appreciation for the help you do receive and you seem overly bossy to people who are providing free help.
Expecting Intel to provide code to do a specialized function that you are asking for is wrong. Now, I imagine you are attempting to bring a product to market, do you plan in sharing profits with all the people that did your leg work? I thought not.
HI Romonaga ,
I am not developing any product.We are using Intel products on top we are enhancement features.
I will pay for extra support. Do you have any premium support from Intel .
We bought the Edsion board. Generating the revenue by supply and maintain the good relation ship with costumer.
If every thing goes well we will buy thousands of intel Product ,So Your and my organization we gain profits.
This is befit for both.