KR20090017746A - Apparatus and method for checking boot mode in bootting system - Google Patents
Apparatus and method for checking boot mode in bootting system Download PDFInfo
- Publication number
- KR20090017746A KR20090017746A KR1020070082128A KR20070082128A KR20090017746A KR 20090017746 A KR20090017746 A KR 20090017746A KR 1020070082128 A KR1020070082128 A KR 1020070082128A KR 20070082128 A KR20070082128 A KR 20070082128A KR 20090017746 A KR20090017746 A KR 20090017746A
- Authority
- KR
- South Korea
- Prior art keywords
- boot
- group
- interface
- memory
- booting
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/06—Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
- G06F12/0638—Combination of memories, e.g. ROM and RAM such as to permit replacement or supplementing of words in one module by words in another module
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/78—Architectures of general purpose stored program computers comprising a single central processing unit
- G06F15/7807—System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0038—System on Chip
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
Description
The present invention relates to an apparatus and a method for performing a boot process in a booting system, and more particularly, to an apparatus and a method for checking a booting mode in a booting system.
Portable terminals such as mobile terminals, PDAs, and portable multimedia players (PMPs), when powered on, initialize the internal components and transfer so-called application programs (e.g. OS programs) stored in nonvolatile storage to main memory. Have a process.
The booting process includes a preparation operation for operating the system of the portable terminal and a code and data of an operating system and an application program from the auxiliary memory device to the main memory device of the portable terminal. Collective work to prepare the operation.
The portable terminal uses a system on chip (SoC) in which a system for enabling full driving on one chip is embedded.
The system on chip includes all the necessary electronic components with the computer, and the system on chip used for communication may include a microprocessor, a DSP, a RAM and a ROM. The use of such a SoC generally has the advantage that the size of the system is smaller and the assembly process is simplified.
In the case of the system on chip, there are various methods for supporting booting.
First, a method commonly used in the system-on-chip is a method of placing a boot code in a nonvolatile memory such as NOR FLASH, ROM, and the like and placing the memory at address 0, which is a boot region on an address map. NOR Flash or ROM can be directly patched by the microcontroller through the memory controller. Therefore, no action is required for booting.
In addition to NOR Flash or ROM, there are booting methods using various devices such as using a serial flash memory having an SPI interface and using a serial EEPROM having an I2C as an interface. Typically, these devices are connected via a memory controller or IP, but unlike NOR Flash, the microcontroller cannot fetch instructions directly. Therefore, the contents of these devices must be copied to another location where the microcontroller can directly patch.
In another method, an external processor downloads the boot code to the internal memory through the memory slave interface of the chip and proceeds with the boot. In some cases, the internal processor has the code necessary for booting in the form of a ROM. In this case, the external processor notifies the opposing chip with a specific signal when the code download is completed. When this signal is generated, the reset of the chip's microcontroller is released and the booting proceeds with the downloaded code.
The system-on-chip supporting the booting process separately assigns an input pin for determining a boot mode, and selects one booting process among a plurality of booting modes by using an input value for the corresponding pin to perform the booting process. do.
For example, assuming that there are about six ways that the system on chip can boot, as shown in Table 1 below, there are three boot mode input pins, and a boot method is determined according to this input value. .
When a boot mode input value having a low value is input to three pins in the system on chip, a boot process is performed by using a 16-bit NOR flash.
If a boot mode input value having a value of 0 (Low), 1 (High), and 0 (Low) is input to three pins (2, 1, 0) in the system on chip, 16-bit NOR Flash is used. The boot method is used to perform the boot process.
The booting process of the booting system as described above requires a separate input pin for the purpose of determining a boot mode, and increases the package size of the entire chip according to the pin, thereby degrading the competitiveness of the chip.
The present invention is derived to solve the above problems, an object of the present invention to provide an apparatus and method for checking the boot mode to be performed in the boot system.
Another object of the present invention is to provide an apparatus and method for reducing the size of a booting system by checking a boot code by searching each memory group when the booting mode is checked in a booting system.
According to a first aspect of the present invention for achieving the above object, an apparatus for checking a boot mode in a booting system comprises: a plurality of IP (Intellectual Property) groups providing a boot code, and the plurality of IP groups And a boot control unit for accessing and retrieving a boot code, and a system on chip (SOC) control unit for booting by setting an address of a memory in which the boot code exists as a boot area address. .
According to a first aspect of the present invention for achieving the above objects, a method for checking a boot mode in a booting system includes accessing a plurality of IP groups to retrieve a boot code, and an IP in which the boot code exists. And setting a memory address of the group as a boot region address, and booting using the boot code of the boot region address.
As described above, the present invention boots normally without using a separate input pin for confirming a booting method in a conventional booting system as the boot code of an external device capable of performing a booting process in a booting system is searched. By doing this, all boot methods are supported, and the separate input pins can be used for other purposes, thereby miniaturizing the system on a chip.
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In describing the present invention, when it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.
In the following description, an apparatus and method of a booting system for checking a boot mode to be performed will be described.
1 is a block diagram illustrating a configuration of a booting system according to an exemplary embodiment of the present invention.
Referring to FIG. 1, the booting system may include a
The
First, a system on chip (SoC)
That is, the system on
The
That is, the
If the memory including the boot code is checked, the
On the other hand, if it is not possible to check the memory including the boot code, the
The
The
The internal memory connected to the
2 is a flowchart illustrating a boot operation process of a booting system according to an exemplary embodiment of the present invention. When the reset is released, the system on chip (SoC) controller of the booting system performs a booting process using a boot code at address "0", and the memory map of the system bus uses various device addresses as "0". There is a function to set the address. In addition, the boot controller will be described on the assumption that it knows the first code of the boot code and can determine which value is the first part of the boot code.
Referring to FIG. 2, the boot system determines whether a boot process is performed in
In step 205, the booting system searches for the memory of the first group in step 205, and then proceeds to
Herein, the first group is a group of non-volatile memories, and is a group configured to perform a boot process that is commonly used, and the booting system accesses the memory controller of the first group to boot the NOR flash or ROM. You can search the code.
If a boot code is obtained from the first group, the boot system proceeds to
On the other hand, if the boot code is not obtained from the first group, the boot system proceeds to
The second group is a memory group using a NAND Flash memory interface, a serial flash memory using an SPI interface, an I2C interface, and the like. The second group is internal when the boot code exists because the SOC control unit cannot directly execute a command. Copy to memory and save
If it is determined that the device ready for boot code exists, the boot system proceeds to step 219 to copy and store the boot code in internal memory, and then to step 209 to store a memory address where the boot code exists. Is set to "0".
On the other hand, if it is determined that the device prepared with the boot code does not exist, the booting system prepares a booting process using the third group of devices and proceeds to step 217 to check whether the boot code is provided from an external processor.
If the boot code is provided from the external processor, the boot system proceeds to step 219 to store the provided boot code in an internal memory, and then proceeds to step 209 to boot a memory address where the boot code exists. Set to "0" which is the area.
On the other hand, if the boot code is not provided from the external processor, the boot system proceeds to step 211 and sets the address of the embedded ROM to a boot area of "0".
In
Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications are possible without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined not only by the scope of the following claims, but also by the equivalents of the claims.
1 is a block diagram showing the configuration of a boot system according to an embodiment of the present invention;
2 is a flowchart illustrating a boot operation process of a booting system according to an exemplary embodiment of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070082128A KR20090017746A (en) | 2007-08-16 | 2007-08-16 | Apparatus and method for checking boot mode in bootting system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070082128A KR20090017746A (en) | 2007-08-16 | 2007-08-16 | Apparatus and method for checking boot mode in bootting system |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20090017746A true KR20090017746A (en) | 2009-02-19 |
Family
ID=40686312
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070082128A KR20090017746A (en) | 2007-08-16 | 2007-08-16 | Apparatus and method for checking boot mode in bootting system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20090017746A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180007717A (en) * | 2016-07-13 | 2018-01-24 | (주)이더블유비엠 | Soc having double security features, and double security method for soc |
-
2007
- 2007-08-16 KR KR1020070082128A patent/KR20090017746A/en not_active Application Discontinuation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180007717A (en) * | 2016-07-13 | 2018-01-24 | (주)이더블유비엠 | Soc having double security features, and double security method for soc |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1938200B1 (en) | Initialization of flash storage via an embedded controller | |
US7302517B2 (en) | Apparatus and method for controlling execute-in-place (XIP) in serial flash memory, and flash memory chip using the same | |
US6073206A (en) | Method for flashing ESCD and variables into a ROM | |
US6988163B2 (en) | Executing binary images from non-linear storage systems | |
US8296528B2 (en) | Methods and systems for microcode patching | |
KR20070077463A (en) | Method of system booting with a direct memory access in a new memory architecture | |
CN110134446B (en) | Method for starting PCIE equipment scanning | |
US20060174100A1 (en) | System and method of booting an operating system for a computer | |
JP2014519662A (en) | Managing the impact of device firmware updates from the host perspective | |
WO2015154538A1 (en) | Memory booting method and device | |
TW201918888A (en) | Method for accessing flash memory module and associated flash memory controller and electronic device | |
WO2013096589A1 (en) | Auxiliary card initialization routine | |
US20090013167A1 (en) | Computer device, method for booting the same, and booting module for the same | |
CN110297726B (en) | Computer system with serial presence detection data and memory module control method | |
CN113900582A (en) | Data processing method and corresponding data storage device | |
KR101620349B1 (en) | Bootable volatile memory appratus, memory module having it, and processing system, and method for booting processing system using it | |
KR20090017746A (en) | Apparatus and method for checking boot mode in bootting system | |
US20240176887A1 (en) | Method for Running Startup Program of Electronic Device, and Electronic Device | |
JP2008065725A (en) | Nand flash memory device, and activation method of computing system using the same | |
US20040255075A1 (en) | Apparatus and method for flash ROM management | |
US11989435B2 (en) | Re-partitioning of a flash memory device | |
US6601163B1 (en) | Method and system for executing adapter configuration routines utilizing different operating modes | |
US20240184454A1 (en) | Storage device and operating method of the same | |
US20230298684A1 (en) | Memory system and information processing system | |
CN115328504A (en) | Improved design method for ZYNQ series chip boot start |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |