KR100463838B1 - Method for downloading and supporting nfs for uia boot loader - Google Patents

Method for downloading and supporting nfs for uia boot loader Download PDF

Info

Publication number
KR100463838B1
KR100463838B1 KR10-2002-0079175A KR20020079175A KR100463838B1 KR 100463838 B1 KR100463838 B1 KR 100463838B1 KR 20020079175 A KR20020079175 A KR 20020079175A KR 100463838 B1 KR100463838 B1 KR 100463838B1
Authority
KR
South Korea
Prior art keywords
uia
nfs
network
boot loader
development environment
Prior art date
Application number
KR10-2002-0079175A
Other languages
Korean (ko)
Other versions
KR20040051276A (en
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 KR10-2002-0079175A priority Critical patent/KR100463838B1/en
Publication of KR20040051276A publication Critical patent/KR20040051276A/en
Application granted granted Critical
Publication of KR100463838B1 publication Critical patent/KR100463838B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • 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
    • 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/451Execution arrangements for user interfaces

Abstract

본 발명은 유무선 통합 홈 서비스 정보단말을 사용하는 개발자에게 효율적이고, 편리한 개발환경을 제공하기 위한 네트워크를 이용한 프로그램 다운로드 기능과 NFS 개발환경을 지원하는 UIA 부트로더에 관한 것이다. 즉, 본 발명은 UIA 시스템에서 네트워크를 이용한 프로그램 다운로드 기능과 NFS 개발환경을 지원하는 네트워크 기능을 부트로더에서 제공함으로써, 네트워크를 이용하여 직렬포트보다 성능이 좋은 다운로드 기능을 제공한다. 또한 응용 프로그램을 수정할 때마다 다시 다운로드를 하여야 하는 불편함을 해소하기 위하여 NFS 개발환경을 지원하여 실제로 응용프로그램을 개발 보드에 다운로드 하지 않고도 실행할 수 있게 하여 개발자에게 편리함을 제공한다.The present invention relates to a program download function using a network for providing an efficient and convenient development environment to a developer using a wired / wireless integrated home service information terminal and a UIA boot loader supporting an NFS development environment. That is, the present invention provides a download function using a network in a UIA system and a network function supporting an NFS development environment in a boot loader, thereby providing a download function having better performance than a serial port using a network. Also, in order to solve the inconvenience of having to download again every time the application is modified, it supports the NFS development environment so that developers can run it without actually downloading the application to the development board.

Description

유아이에이 시스템을 위한 부트로더의 프로그램 다운로드 및 엔에프에스 개발환경 지원방법{METHOD FOR DOWNLOADING AND SUPPORTING NFS FOR UIA BOOT LOADER}How to download boot loader program and support NPS development environment for YUAI system {METHOD FOR DOWNLOADING AND SUPPORTING NFS FOR UIA BOOT LOADER}

본 발명은 유무선 통합 홈 서비스 정보단말(Universal Information Appliance : UIA)에 관한 것으로, 특히 UIA 시스템에서 네트워크를 이용한 프로그램 다운로드 기능과 NFS 개발 환경을 지원하는 부트로더에 관한 것이다.The present invention relates to a wired / wireless integrated home service information terminal (UIA), and more particularly, to a boot loader supporting a program download function using a network and an NFS development environment in a UIA system.

UIA 시스템의 개발보드에는 모토롤라의 DBMX1 중앙처리장치와 호스트 PC와의 인터페이스 및 프로그램 다운로드를 위하여 직렬 포트 및 USB 포트를 제공하고 있으며, 또한 통신을 위해서는 네트워크 제어 칩인 CIRRUS CS8900A를 장착하고 있다.The development board of the UIA system provides a serial port and a USB port for interface and program download between Motorola's DBMX1 central processing unit and a host PC, and a CIRRUS CS8900A, a network control chip, for communication.

그리고 프로그램의 다운로드를 위해서는 상기 네트워크 제어 칩을 통해 부트로더에서 네트워크 파일 시스템(Network File System: NFS)과 DHCP(Dynamic Host Configuration Protocol) 서버와 연결하여 필요한 프로그램을 다운로드하고, 서버의 특정 위치에 설치해놓은 개발용 루트 파일시스템 디렉토리를 NFS를 이용하여 부팅하고 있다.In order to download the program, the network control chip uses a network file system (NFS) and a boot loader. It connects to a Dynamic Host Configuration Protocol (DHCP) server, downloads the necessary programs, and uses NFS to boot the development root filesystem directory installed in a specific location on the server.

그러나, 종래의 UIA 시스템과 같은 임베디드 시스템의 개발 보드에서는 직렬포트를 이용하여 개발한 프로그램들을 다운로드하여 테스트하는 것이 일반적이었다. 직렬포트를 통해 개발한 프로그램들을 다운로드하는 것은 네트워크를 이용한 다운로드의 경우보다 다운로드 속도가 저하되며, 또한 NFS개발환경을 지원하는 네트워크 기능이 구현되지 않아, 응용 프로그램을 수정할 때마다 다시 다운로드를 하여야 하는 불편함이 있었다.However, in a development board of an embedded system such as a conventional UIA system, it is common to download and test programs developed using a serial port. Downloading programs developed through the serial port is slower than downloading via a network, and the network function that supports the NFS development environment is not implemented. Therefore, it is inconvenient to download each time the application is modified. There was a ham.

따라서, 본 발명의 목적은 UIA 시스템 개발보드에 장착되어 있는 CS8900A 칩을 제어하고, NFS/DHCP 서버와 연결하여 네트워크를 이용한 프로그램 다운로드 및 NFS 개발환경을 지원하는 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method of controlling a CS8900A chip mounted on a UIA system development board and connecting to an NFS / DHCP server to support program download and an NFS development environment using a network.

상술한 목적을 달성하기 위한 본 발명은 UIA 시스템을 위한 부트로더의 프로그램 다운로드 및 NFS 개발환경을 지원하는 방법에 있어서, (a)상기 UIA 시스템을 초기화하고 네트워크 제어모듈을 검출하는 단계와; (b)상기 UIA 시스템의 네트워크 환경을 설정하는 단계와; (c)BOOTP를 구동하여 DHCP서버와 네트워크를 연결하는 단계와; (d)TFTP를 이용하여 파일을 다운로드하고 플래시 메모리에 저장시키는 단계와; (e)NFS 서버와 연결하여 UIA 시스템을 부팅하는 단계;를 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided a method for supporting a program download and NFS development environment of a boot loader for a UIA system, the method comprising: (a) initializing the UIA system and detecting a network control module; (b) setting a network environment of the UIA system; (c) connecting BOOTP to a DHCP server and a network; (d) downloading the file using TFTP and storing it in flash memory; (e) connecting to the NFS server to boot the UIA system.

도 1은 본 발명의 실시 예가 적용되는 NFS/DHCP서버, UIA시스템과 호스트 PC간 네트워크 연결 구성도,1 is a configuration diagram of a network connection between an NFS / DHCP server, a UIA system, and a host PC to which an embodiment of the present invention is applied;

도 2는 본 발명의 실시 예에 따른 UIA 시스템을 위한 부트로더의 프로그램 다운로드 및 NFS 개발환경 지원을 위한 처리 흐름도.2 is a flowchart illustrating a program download of a boot loader for a UIA system and an NFS development environment according to an exemplary embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시 예의 동작을 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the operation of the preferred embodiment according to the present invention.

도 1은 본 발명의 실시 예가 적용되는 NFS/DHCP서버, UIA시스템과 호스트 PC간 네트워크 연결 구성도이다.1 is a diagram illustrating a network connection between an NFS / DHCP server, a UIA system, and a host PC to which an embodiment of the present invention is applied.

상기 도 1을 참조하면, NFS/DHCP 서버(100)와 UIA시스템(102)은 네트워크 상에 연결되어 있고, 호스트 PC(103)에 직렬 케이블(104)로 UIA 시스템(102)을 연결하여 UIA 시스템(102)에서 실행되는 부트로더, 커널 및 응용 프로그램의 콘솔이 PC(103)에서 동작되며, 상기 콘솔을 통하여 UIA 시스템(102)의 상태를 모니터링할 수도 있으며, 부트로더에서 제공하는 기능을 콘솔을 통하여 입/출력함으로써 UIA시스템(102)을 제어할 수 있다. 이때 상기 UIA 시스템(102)은 종래와 같이 직렬포트를 이용한 다운로드 기능도 제공하지만, 본 발명에 따라 네트워크 제어칩인 CS8900A를 이용하여 이보다 속도가 빠른 네트워크를 이용한 프로그램 다운로드 기능을 제공하고, NFS 개발환경을 지원하게 된다.Referring to FIG. 1, the NFS / DHCP server 100 and the UIA system 102 are connected on a network, and the UIA system 102 is connected to the host PC 103 by connecting the UIA system 102 with a serial cable 104. The bootloader, kernel and application console executed at 102 are operated on the PC 103, and the console may monitor the status of the UIA system 102, and the console provides functions provided by the bootloader. It is possible to control the UIA system 102 by input / output through. At this time, the UIA system 102 also provides a download function using a serial port as in the prior art, but provides a program download function using a faster network than this by using a network control chip CS8900A according to the present invention, NFS development environment Will be supported.

도 2는 본 발명의 실시 예에 따른 프로그램 다운로드 및 NFS 개발환경을 지원하는 부트로더에서의 네트워크를 이용한 프로그램 다운로드 처리 흐름을 도시한 것이다. 이하 상기 도 1 및 도 2를 참조하여 본 발명의 실시 예를 상세히 설명한다.2 is a flowchart illustrating a program download process using a network in a boot loader supporting a program download and an NFS development environment according to an exemplary embodiment of the present invention. Hereinafter, an embodiment of the present invention will be described in detail with reference to FIGS. 1 and 2.

먼저 UIA 시스템(102)의 부트로더는 NFS/DHCP 서버(100)에 NFS에서 사용할디렉토리와 DHCP에서 사용할 MAC(Media Access Control) 주소 및 IP 주소를 설정하고 구동시킨다. 이어 UIA 부트로더는 시스템을 초기화하고(S10), UIA 시스템 개발보드의 CS8900A 칩의 존재여부 및 동작여부를 검출한다(S11). 상기 (S11)단계가 완료되면 UIA 시스템은 사용자의 명령을 기다리는 대기상태가 되는데, 이때 부트로더는 환경설정 명령을 이용하여 UIA 시스템 개발보드의 CS8900A의 MAC 주소, 다운로드할 프로그램 이름과 서버 디렉토리를 설정한다(S12).First, the boot loader of the UIA system 102 sets and drives a directory to be used by NFS and a MAC (Media Access Control) address and IP address to be used by the NFS in the NFS / DHCP server 100. Subsequently, the UIA boot loader initializes the system (S10) and detects the presence and operation of the CS8900A chip of the UIA system development board (S11). When the step (S11) is completed, the UIA system is in a waiting state waiting for a user's command, wherein the boot loader sets the MAC address of the CS8900A of the UIA system development board, a program name to be downloaded, and a server directory using a configuration command. (S12).

이어 UIA 부트로더는 DHCP 서버로부터 IP 주소를 할당받기 위해 BOOTP를 구동하는 명령을 수행하게 되는데(S13), 이에 따라 UIA 시스템은 IP 주소를 할당 받아 네트워크에 연결되어지고, PC의 명령을 기다리기 위하여 대기상태가 된다.Subsequently, the UIA boot loader executes a command to drive BOOTP to obtain an IP address from the DHCP server (S13). Accordingly, the UIA system is assigned an IP address, connected to the network, and waits for a PC command. It becomes a state.

그러면 UIA 부트로더는 상기에서 TFTP를 구동하는 명령어를 수행하여 사용자가 원하는 프로그램을 TFTP를 이용하여 서버로부터 네트워크를 통하여 UIA 시스템의 메모리에 다운로드하고(S14), 다운로드가 완료되는 경우 지정된 플래쉬 메모리 영역에 저장한다(S15). 이에 따라 UIA 시스템이 재부팅 되는 경우 다운로드 받은 부트로더 또는 커널로 시스템을 시동할 수 있게 된다.Then, the UIA boot loader executes the command to drive the TFTP, and downloads the program desired by the user from the server to the memory of the UIA system through the network using the TFTP (S14). Save (S15). Accordingly, when the UIA system is rebooted, the system can be started by the downloaded boot loader or kernel.

상기한 바와 같이, UIA 시스템(102)에서 NFS 개발환경을 지원하기 위해서는 (S14)단계와 (S15)단계에서 NFS를 지원하는 커널을 다운로드 받아 플래쉬 메모리에 저장하고, 다음 부팅을 수행하는 명령을 수행하게 되는데, 이때 UIA 시스템(102)은 커널을 수행하면서 상기 (S13)단계에서 할당 받은 IP 주소로 네트워크를 통해 NFS 서버에 설정된 디렉토리를 자신의 루트 파일 시스템처럼 연결시킨다(S16).As described above, in order to support the NFS development environment in the UIA system 102, in step S14 and step S15, the kernel supporting NFS is downloaded, stored in flash memory, and the next boot is executed. In this case, the UIA system 102 executes the kernel and connects the directory set to the NFS server through the network as its root file system with the IP address assigned in step S13 (S16).

이에 따라 상기와 같이 연결된 서버의 디렉토리에 사용자가 원하는 응용 프로그램을 복사함으로써 직렬포트를 이용해 개발 보드에 다운로드하지 않고도 테스트 및 구동, 수정 작업 등을 편리하게 할 수 있게 된다.Accordingly, by copying the desired application program to the directory of the connected server as described above, it is possible to conveniently test, run, and modify work without downloading to the development board using the serial port.

한편 상술한 본 발명의 설명에서는 구체적인 실시 예에 관해 설명하였으나, 여러 가지 변형이 본 발명의 범위에서 벗어나지 않고 실시될 수 있다. 따라서 발명의 범위는 설명된 실시 예에 의하여 정할 것이 아니고 특허청구범위에 의해 정하여져야 한다.Meanwhile, in the above description of the present invention, specific embodiments have been described, but various modifications may be made without departing from the scope of the present invention. Therefore, the scope of the invention should be determined by the claims rather than by the described embodiments.

이상에서 설명한 바와 같이, 본 발명은 UIA 시스템에서 네트워크를 이용한 프로그램 다운로드 기능과 NFS 개발환경을 지원하는 네트워크 기능을 부트로더에서 제공함으로써, 네트워크를 이용하여 직렬포트보다 성능이 좋은 다운로드 기능을 제공하는 이점이 있다. 또한 응용 프로그램을 수정할 때마다 다시 다운로드를 하여야 하는 불편함을 해소하기 위하여 NFS 개발환경을 지원하여 실제로 응용프로그램을 개발 보드에 다운로드 하지 않고도 실행할 수 있게 하여 개발자에게 편리함을 제공하는 이점이 있다.As described above, the present invention provides a program download function using a network in a UIA system and a network function supporting an NFS development environment in a boot loader, thereby providing a download function having better performance than a serial port using a network. There is this. Also, in order to solve the inconvenience of having to download again whenever the application is modified, the NFS development environment is supported so that the application can be executed without actually downloading it to the development board.

Claims (3)

UIA 시스템을 위한 부트로더의 프로그램 다운로드 및 NFS 개발환경을 지원하는 방법에 있어서,In the program download of the boot loader for the UIA system and how to support the NFS development environment, (a)상기 UIA 시스템을 초기화하고 네트워크 제어모듈을 검출하는 단계와;(a) initializing the UIA system and detecting a network control module; (b)상기 UIA 시스템의 네트워크 환경을 설정하는 단계와;(b) setting a network environment of the UIA system; (c)BOOTP를 구동하여 DHCP서버와 네트워크를 연결하는 단계와;(c) connecting BOOTP to a DHCP server and a network; (d)TFTP를 이용하여 파일을 다운로드하고 플래시 메모리에 저장시키는 단계와;(d) downloading the file using TFTP and storing it in flash memory; (e)NFS 서버와 연결하여 UIA 시스템을 부팅하는 단계;를 포함하는 것을 특징으로 하는 방법.(e) connecting to the NFS server to boot the UIA system. 제1항에 있어서,The method of claim 1, 상기 (e)단계 수행 후, (f)상기 프로그램의 다운로드 및 저장 또는 부팅 후 종료하는 단계;를 더 포함하는 것을 특징으로 하는 방법.After performing the step (e), (f) the step of downloading and storing or booting the program, the method further comprises. 제1항에 있어서,The method of claim 1, 상기 (a)단계에서, 상기 네트워크 제어모듈은 CS8900 제어모듈인 것을 특징으로 하는 방법.In step (a), the network control module is characterized in that the CS8900 control module.
KR10-2002-0079175A 2002-12-12 2002-12-12 Method for downloading and supporting nfs for uia boot loader KR100463838B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0079175A KR100463838B1 (en) 2002-12-12 2002-12-12 Method for downloading and supporting nfs for uia boot loader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0079175A KR100463838B1 (en) 2002-12-12 2002-12-12 Method for downloading and supporting nfs for uia boot loader

Publications (2)

Publication Number Publication Date
KR20040051276A KR20040051276A (en) 2004-06-18
KR100463838B1 true KR100463838B1 (en) 2004-12-29

Family

ID=37345261

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0079175A KR100463838B1 (en) 2002-12-12 2002-12-12 Method for downloading and supporting nfs for uia boot loader

Country Status (1)

Country Link
KR (1) KR100463838B1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100656928B1 (en) * 2004-12-03 2006-12-12 한국전자통신연구원 Tool-chain operation method for the embedded system
KR100658564B1 (en) * 2004-12-06 2006-12-15 한국전자통신연구원 The software development and operation method for the embedded system and mobile terminal using the method
KR100665134B1 (en) * 2004-12-09 2007-01-04 한국전자통신연구원 The root file system configuration and operation method for the embedded system, and mobile terminal using the method
KR100853941B1 (en) * 2006-12-27 2008-08-25 (주)아이디스 Multimedia storage device and data recovering method of the device

Also Published As

Publication number Publication date
KR20040051276A (en) 2004-06-18

Similar Documents

Publication Publication Date Title
US6816963B1 (en) Platform level initialization using an image generated automatically by a remote server based upon description automatically generated and transmitted thereto by a processor-based system
US6684327B1 (en) Extensible, flexible, memory efficient technique for network boot without special DHCP/PXE hardware
US7222229B1 (en) System for automated boot from disk image
US7673130B2 (en) Use of off-motherboard resources in a computer system
US7085921B2 (en) Embedded OS PXE server
US20170228228A1 (en) Remote launch of deploy utility
US6269371B1 (en) Computer system, and file resources switching method applied to computer system
US8407458B2 (en) Embedded device for implementing a boot process on a host
TWI363298B (en) Communication device and firmware update method thereof
US20060242395A1 (en) Operating system boot from network location
US7243224B2 (en) Preboot execution bootloading
EP1280058A2 (en) Method and system for creating and employing an operating system having selected functionality
EP2675110A2 (en) Method, system and terminal for system update between mobile communication terminals
US7493612B2 (en) Embedded system and related method capable of automatically updating system software
JP2009070375A (en) System and method for custom installation of operating system on remote client
WO2009083946A1 (en) Device and method for automatically launching applications residing on usb flash drives
JP2008532161A (en) Driver installation
US20100169629A1 (en) Method for configuring computer by bios, server, computer, system startup method and computer system
CN110737479A (en) method for starting operating system without disk, server and readable storage medium
CN107463388B (en) UEFI diskless starting method
US7234053B1 (en) Methods for expansive netboot
TW201430561A (en) System and method of starting baseboard management controller
JP6750605B2 (en) Computer system, baseboard management controller, OS installation method, and program
CN112068892A (en) Diskless workstation starting method based on UEFI technology
CN107247596A (en) Starting-up method, device and electronic equipment

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20081202

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee