# US 2013/0159689 A1 · Method and apparatus for initializing embedded device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0159689 A1
- Document ID: US20130159689A1
- Status: Published application
- Kind: A1
- Application number: 13/545,308
- Filed: 2012-07-10
- Published: 2013-06-20
- Earliest claimed: 2011-12-15
- Assignees: Electronics and Telecommunications Research Institute
- Inventors: Ho-Joon Park; Chae-Deok Lim; Dong-Wook Kang; Han-Sung Chun
- Web page: https://patentgrep.com/patent/US20130159689A1

## CPC

- G06F 9/4401: Bootstrapping (security arrangements therefor G06F21/57)
- G06F 9/4411: {Configuring for operating with peripheral devices; Loading of device drivers}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention relates generally to a method and apparatus for initializing an embedded device. When a boot loader is executed and a kernel is loaded, an initialization program is executed, and a booting sequence including information about an operating sequence of a boot process is loaded. Thereafter, initialization functions which are included in a script replacement function module of the embedded device are executed, and then a state of the embedded device is set to a usable state. Accordingly, the method and apparatus can efficiently perform the operations of an initialization program that is used to solve the complexity of the initialization of an OS inevitably appearing on mobile devices and high-performance embedded devices, and an initialization script that is operated to flexibly execute the initialization program on various devices having different characteristics.

## Claims

### Claim 1

A method of initializing an embedded device, comprising:
executing an initialization program when a boot loader is executed and a kernel is loaded;
loading a booting sequence including information about an operating sequence of a boot process;
executing any one of a file system initialization function, a kernel module initialization function, a network configuration function, an application program startup function, and an environment variable setup function, which are included in a script replacement function module of the embedded device, based on the loaded booting sequence; and
setting a state of the embedded device to a usable state.

### Claim 2 (depends on 1)

The method of claim 1, wherein the setting the embedded device to the usable state is configured such that the embedded device is set to the usable state without performing an operation of accessing a file system of the initialization program.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
driving a state controller; and
detecting a change in a system state of the embedded device via the driven state controller, and terminating the initialization program if the change in the system state has been detected.

### Claim 4 (depends on 3)

The method of claim 3, wherein the state controller detects a change in a system state corresponding to any one of a normal state, a power-off state, and a reboot state.

### Claim 5 (depends on 3)

The method of claim 3, wherein the terminating the initialization program comprises, waiting for a predetermined period of time, and then detecting again a change in the system state of the embedded device, if a change in the system state has not been detected.

### Claim 6

An apparatus for initializing an embedded device, comprising:
a startup module including at least one of a file system initialization function execution module, a kernel module initialization function execution module, a network configuration function execution module, an application program startup function execution module, and an environment variable setup function execution module, as an initialization script replacement function module;
a booting sequence control module for loading a booting sequence including information about an operating sequence of a boot process, and controlling that the startup module performs an initialization script replacement function based on the loaded booting sequence; and
an initialization program module for, when a boot loader is executed and a kernel is loaded, executing a function of the startup module via the booting sequence control module, and setting a state of the embedded device to a usable state.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the initialization program module sets the state of the embedded device to the usable state without accessing a file system after the initialization program has been executed.

### Claim 8 (depends on 6)

The apparatus of claim 6, further comprising a state controller for detecting a change in a system state of the embedded device, and terminating the initialization program if a change in the system state has been detected.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the state controller detects a change in a system state corresponding to any one of a normal state, a power-off state, and a reboot state.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein the state controller waits for a predetermined period of time and then detects again a change in the system state of the embedded device if a change in the system state has not been detected.
