KR20070089399A - Method for booting control of digital store apparatus - Google Patents

Method for booting control of digital store apparatus Download PDF

Info

Publication number
KR20070089399A
KR20070089399A KR1020060019377A KR20060019377A KR20070089399A KR 20070089399 A KR20070089399 A KR 20070089399A KR 1020060019377 A KR1020060019377 A KR 1020060019377A KR 20060019377 A KR20060019377 A KR 20060019377A KR 20070089399 A KR20070089399 A KR 20070089399A
Authority
KR
South Korea
Prior art keywords
loading
boot
image
progress
digital storage
Prior art date
Application number
KR1020060019377A
Other languages
Korean (ko)
Inventor
이상백
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020060019377A priority Critical patent/KR20070089399A/en
Publication of KR20070089399A publication Critical patent/KR20070089399A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]

Abstract

A booting control method in a digital storage apparatus is provided to integrate an existing bios and a boot loader into one ROM(Read Only Memory), thereby simplifying system configuration and reducing a product price. A booting control method in a digital storage apparatus comprises the following steps of: performing a POST(Power On Self Test) when power is applied to the digital storage apparatus(S100,S102); performing a boot loader after performing the POST(S104); and generating information expressing that the loading performance is proceeded until the loading is completed, and displaying the generated information(S114).

Description

디지털 저장장치의 부팅 제어방법{Method for booting control of digital store apparatus}Method for booting control of digital store apparatus

도 1은 본 발명 실시 예에 따른 디지털 저장장치에서 하나의 롬에서 바이오스와 부트로더의 수행 과정을 나타내는 흐름도.1 is a flowchart illustrating a process of performing a BIOS and a boot loader in a ROM in a digital storage device according to an exemplary embodiment of the present invention.

도 2는 본 발명 실시 예에 따른 도 1을 설명하기 위한 화면예시도.Figure 2 is a screen example for explaining Figure 1 according to an embodiment of the present invention.

도 3는 본 발명 실시 예에 따른 디지털 저장장치에서 자체 진단 과정을 나타내는 흐름도.3 is a flowchart illustrating a self-diagnosis process in a digital storage device according to an embodiment of the present invention.

도 4는 본 발명 실시 예에 따른 디지털 저장장치에서 부트로더의 구성을 나타내는 흐름도.4 is a flowchart illustrating a configuration of a boot loader in a digital storage device according to an embodiment of the present invention.

도 5는 본 발명 실시 예에 따른 디지털 저장장치에서 스프래쉬 스크린의 예를 나타내는 예시도.5 is an exemplary view illustrating an example of a splash screen in a digital storage device according to an exemplary embodiment of the present invention.

본 발명은 디지털 저장장치에서 바이오스(Bios)와 부트로더(Boot Loader)를 하나의 롬(Rom)에 구현하는 방법에 관한 것이다.The present invention relates to a method for implementing a BIOS and a boot loader in a single ROM in a digital storage device.

기본적으로 대부분의 디스플레이 장치에는 전원이 인가된 후 오퍼레이션 시스템(operation system;OS)이 실행되기 전까지 시스템에 따라 다소의 시간적인 공백이 작게는 몇 10초에서 몇 분 정도가 발생하게 된다.Basically, some display apparatuses have a small time gap of 10 to several minutes depending on the system after the power is applied and before the operation system (OS) is executed.

예를 들어 윈도우즈(Windows)를 OS로 사용하는 피시(personal computer:PC)등의 기기에서 살펴보면,For example, on a device such as a personal computer (PC) using Windows as an OS,

윈도우즈(Windows)의 로고(Logo)이미지를 화면에 디스플레이하고 OS의 로딩 정도를 나타내는 스테이터스 바(Status Bar)도 화면에 출력을 한다.It displays a logo image of Windows on the screen and also outputs a status bar indicating the loading level of the OS.

이렇게 함으로써, 사용자들이 현재 상태를 쉽게 인지할 수 있고, 진행 정도를 알 수 있어 여러 가지 편의성이 제공되고 있다.By doing so, the user can easily recognize the current state and know the progress, and various conveniences are provided.

피시(PC)에서 윈도우 화면이 뜨는 과정은 전원이 인가되면 바이오스(Basin Input Output System;BIOS)에서 시스템의 구성장치를 검색하고 초기화 작업을 한다.The process of popping up a window screen on the PC (PC), when the power is applied, the BIOS (Basin Input Output System) (BIOS) searches for the system's components and initializes.

이때, 에러가 발생 되면 사용자에게 메시지(Message)를 출력하고, 부팅매체의 검색을 통해 해당하는 운영체제를 부팅 하게 된다.At this time, if an error occurs, a message is output to the user and the corresponding operating system is booted through the search of a booting medium.

