This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: OTA update of the OS

Part Number: AM5728


Tool/software: Linux

HI All,

We use AM5728 for our devices and we have a filesystem sized 2GB. Being this large filesystem, we have to do the OS updates manually using USB drives.

Since we only have few files that gets modified or added during the updates, I was wondering if there's any well known technique to diff the new files and send them OTA to the devices for the OS update.

I have tried manually diff the modified or new files and zip them and unzip them on the main filesystem after sending the zip OTA.

Is there any other such famous OS OTA update technique?

Thanks,

Divyeshkumar

  • Divyeshkumar,

    I would put the OS files into a git repository, define git tags for each release. 'git log --oneline --stat <old_tag>..<new_tag>' command tells which file has been changed. Then create a script to list those modified/new files and zip them.
  • Hi Bin,

    will this technique eliminate the files that gets different just because of their building time-stamp? Ultimately I want to mark the files those are only generated or modified as a result of the patches applied for that upgrade. Do you think this technique will give same results?

    Thanks,
    Divyeshkumar
  • Divyeshkumar M said:
    will this technique eliminate the files that gets different just because of their building time-stamp?

    No, git uses the difference of the contents, I believe it doesn't use building timestamp at all.

    technically you should be able to use any software Version Control tool to achieve the same. I mentioned git only because I am familiar with it.