Patent ID: 9256744
Filing Date: 2016-02-09
CPC Classification: G06F

Claim Text:
1. A system-on-chip (SoC), coupled to an external memory, the SoC comprising: a read only memory (ROM), storing a first firmware image and a basic booting process; a processor, coupled to the ROM, reading the first firmware image from the ROM, and verifying a state of the first firmware image, wherein when the first firmware image is normal, the processor executes the first firmware image to perform a booting process, when the first firmware image is damaged, the processor reads a second firmware image from the external memory and verifies whether the second firmware image is legal; wherein when the second firmware image is legal, the processor executes the second firmware image to perform the booting process, when the second firmware image is illegal, the processor executes the basic booting process, wherein the ROM has a first storage area, wherein the first storage area stores the first firmware image and first assisting data, wherein the first assisting data comprises device setting information of the SoC and user-defined information related to the first firmware image, wherein the first storage area comprises a chip function storage area, a firmware image storage area and a firmware information storage area, wherein the chip function storage area is for storing the device setting information of the SoC, wherein the firmware image storage area is for storing the first firmware image, wherein the firmware information storage area is for storing the user-defined information related to the first firmware image, wherein the processor reads the first assisting data from the ROM and performs a first setting operation on the SoC according to the first assisting data when the processor executes the first firmware image to perform the booting process, wherein the external memory has a second storage area, wherein the second storage area stores the second firmware image and second assisting data, wherein the processor reads the second assisting data from the external memory and performs a second setting operation on the SoC according to the second assisting data when the processor executes the second firmware image to perform the booting process.