피씨에서 주로 사용하는 바이오스는 어워드(AWARD)나 피닉스(Phoenix bios) 인데 그 제작회사에 따라 진행 순서가 조금씩 다르지만 일반적으로 다음과 같은 과정을 따르게 된다.The bios used by PCs are AWARD or Phoenix bios. The process is slightly different depending on the manufacturer, but generally the following process is followed.

전원이 인가되면 씨피유 테스트(cpu test)를 하는데 CPU는 모든 데이터처리와 주변 장치들간 흐름을 제어하는 역할을 하는 것으로 바이오스는 제일먼저 CPU의 에러 플래그(Error Flag)들을 체크하고 내부의 임시기억장치인 레지스터의 이상 여부를 체크 한다.When the power is applied, the CPU test is performed. The CPU controls all data processing and the flow between peripheral devices.Bios first checks the CPU's error flags and checks the internal temporary storage device. Check for abnormal registers.

그 다음, 기본 콘트롤러들을 초기화 하는데, DMA 콘트롤러, NMI 콘트롤러, PIC(programmable interrupt controller), PIT(programmable interval timer)의 기능을 초기화하고 키보드를 초기화한다.It then initializes the basic controllers, initializing the functions of the DMA controller, the NMI controller, the programmable interrupt controller (PIC), the programmable interval timer (PIT), and the keyboard.

그 이후, 롬 바이오스 테스트, 시모스 램(CMOS RAM)테스트, 메모리 테스트를 한다.After that, we do a ROM BIOS test, a CMOS RAM test, and a memory test.

롬 칩의 물리적인 손상이나 내부 데이터의손상이 있는지를 판단하기 위해 체크섬(checksum)검사를 하며 체크섬 에러(checksum Error)가 발생하면 바이오스를 업그레이드하거나 롬칩을 교체해야 한다.To check the ROM chip for physical damage or internal data, checksum check is performed. If a checksum error occurs, the BIOS must be upgraded or the ROM chip replaced.

시모스 램은 부팅시 롬 바이오스 동작 후 현재 시스템의 설정환경을 구축하는 값을 가지고 있는 기억장치로 시간, 하드디스크상태, 암호, 부팅순서, CPU상태등을 저장한다.The system RAM is a memory device that has a value that establishes the configuration of the current system after the ROM BIOS operation at boot. It stores time, hard disk state, password, boot order, and CPU state.

메모리의 처음 256KB영역을 검사하여 램칩의 결함이나 뱅크의 결함이 있는지 테스트한다.Examine the first 256KB of memory and test for RAM chip defects or bank defects.

다음으로는 캐쉬, 아이브이티(Interrupt Vector Table;IVT), 키보드 등의 초 기화 작업을 하는데, 메인 보드의 노스 브리지(North brigde)칩셋과 연결되는 외부 캐시메모리를 활성화하며, IVT를 초기화하고 램의 첫 부분에 IVT가 설치된다.Next, it initializes cache, Interrupt Vector Table (IVT), keyboard, etc. It activates external cache memory connected to North Bridge chipset on main board, initializes IVT, IVT is installed at the beginning.

그리고, 키보드의 경우 넘락(NUM Lock)키가 작동되는 상태로 초기화 한다.In the case of the keyboard, the NUM lock key is activated.

또한, 그래픽 카드 테스트와 PIC 및 EISA(Enhanced Industrial System Architecture)체크, 두 번째 메모리 테스트를 하는데, 그래픽 카드의 회로기능과 그래픽카드 내부의 메모리를 테스트 한다.In addition, a graphics card test, a PIC and an Enhanced Industrial System Architecture (EISA) check, and a second memory test are used to test the circuit function of the graphics card and the memory inside the graphics card.

인텔의 8295와 같은 PIC칩의 기능을 테스트하고, EISA정보가 들어있는 CMOS의 확장영역을 테스트하여 EISA Adapter 및 슬롯을 초기화 하고 EISA Adapter의 메모리를 검사한다.It tests the functionality of PIC chips, such as Intel's 8295, tests the CMOS area containing EISA information, initializes the EISA Adapter and slots, and checks the memory of the EISA Adapter.

메모리의 처음 256KB상위 모든 영역을 1Block(64KB)씩 읽어들여 총 메모리 사이즈를 계산하고, 해당영역에 읽기와 쓰기 테스트를 통해 메모리의 이상 여부를 테스트한다.The total memory size is calculated by reading 1 block (64KB) of all the first 256KB of memory, and the memory is tested by reading and writing tests in the corresponding area.

다음으로는 캐시 컨트롤러의 초기화 및 쉐도우 램(shadow ram)초기화를 하는데, 캐시 컨트롤러를 enable하고 CMOS SETUP의 설정여부에 따른 Shadow ram의 기능을 사용 가능하게 한다.Next, the cache controller is initialized and the shadow ram is initialized. The cache controller is enabled and the shadow ram function is enabled depending on whether or not CMOS SETUP is set.

