1

want to do OTA(Over The Air) updates in my raspberry pi. I have seen alot of services on the internet like mender.io, but they are all quite expensive. Is there any easy/less expensive way to do OTA updates in my RPI? for example i have 2 partitons in my RPI. In one partition my current OS is running and now i download the updated OS and would like to install it on 2nd partition. If the installtion get completed without any problem then the bootloader will boot the partition from this partition next time.

Can somebody guide me how can this be achieveable? Thanks a lot!

  • This would be a feature of the operating system itself. Since most or all of the linux distros commonly used on the Pi have it intrinsically (eg. on Raspbian apt update; apt upgrade), it's not clear what you are looking for... – goldilocks Feb 3 at 15:49
  • do you know what does OTA means? whoever would know the answer knows really well what i am asking here. I dont get it why people close the post without even asking.. – Hsn Feb 4 at 16:09
  • I was asking; the question can be re-opened. If there's a reason for closing a question, it is closed. It's then up to the OP to fix what is wrong, and not the other way around. Ie., You are not asked to "fix this or I will close the question". So: You need to provide a definition of over the air update which excludes normal package managers (eg., if you want to update software that is not provided by the distro -- but note this is likely off-topic here as the brand of hardware is unlikely to be relevant). You can use as many online references as you like. – goldilocks Feb 4 at 17:26
  • 2
    Again, the idea of OTA updates that store a full copy of a firmware in a partition and then boot from that is for cases where the device only runs one piece of code (microcontroller). For two reasons. 1) it cant update its code while running. 2) it needs to be able to fall back in the event of an incomplete download or corrupt data. Again this is all handled by apt-get and other package managers so just go ahead and automate them. – Chad G Feb 5 at 22:29
  • 2
    Hawkbit + rauc (or) swupdate might be a solution – Fl0v0 Feb 12 at 16:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.