We are trying to build a controller based on AM335x with 4GB eMMC, and 256MB RAM using embedded Linux.
As an embedded system, one of the feature required is the ability to do remote upgrade. I found some example online, but they are all based on MTD (Memory Technology Device) operating on RAW flash. However, eMMC is a block device, so I probably should use ext3 instead.
Considering that there might be multiple files changed during software upgrade, kernel, application, scripts, etc. so the easy thing might be replacing all the files on the root file system.
Should I create a partition just for the new firmware, and create scripts to overwrite the file system during firmware upgrade? Is there any existing framework handling this?
Your help are greatly appreciated.
Jing