그 이후, 각종 드라이브를 검색하는데, 대부분 Floppy, 하드디스크, 시디롬등의 드라이브를 검색하고 점검한다.After that, it searches for various drives, most of which search for and scan drives such as Floppy, hard disk, and CD-ROM.

최근의 모든 PC는 바이오스 부팅과정 중 PCI기반의 플러그 앤 플레이(PNP)장치를 검색하고 사용 할 수 있게 하는 과정이 진행 된다.All modern PCs are in the process of discovering and using PCI-based Plug and Play (PNP) devices during the BIOS boot process.

그 과정은 먼저 사용가능한 장치의 IRQ, DMA, I/O ADDRESS등 장치를 사용하 기 위해 필요한 리소스 테이블을 작성하고, PCI와 ISA버스를 통한 PNP와 non-PNP장치를 검색하며, 비 휘발성 메모리인 ESCD(Extended System Configuration Data)영역에 저장된 데이터와 현재 검색한 데이터를 비교하여 동일하면 부팅을 계속 진행하고 다르면 새로운 값을 써주게 된다.The process first creates a resource table for using devices such as IRQ, DMA, I / O ADDRESS of available devices, searches for PNP and non-PNP devices through PCI and ISA buses, It compares the data saved in the ESCD (Extended System Configuration Data) area with the currently retrieved data and proceeds with booting if it is the same and writes a new value if different.

그리고 최종적으로 새로 설치되거나 변경된 장치의 사용을 위해 리소스를 할당하고 확인한다.Finally, allocate and verify resources for use of newly installed or changed devices.

PASSWORD표시 및 지금까지 변경된 사항을 CMOS RAM에 기록하고 롬바이오스를 가진 다른장치를 초기화 한다.The PASSWORD display and changes made so far are written to the CMOS RAM and initialized with other devices with ROMbios.

DMI(desktop management interface) 테이블을 화면에 디스플레이하고, 부팅할 부트로드를 찾아 운영체제의 부팅을 시작한다.Display the desktop management interface (DMI) table, find the bootload to boot, and start the operating system to boot.

이러한 과정을 거치는 PC의 경우와 달리 WinPVR같은 임베디드 시스템에서는 바이오스와 같은 기능의 Mini Bios를 사용하고 OS loading을 위한 부트로더(Boot loader;BLDR)를 OS이미지와 함께 하드디스크에 저장한다.Unlike PCs that go through this process, embedded systems such as WinPVR use Mini Bios with functions such as BIOS and store a boot loader (BLDR) for OS loading on the hard disk along with the OS image.

Mini Bios는 최종적으로 하드디스크를 읽어서 부트로더를 수행하여 OS를 로딩하거나 하드디스크의 마스터부트레코드(Master Boot Record;MBR)를 읽어 직접 OS 이미지를 로딩할 수 있을 것이다.Mini Bios will be able to read the hard disk and run the boot loader to load the OS or load the OS image directly by reading the Master Boot Record (MBR) of the hard disk.

첫 번째 방법은 OS로딩 전에 OS의 security Check와 같은 안전장치를 부트로더에 구현하여 좀 더 안정적인 시스템관리가 가능하고, 스프레시 스크린(Splash Screen)같은 Logo화면 출력도 구현할 수 있을 것이다.The first method is to implement safety devices such as the OS's security check in the boot loader before loading the OS for more stable system management, and to implement the logo screen output such as the splash screen.

하지만, 이렇게 구현하더라도 부트로더가 하드디스크에 저장되어 있으므로 하드디스크의 특성상 안정성이 높지 않기 때문에 위험요소가 있고, 두 번째 방법은 OS 로딩 될 때까지 이미지의 크기에 따라 약 1분 정도 소요되는 시간을 기다려야 하는 문제가 발생한다.However, even with this implementation, the boot loader is stored on the hard disk, so the stability is not high due to the characteristics of the hard disk, and the second method takes about 1 minute depending on the size of the image until the OS is loaded. You have to wait.

본 발명의 제 1 목적은 임베디드 시스템에서 주로 바이오스와 부트로더가 분리된 것을 하나의 롬에서 통합하여 구현함으로써 시스템을 간소화하는 방법을 제공함에 있다.A first object of the present invention is to provide a method for simplifying a system by integrating and implementing a BIOS and a boot loader separated in one ROM in an embedded system.

본 발명의 제 2 목적은 OS로딩 전에 여러 가지 시스템의 상태와 에러 메시지 또는 오류로 인한 대처방법 등을 화면에 디스플레이하여 사용자가 쉽게 사용할 수 있는 방법을 제공함에 있다.It is a second object of the present invention to provide a method which can be easily used by a user by displaying various system states and error messages or countermeasures caused by errors before loading the OS.

본 발명의 제 3 목적은 WinCE OS를 사용하는 시스템에서 전원이 인가된 후 OS를 로딩하기 전까지 다소의 시간이 소요되므로 시스템의 상태와 진행상황을 화면에 출력하여 사용자가 직관적으로 알 수 있도록 하는 방법을 제공함에 있다.The third object of the present invention is to take some time before loading the OS after the power is applied in the system using the WinCE OS method to output the system status and progress on the screen so that the user can intuitively know In providing.

