Boot code patching apparatus and method, medium, device, and system on chip
AssigneeXg Tech Pte. Ltd.
InventorsTao LIN, Wenbin ZHANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeXg Tech Pte. Ltd.
InventorsTao LIN, Wenbin ZHANG
Estimating the term…
Embodiments of the present disclosure disclose a boot code patching apparatus and method, a medium, a device, and a system on chip. A first memory stores a boot code, and a second memory stores preset patch data. The processor reads the boot code from the first memory and executes the boot code; reads the patch data from the second memory in response to the execution proceeding to a first preset instruction; sets a breakpoint for the boot code through a debug control channel based on the patch data, and continues executing the boot code; in response to the execution proceeding to any breakpoint of the boot code, jumps to a patch code corresponding to that breakpoint in the patch data; and in response to execution of the patch code corresponding to the breakpoint being completed, jumps to a return address corresponding to the breakpoint, and continues executing the boot code.
A boot code patching apparatus, comprising:
A boot code patching method, comprising:
A system on chip, wherein the system on chip comprises a boot code patching apparatus, wherein the boot code patching apparatus comprises:
Dependencies are inferred from the claim text.