WO2008058469A1 - Procédé pour démarrer un dispositif embarqué - Google Patents
Procédé pour démarrer un dispositif embarqué Download PDFInfo
- Publication number
- WO2008058469A1 WO2008058469A1 PCT/CN2007/003225 CN2007003225W WO2008058469A1 WO 2008058469 A1 WO2008058469 A1 WO 2008058469A1 CN 2007003225 W CN2007003225 W CN 2007003225W WO 2008058469 A1 WO2008058469 A1 WO 2008058469A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- file
- image file
- memory
- bootrom
- Prior art date
Links
Classifications
-
- 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
Definitions
- the invention relates to the booting of operating systems and applications under VxWorks, in particular to the booting method of BootRom.
- Wind River's real-time embedded system VxWorks has been widely used in communication products in the communications industry.
- the BootRom provided by VxWorks has been widely used in the guidance of various embedded system devices.
- two files are generated, one is the BootRom image file, the basic hardware is initialized and the VxWorks system is finally booted; the other is the VxWorks image file, which includes the VxWorks operating system kernel and the upper application.
- a program which can be referred to as an application image file.
- the TFFS and DOS file system of the VxWorks operating system are generally used, so that the BootRom itself needs to occupy a relatively large memory space, generally requiring 512K space, and some even exceed 512K, which is Increased hardware costs.
- the BootRom runtime also needs a relatively large memory space, so the size of the BootRom file space affects the startup speed of the system.
- the technical problem to be solved by the present invention is to provide an embedded device guiding method for reducing the hardware cost, simplifying the startup procedure, and improving the existing BootRom booting system, which occupies a large memory space, affects the startup speed, and has high hardware cost. Startup speed.
- the present invention solves the technical problem, and the technical solution adopted is an embedded device guiding method, which includes the following steps:
- BootRom boot file reads the application image file according to the header file information and writes it to the corresponding location in the memory, and jumps to the application's entry address to execute;
- the beneficial effects of the present invention are that in the BootRom software package provided by the VxWorks operating system, the TFFS and the DOS file system are removed, which saves memory space and reduces the hardware cost of the device. Since TFFS and DOS file systems are not used, there is no need to allocate large blocks of memory. When BootRom initializes itself, it can initialize only a small piece of memory. In addition, the number of copies is reduced when the application's image file is loaded, which increases the system's startup speed.
- Figure 1 is a flow chart of the boot program of the present invention.
- the technical solution of the present invention is an embedded device booting method, including the following steps: a. Building header file information of an application image file, including a fixed entry address of the application, a starting address of the resident memory, and an application image file. Size and compression properties;
- the header file information is read and recorded in the memory
- BootRom boot file reads the application image file according to the header file information and writes it to the corresponding location in the memory, and jumps to the application's entry address to execute;
- step c when the application image file read by the BootRom boot file is a compressed file, the application image file is first decompressed and then written into the memory.
- the invention removes the TFFS and DOS file system in the compile option of the BootRom source program; simultaneously analyzes the ELF image file structure of the VxWorks application, and constructs The application image file 3 ⁇ 4 file information headlnfo, the built header file information headlnfo, contains the application's entry address and the application's resident memory start address and other information; extract the valid part of the application image file validApp, whether or not After the validApp compresses and determines the size of the validApp, the header file information headlnfo is also included in the size and compressed attributes (compressed and uncompressed) of the validApp. In many cases, the validApp is compressed using the compression commands provided by VxWorks.
- the new image file newApp is composed of headlnfo and validApp or compressed validApp. The newApp is written in a fixed area in the FLASH, and the entry address of the validApp in the FLASH is fixed.
- BootRom When BootRom is running, since there is no TFFS file system, if you want to read the application image file, you can read it directly from the fixed entry address of the FLASH image file area. BootRom first reads the header file information headlnfo from the image file area of FLASH and saves it in memory. According to the compression attribute in headlnfo and the starting address information (usually the low-end address of memory) that the application resides in memory, there are two cases:
- the operation of the BootRom boot application is done by a function. This function boots the application as follows.
- step 3 2) judging whether the application image part is compressed according to the compression attribute in the header file information, if there is no compression, performing step 3), otherwise performing step 4);
- step 3) According to the size of the validApp, directly copy the validApp image file to the memory area where the application starts at the starting address in memory, and then perform step 5) 4) According to the decompression function in BootRom, after decompressing the validApp, extract the compressed image file to a continuous memory area starting from the starting position where the application resides in the memory according to the image file size.
- the technical solution of the present invention the number of times of copying of the image file is reduced. At the same time, there is no need to define the size of the image file or allocate large chunks of memory, which improves the performance of the system.
- the technical solution of the present invention is particularly suitable for booting and starting of an embedded system application with a small memory space, and has industrial applicability.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
L'invention concerne un procédé pour démarrer un dispositif embarqué comprenant les étapes de : construction des informations de fichier d'en-tête (Info en-tête) du fichier d'image d'application, qui comprend l'adresse d'entrée fixe de l'application, l'adresse de démarrage de mémoire et la dimension et l'attribut de compression du fichier d'image d'application ; lecture des informations de fichier d'en-tête et d'enregistrement dans la mémoire après le démarrage du programme de démarrage BootRom ; lecture par le fichier de démarrage BootRom du fichier d'image d'application et son inscription dans l'emplacement correspondant dans la mémoire sur la base des informations de fichier d'en-tête, et saut de l'adresse d'entrée de l'application pour l'exécution ; achèvement de la procédure de démarrage.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610022272.7 | 2006-11-17 | ||
CNB2006100222727A CN100442228C (zh) | 2006-11-17 | 2006-11-17 | 嵌入式设备引导方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2008058469A1 true WO2008058469A1 (fr) | 2008-05-22 |
Family
ID=38071345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2007/003225 WO2008058469A1 (fr) | 2006-11-17 | 2007-11-15 | Procédé pour démarrer un dispositif embarqué |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN100442228C (fr) |
WO (1) | WO2008058469A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111045739A (zh) * | 2019-12-03 | 2020-04-21 | 福州瑞芯微电子股份有限公司 | 基于启动程序的固件引导方法、介质及设备 |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100442228C (zh) * | 2006-11-17 | 2008-12-10 | 迈普(四川)通信技术有限公司 | 嵌入式设备引导方法 |
CN101414338B (zh) * | 2007-10-15 | 2012-11-21 | 北京瑞星信息技术有限公司 | 一种绕过挂钩的方法和装置 |
CN101776986B (zh) * | 2010-02-03 | 2011-12-14 | 青岛海信移动通信技术股份有限公司 | 一种启动程序时等待信息的显示控制方法和装置 |
CN101808186B (zh) * | 2010-03-26 | 2012-01-25 | 四川长虹电器股份有限公司 | 一种加快内存拷贝速度的方法 |
CN102141923B (zh) * | 2010-09-28 | 2013-12-04 | 华为终端有限公司 | 内存文件系统加载方法及装置 |
CN102681858B (zh) * | 2011-03-09 | 2017-07-11 | 研祥智能科技股份有限公司 | VxWorks操作系统及配置其启动等待时间的方法和装置 |
CN103309710A (zh) * | 2013-06-09 | 2013-09-18 | 南车株洲电力机车研究所有限公司 | 一种vxworks操作系统加载out文件方法及系统 |
WO2016074127A1 (fr) * | 2014-11-10 | 2016-05-19 | 华为技术有限公司 | Dispositif informatique et procédé de démarrage de mémoire pour un dispositif informatique |
CN111984329B (zh) * | 2019-08-22 | 2023-10-31 | 中国科学院国家空间科学中心 | 一种boot引导软件标准化生成、执行方法及系统 |
CN111522591A (zh) * | 2020-04-24 | 2020-08-11 | 中电科航空电子有限公司 | VxWorks cert的快速启动软件实现方法及计算机程序产品 |
CN111522590B (zh) * | 2020-04-24 | 2023-06-20 | 中电科航空电子有限公司 | 提高VxWorks操作系统启动速度的方法及其应用 |
CN116610368B (zh) * | 2023-04-13 | 2024-08-16 | 湖南长城银河科技有限公司 | 一种可配置的芯片启动引导方法、系统及介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020078229A (ko) * | 2001-04-06 | 2002-10-18 | 엘지전자 주식회사 | 임베디드 시스템의 메모리 제어방법 |
CN1545028A (zh) * | 2003-11-14 | 2004-11-10 | 港湾网络有限公司 | 使得Bootrom image和VxWorks image总能够正常编译和运行的方法 |
CN1786913A (zh) * | 2005-12-06 | 2006-06-14 | 海信集团有限公司 | 嵌入式设备系统动态引导的方法 |
US20060253695A1 (en) * | 2005-05-03 | 2006-11-09 | Yung-Lung Chen | Structure of embedded memory unit with loader and system structure and operation method for the embedded memory apparatus |
CN1959636A (zh) * | 2006-11-17 | 2007-05-09 | 迈普(四川)通信技术有限公司 | 嵌入式设备引导方法 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001024014A1 (fr) * | 1999-09-27 | 2001-04-05 | Zf Micro Devices, Inc. | Systeme d'ordinateur integre et procede avec une interface de memoire flash |
EP1235148A3 (fr) * | 2001-02-22 | 2007-02-07 | Siemens Aktiengesellschaft | Démarrage rapide de système pour systèmes embarqués |
CN1286009C (zh) * | 2003-06-05 | 2006-11-22 | 中兴通讯股份有限公司 | 在嵌入式系统中使用x86处理器的单一bootrom的制作方法 |
TWI263939B (en) * | 2004-09-22 | 2006-10-11 | Lite On Technology Corp | Dynamic boot system and method, machine readable medium thereof, and construction method for an operating system image |
CN100377086C (zh) * | 2006-03-31 | 2008-03-26 | 浙江大学 | 嵌入式系统中直接从文件系统运行程序的实现方法 |
-
2006
- 2006-11-17 CN CNB2006100222727A patent/CN100442228C/zh not_active Expired - Fee Related
-
2007
- 2007-11-15 WO PCT/CN2007/003225 patent/WO2008058469A1/fr active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020078229A (ko) * | 2001-04-06 | 2002-10-18 | 엘지전자 주식회사 | 임베디드 시스템의 메모리 제어방법 |
CN1545028A (zh) * | 2003-11-14 | 2004-11-10 | 港湾网络有限公司 | 使得Bootrom image和VxWorks image总能够正常编译和运行的方法 |
US20060253695A1 (en) * | 2005-05-03 | 2006-11-09 | Yung-Lung Chen | Structure of embedded memory unit with loader and system structure and operation method for the embedded memory apparatus |
CN1786913A (zh) * | 2005-12-06 | 2006-06-14 | 海信集团有限公司 | 嵌入式设备系统动态引导的方法 |
CN1959636A (zh) * | 2006-11-17 | 2007-05-09 | 迈普(四川)通信技术有限公司 | 嵌入式设备引导方法 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111045739A (zh) * | 2019-12-03 | 2020-04-21 | 福州瑞芯微电子股份有限公司 | 基于启动程序的固件引导方法、介质及设备 |
CN111045739B (zh) * | 2019-12-03 | 2022-06-07 | 福州瑞芯微电子股份有限公司 | 基于启动程序的固件引导方法、介质及设备 |
Also Published As
Publication number | Publication date |
---|---|
CN100442228C (zh) | 2008-12-10 |
CN1959636A (zh) | 2007-05-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2008058469A1 (fr) | Procédé pour démarrer un dispositif embarqué | |
CN102479098B (zh) | 使用快照图像的引导设备和方法 | |
US8037292B2 (en) | Method for accelerating BIOS running | |
CN101751273B (zh) | 用于嵌入式系统的安全引导装置及方法 | |
CN105975311B (zh) | 一种应用启动方法及装置 | |
JPH10228379A (ja) | 低減されたラン−タイム・メモリ空間要求を有するアーキテクチャ特定コードを実行する方法及びコンピュータ・システム | |
CN111857776A (zh) | Dsp板卡类的应用程序的在线升级方法 | |
US7188278B1 (en) | Method, system, and apparatus for utilizing compressed program code in the boot block portion of a computer BIOS | |
US10185573B2 (en) | Caching based operating system installation | |
US7900197B2 (en) | Program initiation methods and embedded systems utilizing the same | |
EP2645239A1 (fr) | Appareil électronique et procédé de démarrage | |
US7240190B2 (en) | Resource compatible system for computer system reads compressed filed stored in legacy BIOS and decompresses file using legacy support operating system driver | |
KR100625167B1 (ko) | 임베디드 운영체계의 부팅방법 | |
JPH11167493A (ja) | 情報処理装置およびその拡張装置の立ち上げ方法 | |
JP2005258642A (ja) | 組込型情報処理装置 | |
CN113626092A (zh) | 嵌入式系统启动方法与soc芯片 | |
CN114816273A (zh) | 针对Norflash的自适应最优配置的方法、装置及介质 | |
JP6080492B2 (ja) | 情報処理装置、起動方法およびプログラム | |
JPH11175348A (ja) | Riscアーキテクチャを持った中央処理装置を有する装置及び該装置を動作させる方法 | |
JP2001142709A (ja) | 初期起動装置、コンピュータシステム、初期起動方法及び記憶媒体 | |
JP2008077474A (ja) | ファームウェア更新方法、電子機器、ファームウェア更新プログラム | |
JP3116993B2 (ja) | コンピュータシステム | |
KR101691656B1 (ko) | 연산 수단과 그를 이용한 부팅 방법 | |
JP4845497B2 (ja) | 電子装置及びその制御方法 | |
JP2002082808A (ja) | プログラム制御方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07816832 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 07816832 Country of ref document: EP Kind code of ref document: A1 |