상기한 목적 달성을 위한 본 발명에 OS(Operrating System)를 탑재하여, OS 기반으로 디지털 데이터 처리가 이루어지는 임베디드(Embeded) 디지털 저장장치에서, 디지털 저장장치에 전원이 인가되면 POST(Power On Self Test)를 수행하는 단계; 상기 POST 수행 후, 부트 로드(Boot Loader)를 수행하는 단계; 로딩 완료 전까 지 로딩 수행이 진행 중임을 표현하는 정보를 생성하여 디스플레이하는 단계를 포함하는 것을 특징으로 하는 디지털 저장장치의 부팅 제어방법을 제공한다.In an embedded digital storage device in which an OS (Operrating System) is mounted in the present invention for achieving the above object, and digital data processing is performed based on the OS, a power on self test (POST) is applied when power is applied to the digital storage device. Performing; Performing a boot load after the POST; It provides a boot control method for a digital storage device comprising the step of generating and displaying information representing that the loading is performed until the loading is completed.

상기 로딩 수행이 진행 중임을 표현하는 정보는 OS 이미지인 것을 특징으로 한다.The information representing that the loading is in progress is characterized in that the OS image.

상기 로딩 수행이 진행 중임을 표현하는 정보로 루트 디렉토리에서 NK.bin 이미지를 로딩하여 디스플레이하는 것을 특징으로 한다.The NK.bin image is loaded from the root directory and displayed as information representing that the loading is in progress.

상기 로딩 수행이 진행 중임을 표현하는 정보로 루트 디렉토리에서 NK.bin 이미지를 검색하여 정상적으로 인가(sign)된 이미지인지의 여부를 판별하고, 상기 판별 결과에 따라 해당 이미지를 로딩하여 디스플레이하거나 백업(backup) 이미지를 로딩하여 디스플레이하는 것을 특징으로 한다.The NK.bin image is searched in the root directory as the information representing that the loading is in progress, and whether the image is normally signed is determined, and the image is loaded and displayed or backed up according to the determination result. ) To load and display an image.

상기 로딩 수행이 진행 중임을 표현하는 정보는 로딩 진행율을 표현하는 것을 특징으로 한다.The information representing that the loading is in progress is characterized in that the loading progress rate.

상기 로딩 수행이 진행 중임을 표현하는 정보로, 시스템 상태, 에러 메시지, 에러 대처방법 중의 적어도 어느 하나 이상의 정보를 더 포함하여 디스플레이하는 것을 특징으로 한다.The information representing that the loading is in progress is further characterized in that the display further comprises at least one information of a system state, an error message, and an error handling method.

상기 부팅을 위한 롬 바이오스(ROM BIOS) 및 부트 로드(Boot Loader)는 하나의 부트 롬(Boot ROM)에 탑재된 것을 특징으로 한다.The ROM BIOS and the boot loader for booting may be mounted in one boot ROM.

상기와 같은 본 발명 실시 예에 따른 저장매체가 구비된 임베디드 시스템에서 바이오스와 부트로더를 하나의 롬에 구현하는 방법에 대하여 첨부된 도면을 참 조하여 설명하면 다음과 같다.Referring to the accompanying drawings, a method for implementing a BIOS and a boot loader in one ROM in an embedded system having a storage medium according to an embodiment of the present invention as described above will be described.

도 1은 본 발명 실시 예에 따른 디지털 저장장치에서 하나의 롬에서 바이오스와 부트로더의 수행 과정을 나타내는 흐름도이다.1 is a flowchart illustrating a process of performing a BIOS and a boot loader in a ROM in a digital storage device according to an exemplary embodiment of the present invention.

도 1을 참조하면, 사용자가 부팅 하기 위해 전원을 인가하면(S100), POST 과정을 수행한다(S102).Referring to FIG. 1, when a user applies power to boot (S100), a POST process is performed (S102).

상기 POST는 시피유(CPU)를 비롯하여 바이오스 내용의 검사, 시모스(CMOS) 내용의 검사, 디엠에이(Directory Memory Access;DMA), 키보드(Keyboard), 메모ㄹ리(Memory), 비디오 카드(Video Card)등 각종 하드웨어 장치들에 대한 이상 유무 검사가 이루어진다.The POST can be used to inspect the contents of the BIOS, including the CPU, the inspection of the contents of the CMOS, the directory memory access (DMA), the keyboard, the memory, the video card, and the like. Various hardware devices are checked for abnormalities.

또 이 과정에서 각종 하드웨어 장치들의 초기화가 행해지는데 이는 정상적인 동작을 위해 필수적으로 거치는 작업이다.In this process, various hardware devices are initialized, which is essential for normal operation.

