Method and apparatus for booting processor
AssigneeFreescale Semiconductor, Inc.
InventorsPriti Sahu, Poonam Aggrwal, Prabhakar Kushwaha, Ankit Pal
Life of this patent
Estimating the term…
Abstract
A fail-safe booting system suitable for a system-on-chip (SOC) automatically detects and rectifies failures in power-on reset (POR) configuration or boot loader fetch operations. If a failure due to a boot loader fetch occurs, a POR configuration and boot loader are fetched from a different non-volatile memory. The reloading takes place from further different non-volatile memory sources if the boot loader fetch fails again. The automated system operates in accordance with a state machine, and does not involve any manual, on-board switch selection or manual re-programming.
Claims12
An apparatus for booting a processing system, wherein the processing system includes a system memory and at least two memory devices, the at least two memory devices for storing a power-on reset (POR) configuration and a boot loader, the apparatus comprising:
- an error detector for detecting a failure of a POR configuration fetch operation and a failure of a boot loader fetch operation;
- and
- a loader, coupled to the error detector, for fetching a POR configuration from one of the at least two memory devices if a failure in a POR fetch operation from another of the at least two memory devices has been detected, and for fetching a boot loader from one of the at least two memory devices if a failure in a boot loader fetch operation from another of the at least two memory devices has been detected, and for transferring the fetched boot loader from the one of the at least two memory devices to the system memory.
An integrated circuit, comprising:
- a system memory;
- at least two non-volatile memory devices for storing a power-on reset (POR) configuration and a boot loader;
- and
- a state machine for detecting a failure of a POR configuration fetch operation and a failure of a boot loader fetch operation, and for fetching a POR configuration from one of the non-volatile memory devices if a failure in a POR fetch operation from another of the non-volatile memory devices is detected, and for fetching a boot loader from one of the non-volatile memory devices if a failure of a boot loader fetch operation from another of the non-volatile memory devices is detected, and for transferring the fetched boot loader from the one of the non-volatile memory devices to the system memory.
A method for booting a processing system that includes a system memory and at least two memory devices for storing a power-on reset (POR) configuration and a boot loader, the method comprising:
- fetching a POR configuration from one of the at least two memory devices;
- detecting a failure of the fetching of the POR configuration;
- performing a further POR configuration fetch operation from the other of the at least two memory devices;
- fetching a boot loader from one of the at least two memory devices;
- detecting a failure of the fetching of the boot loader;
- performing a further boot loader fetch operation from the other of the at least two memory devices;
- and
- transferring the fetched boot loader from the one of the at least two memory devices to the system memory.
Dependencies are inferred from the claim text.