| Now the product has been deeply embedded in every corner around us, it has played a great role in promoting for our production and life. The wide range of embedded products have an array of different features, but they also have some common ground, that generally have upgraded features. The rapid development in technology today, the number of hardware IC transistors are exponentially according to Moore’s Law, and the software is also moving forward iteration, so after a product launch, it must be upgraded with time goes. This update corrected BUG that didn’t found before, or add new features based on user demand, or increase the user experience and stability. In the upgrade function, this paper mainly focus on how to achieve large area of embedded products that, security and stability upgrades.This paper described the design process and specific implementation that based on Linux kernel upgrade features and bootloader upgrade. The kernel upgrade using the concept of backup area, that ensure that after the anomaly upgrade, it can handle normal business. For upgrading under the bootloader, The required FLASH space reduced exponentially,So that saved the cost effective for the manufacturer. Embedded products are often shipped up to more than 100000 orders of magnitude, some more than millions of scale, even if each product save 1 cents, in the large base of support, the cost savings is very considerable.The main design and implementation of software engineering processes are in accordance with the needs analysis, outline design, detailed design and tests. The arrangement of each chapter is mainly according to the process to write.There are some flow chart of the system used for understanding and explanation in the outline design and detailed design part.In this thesis,there are detailed introduces the realization of the core code and source code, as well as the screenshot after the detailed design.I also consider the code reusability, maintainability and robustness, and the overall efficiency.In terms of code writing.In this thesis, i have find the way to effective solution to the problem of security upgrades laying a large area of embedded products, through the realization of the remote upgrade function. It enhances the ability to resist the force majeure(when upgrading power failure, etc.), greatly reducing the risk to upgrade and enhance the fault tolerance of the system upgrade, That even if there is an unexpected failure, the system can still be part of the normal business process, while automatically seek to upgrade again. Due to the upgrade fails, the system can start normally, this ability can avoid the various embedded devices from various laying points return factory action and greatly reduces the cost of upgrading. |