상기 POST작업이 완료되면 부트로더의 처음위치로 이동을 하여 부트로더의 수행을 시작한다(S104).When the POST operation is completed, the boot loader moves to the initial position of the boot loader (S104).

상기와 같이 부팅 장치들에서 읽어낸 내용 역시 명령어들로 도스(DOS)나 윈도우(Windows)등의 OS(operation system)가 그것인데, 임베디드 PVR 시스템에서는 Window CE가 적용된다.As described above, the contents read from the boot devices are also operating systems (DOS) such as DOS or Windows, and Windows CE is applied to an embedded PVR system.

이렇게 OS를 읽어내는 부분을 부트로더라고 하는데, 부팅 장치들 역시 일정하게 위치해 OS의 기동을 위한 데이터들이 위치하도록 규격화되어 있다.The part that reads the OS is called a boot loader. The boot devices are also regularly positioned so that data for starting the OS is located.

이 과정에서 롬 바이오스의 역할은 OS와 하드웨어 장치들의 중계 역할을 맡 게 되어 있다.The role of ROM BIOS in this process is to serve as a relay between the OS and hardware devices.

하드웨어들은 제조회사마다 그 성능과 구조가 완전히 일치하는 것이 아니다. 따라서, 하드웨어의 종류에 따라 제어하는 방법이 다를 수 있는데 롬 바이오스에 의한 중계가 없다면 OS가 모든 하드웨어에 맞도록 제어할 준비를 해야한다.Hardware does not necessarily match the performance and structure of each manufacturer. Therefore, the control method may be different depending on the type of hardware. If there is no relay by the ROM BIOS, the OS should be prepared to control the hardware.

또, OS상에서 동작하는 각종 응용 프로그램에서 하드웨어를 제어하고자 한다면 응용 프로그램의 프로그래머들은 각종의 하드웨어에 일일이 직접적인 명령을 해야 한다.In addition, if you want to control the hardware from various applications running on the OS, the programmers of the application program must directly command the various hardware.

따라서, 하드 디스크 드라이브의 마스터 부트 레코드(MBR)과 파티션 부트 레코드(PBR)에 대한 분석을 시작한다(S106).Therefore, analysis of the master boot record (MBR) and the partition boot record (PBR) of the hard disk drive is started (S106).

루트 디렉토리에서 Load Image(NK.bin)를 위한 부팅영역의 NK.bin을 검색한다(S108).Search for NK.bin in the boot area for Load Image (NK.bin) in the root directory (S108).

부팅영역의 NK.bin을 찾아 정상적으로 사인(Sign)된 이미지인지를 시크러티 체크(Security Check)를 통해 확인한다(S110).Look for NK.bin in the boot area and check whether the image is normally signed through a security check (S110).

상기 판단결과, 정상적으로 인증되었다면 NK.bin을 실행하고(S112), 정상적으로 인증되지 않거나 기타 문제가 있을 때는 파티션 영역의 백업(Backup)용 OS이미지를 사용하거나 Rebooting을 통해 미리 준비된 초기 출하상태의 OS이미지(NK_F.bin)를 로딩할 수 있도록 사용자에게 화면으로 안내한다(S114).As a result of the determination, if it is normally authenticated, it executes NK.bin (S112), and when it is not normally authenticated or there is another problem, use the OS image for backup of the partition area or prepare the OS image of the initial shipment state prepared in advance through rebooting The user is guided to the screen to load (NK_F.bin) (S114).

도 2는 본 발명 실시 예에 따른 도 1을 설명하기 위한 예시도 이다. 2 is an exemplary diagram for describing FIG. 1 according to an exemplary embodiment of the present invention.

도 2를 참조하면, 두 번 이상 OS로딩에 실패했다면 NK.bin이 손상된 것이므로 출하모드로 재부팅을 안내하는 메시지를 출력하여 출하 상태의 기본 이미지인 NK_F.bin을 로딩할 수 있도록 안내한다.Referring to FIG. 2, if the OS fails to be loaded more than once, the NK.bin may be damaged, and thus a message indicating a reboot to the shipment mode is output to guide the loading of the default image NK_F.bin.

현재 저장매체가 구비된 임베디드 시스템의 초기 출하상태의 OS 이미지인 NK_F.bin을 로딩하는 방법은 부팅(Booting)시 프론트 패널(Front Panel)의 로컬 키(Local Key)를 사용자가 눌러서 로딩할 수 있으며, 필요에 따라 가이드(Guide)정보나 유저 셋업(User Setup)등의 사용자 설정들을 초기화하기 위해서 유저 리셋(User reset)기능을 제공한다.The way to load NK_F.bin, the initial OS image of the embedded system equipped with the current storage media, can be loaded by pressing the local key of the front panel when booting. If necessary, the user reset function is provided to initialize user settings such as guide information or user setup.

