--
You received this message because you are subscribed to the Google Groups "Mender List mender.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mender+unsubscribe@lists.mender.io.
To post to this group, send email to men...@lists.mender.io.
Visit this group at https://groups.google.com/a/lists.mender.io/group/mender/.
but we never did try updating from different versions.
-- Eyo Interactive Heistraat 3 5701HG Helmond The Netherlands Tel: 0031 492 317 462 http://www.eyo.nl
On 08-08-18 13:46, Mirza Krak wrote:
Wait, what? Isn't the entire idea to be able to upgrade the entire system? Shouldn't we be making sure upgrading from an OS with version X of Mender to an OS with version Y of Mender works correctly and is tested correctly?but we never did try updating from different versions.
Is there anything we can do to help with that as I would assume being able to do that is a pretty big necessity. Or am I missing something?
--
You received this message because you are subscribed to the Google Groups "Mender List mender.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mender+un...@lists.mender.io.
I would definitely expect certain upgrade paths to be supported by mender. (Not saying its bad that some paths aren't test)Testing this automatically should theoretically be possible with for example a micro-sd card switch, some relay boards, etc. Sounds like a fun project to make possible..
On Wed, Aug 8, 2018 at 1:00 PM, Antonio Santagiuliana <santant...@gmail.com> wrote:HelloI had a Raspberry Pi3 running Roku Yocto + mender 1.4 ( let's call this system 1.4 Pi )I could upgrade this device using mender server 1.4 with a new artifact.Everything was working as expected.Now I have updated my development system to Yocto Sumo , meta-raspberry Pi Sumo and Mender server 1.6.I recreated successfully the image for the same application with these new versions.But when I try upgrade that Raspberry Pi3, that still has 1.4 onboard, with the new artifact for migrating it to the 1.6+Sumo I get the upgrade fails and there is a rollback to previous onboard version.From the log I can see error :update info for deplyment xxxx present , but update flag is not set; running rollback image ( previous active partition )I think that the only setting required to be changed when migrating to 1.6 Sumo was about the MENDER_PARITION_ALIGNMENT theat changed from MENDER_PARTITION_ALIGNMENT_KB =" 4096" to MENDER_PARTITION_ALIGNMENT = "4194304"Anyway if i start with 1.6 flashed on the sd card I can upgrade successfully the image through the mender server to a new artifact, so it looks something incompatible when passing the target from 1.4 to 1.6 upgrading though the mender server.Should mender1.4+Rocku on target be compatible with an upgrade to mender1.6 + Sumo ?Or could it be something different in Uboot that makes this upgrade not possible ?Interesting. Something similar was reported in another thread, that is:update info for deplyment xxxx present , but update flag is not set; running rollback image ( previous active partition )But we never found the root cause, but we never did try updating from different versions. I will have to try a 1.4 -> 1.6 update and analyze closer.
Thank you for your quick response. This is interesting.You say this is not related to the Mender client update from 1.4 to 1.6 but to the update from Rocko to Sumo.I understand this, however the two are actually related, because Mender 1.6 means using Sumo, at least from the docs and Sumo brings in this new Kernel version by default, at least for the Raspberry Pi. Anyway I was trying updating to Sumo because of an issue in Rocko.
In any case the finding is not very good as there could be a situation in which you have many devices already installed and you cannot upgrade them to a most recent version of kernel.Let's say if a security problem or a bug is discovered in the kernel on devices already installed, you have to rely on the availability of a patch for them carried out using Mender, rather than heading to a complete kernel version upgrade, if this implies a kernel incompatibility due to DTB.In the long term this could mean old devices already installed may or may not be fixable, apart if using the last workaround you listed.I will check the differences between the two DT.
Thank you for your quick response. This is interesting.You say this is not related to the Mender client update from 1.4 to 1.6 but to the update from Rocko to Sumo.I understand this, however the two are actually related, because Mender 1.6 means using Sumo, at least from the docs and Sumo brings in this new Kernel version by default, at least for the Raspberry Pi. Anyway I was trying updating to Sumo because of an issue in Rocko.In any case the finding is not very good as there could be a situation in which you have many devices already installed and you cannot upgrade them to a most recent version of kernel.Let's say if a security problem or a bug is discovered in the kernel on devices already installed, you have to rely on the availability of a patch for them carried out using Mender, rather than heading to a complete kernel version upgrade, if this implies a kernel incompatibility due to DTB.In the long term this could mean old devices already installed may or may not be fixable, apart if using the last workaround you listed.I will check the differences between the two DT.
Thank you for your quick response. This is interesting.You say this is not related to the Mender client update from 1.4 to 1.6 but to the update from Rocko to Sumo.I understand this, however the two are actually related, because Mender 1.6 means using Sumo, at least from the docs and Sumo brings in this new Kernel version by default, at least for the Raspberry Pi. Anyway I was trying updating to Sumo because of an issue in Rocko.In any case the finding is not very good as there could be a situation in which you have many devices already installed and you cannot upgrade them to a most recent version of kernel.Let's say if a security problem or a bug is discovered in the kernel on devices already installed, you have to rely on the availability of a patch for them carried out using Mender, rather than heading to a complete kernel version upgrade, if this implies a kernel incompatibility due to DTB.In the long term this could mean old devices already installed may or may not be fixable, apart if using the last workaround you listed.I will check the differences between the two DT.
Not being too familiar with linux kernels and device trees, just my 2 cents here....I did some googling, and [1] suggests that it should be possible to make raspberry kernels without using dtb files. Is this correct?
Would that then solve all (or at least most) of the update issues?
So, what raspberry-like devices are out there which doe support "clean" upgrades and mender?
Specifics, yes please. (Although I'm not meaning to hijack this thread)I'm looking for:- "cheap" boards (raspberry pi range, up to 50-60 US preferrably)- capable of fully-safe updating.- performance specs similar or better- decent usb capabilities
bonus points for (either direct or via expansion):- 24-volt power option- ups-like supportI'm not too familiar with other boards, but if you know of any without digging too deep, i would be happy to hear about that.The software part for pi clones is the same as the pi? (ie, mender/yocto)