×

Electronic device and method for secure operating system update in embedded system

  • US 8,181,007 B2
  • Filed: 03/03/2009
  • Issued: 05/15/2012
  • Est. Priority Date: 01/14/2009
  • Status: Active Grant
First Claim
Patent Images

1. An electronic device having an embedded system therein, said embedded system comprising:

  • a random-access memory;

    a non-volatile storage unit defining a boot sector, a first sector and a second sector and containing a boot loader in said boot sector, an initialization variable in said boot sector and an embedded operating system in said first sector, wherein said second sector is provided for storing another embedded operating system;

    a processing unit coupled to said random-access memory and said non-volatile storage unit and being capable of instructing said boot loader to perform an operating system loading process and instructing said loaded embedded operating system to operate on the electronic device;

    wherein said operating system loading process includes the following steps;

    (a). checking the current value of said initialization variable; and

    (b). copying said embedded operating system from said first sector of said non-volatile storage unit into said random-access memory if said initialization variable is set at a first value, and copying said embedded operating system from said second sector of said non-volatile storage unit into said random-access memory if said initialization variable is set at a second value; and

    an update program configured to perform an upgrade process including the following steps;

    (a). determining whether a new version embedded operating system is available on a server for download;

    (b). checking a current value of said initialization variable if said new version embedded operating system is available;

    (c). if said initialization variable is set at said first value, overwriting said new-version embedded operating system into said second sector of said non-volatile storage unit, and then resetting said initialization variable to said second value only when said overwrite is complete; and

    (d). if said initialization variable is set at said second value, overwriting said new-version embedded operating system into said first sector of said non-volatile storage unit, and then resetting said initialization variable to said first value only when said overwrite is complete.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×