도 3는 본 발명 실시 예에 따른 디지털 저장장치에서 자체 진단 과정을 나타내는 흐름도이다.3 is a flowchart illustrating a self-diagnosis process in a digital storage device according to an embodiment of the present invention.

도 3을 참조하면, 전반적으로 PC 바이오스의 기능과 유사하지만 임베디드 시스템의 특성상 최소한의 동작으로 최적화(optimize)하여 사용하며 기본적인 시스템의 컴포넌트(conponent)를 초기화하고 에러를 체크 한다.Referring to FIG. 3, the overall function is similar to that of a PC BIOS. However, due to the characteristics of an embedded system, the system is optimized and used with minimal operation. The basic system components are checked and errors are checked.

먼저, 시스템이 최초로 전원이 인가되거나 재부팅 할 때(S300) 시스템을 초기화하는 단계로서, 부팅을 시도하는 경우 따라 웜 부트(warm boot)와 콜드 부트(cold boot)로 구분되며 안전모드(Protected Mode)로 전환한다(S302).First, the system initializes the system when the system is first powered on or reboots (S300). The boot mode is divided into a warm boot and a cold boot according to a case of attempting a boot, and is a protected mode. Switch to (S302).

다음 단계는 시스템을 구성하는 컴포넌트들의 초기화를 하는 단계로 메인 메모리와 메모리 컨트롤러, 기본적인 동작을 위한 프로세서의 초기화, 모니터링을 위한 시리얼 포트나 80h 포트등의 출력 포트들 및 주요 칩셋들의 초기화가 이루어진다(S304).The next step is to initialize the components constituting the system. The main memory and the memory controller, the initialization of the processor for basic operation, the output ports such as the serial port and the 80h port for monitoring and the main chipset are initialized (S304). ).

마지막으로, OS 로딩에 필요한 상태를 준비하는 단계로 마이크로코드 (Microcode)를 로딩하고, 컨트롤 캐싱(control Caching), 이누머레이트(enumerate) PCI 디바이스, 옵션 롬 실행, IDE 엑세스등의 작업이 이루어진다(S306).Finally, in preparation for the state necessary to load the OS, the microcode is loaded, control caching, enumerate PCI devices, option ROM execution, IDE access, etc. S306).

도 4는 본 발명 실시 예에 따른 디지털 저장장치에서 부트로더의 구성을 나타내는 흐름도이고, 도 5는 본 발명 실시 예에 따른 스플래쉬 스크린의 예를 나타내는 예시도 이다.4 is a flowchart illustrating a configuration of a boot loader in a digital storage device according to an exemplary embodiment of the present invention, and FIG. 5 is an exemplary diagram illustrating an example of a splash screen according to an exemplary embodiment of the present invention.

도 4를 참조하면, POST 과정을 통해 기본적인 OS 부팅을 위한 시스템의 준비과정을 마친 후 실제 부팅 할 OS의 이미지를 찾고 그 이미지의 사용 가능 여부를 판단하며 문제가 발생되었을 때 화면을 통해 그 정보를 출력하거나 해결방법을 알려 준다.Referring to Figure 4, after completing the preparation process of the system for the basic OS boot through the POST process, find the image of the OS to actually boot, determine the availability of the image and when the problem occurs the information through the screen Print out or tell the solution.

그리고 OS가 로딩하기 전까지 일정시간의 부팅타임이 존재하므로 이 시간 동안 OS 로딩 정도를 나타내는 스테이터스 바(Status Bar)나 제조사의 로고 같은 것을 디스플레이하여 사용자가 시스템의 상태를 직관적으로 알 수 있도록 구현할 수 있다.And since there is a certain boot time before the OS loads, the user can intuitively know the system status by displaying a status bar or the manufacturer's logo indicating the OS loading during this time. .

저장매체가 구비된 임베디드 시스템에서 부트로더의 세부구성을 설명하면 다음과 같다.The detailed configuration of the boot loader in the embedded system having a storage medium is as follows.

맨 처음 POST과정에서 하드웨어적인 시스템이 초기화되고 스플래쉬 스크린을 출력하기 위해서는 그래픽 컨트롤러의 초기화가 이루어진다(S400).In the first POST process, the hardware system is initialized and the graphics controller is initialized to output the splash screen (S400).

그 다음 사용자에 의해서 선택된 디스플레이 장치에 맞는 해상도(Composet, 480i, 480P)를 결정한다(S402).Next, a resolution (Composet, 480i, 480P) suitable for the display device selected by the user is determined (S402).

그에 맞는 출력 포멧을 해당 칩셋에 세팅하는 그래픽 컨트롤러 세팅 과정을 거친다(S404).A graphic controller setting process of setting an output format corresponding to the chipset is performed (S404).

그래픽 컨트롤러의 세팅이 완료된 후 최종적으로 OS가 로딩되어 화면에 출력되기 전까지 다소의 시간이 소요되므로 도 5에서 나타낸 것과 같이 제품의 로고와 함게 OS의 로딩 상태를 스태이터스 바를 통해 화면에 디스플레이 하게 된다(S406).After the setting of the graphics controller is completed, it takes some time before the OS is finally loaded and displayed on the screen. As shown in FIG. 5, the loading state of the OS together with the logo of the product is displayed on the screen through the status bar. (S406).

OS 로딩은 OS 이미지인 NK.bin을 하드디스크에서 찾고 시큐러티 체크를 통해 인증된 이미지인지를 검사하고 문제가 없다면 메모리에 로딩을 하고 비로소 화면에 디스플레이하게 된다(S308).OS loading finds the OS image NK.bin on the hard disk and checks whether it is an authenticated image through security check. If there is no problem, the OS loading is loaded into memory and displayed on the screen (S308).

이제까지 본 발명에 대하여 그 바람직한 실시 예를 중심으로 살펴보았으며, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명의 본질적 기술 범위 내에서 상기 본 발명의 상세한 설명과 다른 형태의 실시 예들을 구현할 수 있을 것이다. 여기서 본 발명의 본질적 기술범위는 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far, the present invention has been described with reference to the preferred embodiments, and those skilled in the art to which the present invention pertains to the detailed description of the present invention and other forms of embodiments within the essential technical scope of the present invention. Could be implemented. Here, the essential technical scope of the present invention is shown in the claims, and all differences within the equivalent range will be construed as being included in the present invention.

본 발명에 따르면 기존의 바이오스와 부트로더를 하나의 롬에 구현을 함으로써, 시스템 구성을 간소하게 하고 제품가격을 줄일 수 있는 효과가 있다.According to the present invention, by implementing the existing BIOS and boot loader in one ROM, the system configuration can be simplified and the product price can be reduced.

본 발명에 따르면 부팅하는 동안 화면에 부팅상태를 출력함으로써 사용자 편의성을 높일 수 있는 효과가 있다.According to the present invention there is an effect that can increase the user convenience by outputting a boot state on the screen during booting.

본 발명에 따르면 OS가 로딩 될 때까지 스플래쉬 스크린을 화면에 디스플레 이하여 사용자가 시스템의 진행 상태를 쉽게 알 수 있고, OS 로딩에 실패했을 때 대처방안을 안내하는 문구를 보여줌으로써 제품의 신뢰성을 높일 수 있는 효과가 있다.According to the present invention, the splash screen is displayed on the screen until the OS is loaded, so that the user can easily know the progress of the system, and when the OS fails to load, the phrase to guide the countermeasures can be used to increase the reliability of the product. It can be effective.

Claims (7)

OS(Operrating System)를 탑재하여, OS 기반으로 디지털 데이터 처리가 이루어지는 임베디드(Embeded) 디지털 저장장치에서,In embedded digital storage device equipped with OS (Operrating System) and digital data processing based on OS, 디지털 저장장치에 전원이 인가되면 POST(Power On Self Test)를 수행하는 단계;Performing power on self test (POST) when power is applied to the digital storage device; 상기 POST 수행 후, 부트 로드(Boot Loader)를 수행하는 단계;Performing a boot load after the POST; 로딩 완료 전까지 로딩 수행이 진행 중임을 표현하는 정보를 생성하여 디스플레이하는 단계;Generating and displaying information representing that loading is in progress until the loading is completed; 를 포함하는 것을 특징으로 하는 디지털 저장장치의 부팅 제어방법.Boot control method of a digital storage device comprising a. 제 1 항에 있어서, 상기 로딩 수행이 진행 중임을 표현하는 정보는 OS 이미지인 것을 특징으로 하는 디지털 저장장치의 부팅 제어방법.The method of claim 1, wherein the information representing that the loading is in progress is an OS image. 제 1 항에 있어서, 상기 로딩 수행이 진행 중임을 표현하는 정보로 루트 디렉토리에서 NK.bin 이미지를 로딩하여 디스플레이하는 것을 특징으로 하는 디지털 저장장치의 부팅 제어방법.The boot control method of claim 1, wherein the NK.bin image is loaded and displayed from a root directory as information representing that the loading is in progress. 제 1 항에 있어서, 상기 로딩 수행이 진행 중임을 표현하는 정보로 루트 디렉토리에서 NK.bin 이미지를 검색하여 정상적으로 인가(sign)된 이미지인지의 여부 를 판별하고, 상기 판별 결과에 따라 해당 이미지를 로딩하여 디스플레이하거나 백업(backup) 이미지를 로딩하여 디스플레이하는 것을 특징으로 하는 디지털 저장장치의 부팅 제어방법.The method of claim 1, wherein the NK.bin image is searched in a root directory as information representing that the loading is in progress, and whether the image is normally signed is determined, and the corresponding image is loaded according to the determination result. Boot control method of a digital storage device, characterized in that for displaying or loading and displaying a backup image. 제 1 항에 있어서, 상기 로딩 수행이 진행 중임을 표현하는 정보는 로딩 진행율을 표현하는 것을 특징으로 하는 디지털 저장장치의 부팅 제어방법.The boot control method of claim 1, wherein the information representing that the loading is in progress represents a loading progress rate. 제 1 항에 있어서, 상기 로딩 수행이 진행 중임을 표현하는 정보로, 시스템 상태, 에러 메시지, 에러 대처방법 중의 적어도 어느 하나 이상의 정보를 더 포함하여 디스플레이하는 것을 특징으로 하는 디지털 저장장치의 부팅 제어방법.The boot control method of claim 1, further comprising at least one information of a system status, an error message, and an error handling method, as information representing that the loading is in progress. . 제 1 항에 있어서, 상기 부팅을 위한 롬 바이오스(ROM BIOS) 및 부트 로드(Boot Loader)는 하나의 부트 롬(Boot ROM)에 탑재된 것을 특징으로 하는 디지털 저장장치의 부팅 제어방법.The method of claim 1, wherein the ROM BIOS and the boot loader for booting are mounted in one boot ROM.
KR1020060019377A 2006-02-28 2006-02-28 Method for booting control of digital store apparatus KR20070089399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060019377A KR20070089399A (en) 2006-02-28 2006-02-28 Method for booting control of digital store apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060019377A KR20070089399A (en) 2006-02-28 2006-02-28 Method for booting control of digital store apparatus

Publications (1)

Publication Number Publication Date
KR20070089399A true KR20070089399A (en) 2007-08-31

Family

ID=38614404

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060019377A KR20070089399A (en) 2006-02-28 2006-02-28 Method for booting control of digital store apparatus

Country Status (1)

Country Link
KR (1) KR20070089399A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012021548A2 (en) * 2010-08-09 2012-02-16 Telegent Systems, Inc. Fast-booting broadcast television receiver
KR101593104B1 (en) * 2014-07-31 2016-02-12 화남전자 주식회사 Method for Displaying Booting Logo for Construction Equipment
WO2018079867A1 (en) * 2016-10-24 2018-05-03 주식회사 아이티스테이션 Restoration method using network restoration system in advanced persistent threat environment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012021548A2 (en) * 2010-08-09 2012-02-16 Telegent Systems, Inc. Fast-booting broadcast television receiver
WO2012021548A3 (en) * 2010-08-09 2012-04-26 Telegent Systems, Inc. Fast-booting broadcast television receiver
US8891022B2 (en) 2010-08-09 2014-11-18 Telegent Systems, Inc. Fast-booting broadcast television receiver
KR101593104B1 (en) * 2014-07-31 2016-02-12 화남전자 주식회사 Method for Displaying Booting Logo for Construction Equipment
WO2018079867A1 (en) * 2016-10-24 2018-05-03 주식회사 아이티스테이션 Restoration method using network restoration system in advanced persistent threat environment

Similar Documents

Publication Publication Date Title
US5748877A (en) Method for executing embedded diagnostics from operating system-based applications
KR100430468B1 (en) Initializing and restarting operating systems
US6721881B1 (en) System and method for determining if a display device configuration has changed by comparing a current indicator with a previously saved indicator
US5768568A (en) System and method for initializing an information processing system
US6321287B1 (en) Console redirection for a computer system
US9098305B2 (en) Computer system and bootup and shutdown method thereof
US20060242398A1 (en) Booting from non-volatile memory
US20030110369A1 (en) Firmware extensions
JPH0773046A (en) Method and equipment for emulation of circuit in computer system
JPH05173808A (en) Diagnostic system for personal computer and interface
US20110126043A1 (en) Operating System-Firmware Interface Update Recovery
US20160314002A1 (en) Caching unified extensible firmware interface (uefi) and/or other firmware instructions in a non-volatile memory of an information handling system (ihs)
EP2189906A1 (en) Method and apparatus for abnormality recovering of data card, and data card
US20090300588A1 (en) Method and apparatus for acquiring definitions of debug code of basic input/output system
US7467290B2 (en) Method and system for providing a modular server on USB flash storage
US6725396B2 (en) Identifying field replaceable units responsible for faults detected with processor timeouts utilizing IPL boot progress indicator status
US20040123086A1 (en) Technique for reconstituting a pre-boot firmware environment after launch of an operating system
CN112506745A (en) Memory temperature reading method and device and computer readable storage medium
KR100621095B1 (en) Booting-system and booting-method for initializing peripherals
US20070233995A1 (en) Information processing apparatus and memory address space allocation method
KR20070089399A (en) Method for booting control of digital store apparatus
US6807629B1 (en) Apparatus and method for accessing POST 80h codes via a computer port
CN110955566B (en) Error detecting method
WO2022199622A1 (en) Method for running startup program of electronic device, and electronic device
CN112231704B (en) Trusted network environment protection method, device and computer readable storage medium

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application