CN106951257A - A kind of implementation method for starting WinCE with Uboot_CDROM - Google Patents
A kind of implementation method for starting WinCE with Uboot_CDROM Download PDFInfo
- Publication number
- CN106951257A CN106951257A CN201710183322.8A CN201710183322A CN106951257A CN 106951257 A CN106951257 A CN 106951257A CN 201710183322 A CN201710183322 A CN 201710183322A CN 106951257 A CN106951257 A CN 106951257A
- Authority
- CN
- China
- Prior art keywords
- wince
- uboot
- cdrom
- eboot
- file
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
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
- G06F9/4406—Loading of operating system
-
- 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
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
Abstract
The present invention relates to the booting operating system loading technique field of mobile device, more particularly to a kind of use Uboot CDROM start WinCE implementation method, and CD-ROM drive and Uboot bootstrap are based on applied to mobile device.The inventive method includes following:Internal memory is according to Uboot, Eboot and kernel mirror image subregion, it is then inserted on formula mobile device and establishes by cable after machine, first carry out a series of equipment initialization, pass through Uboot CDROM drive connection CD-ROM drives, fetching optical disk contents, recognizer is verified by Eboot and WinCE mirror images in uboot, is read to internal memory appropriate address, Eboot, which starts, jumps to kernel startup address in internal memory, starts WinCE systems.WinCe systems are stored in outside embedded mobile hardware device by the present invention, are reduced dependence of the WinCE systems to embedded platform hardware, are mitigated the load at embedded platform end.Also increase WinCE Starting mode, extend uboot and WinCE systematic difference scopes.
Description
Technical field
The present invention relates to the booting operating system loading technique field of mobile device, more particularly to one kind Uboot
CDROM starts WinCE implementation method, and CD-ROM drive and Uboot bootstrap are based on applied to mobile device.
Background technology
Uboot full name are Universal Boot Loader, i.e., general Bootloader, and one kind is commonly used to embedded
Bootloader in system, be a source code disclose, powerful board suppot package.Support some serial arm bodies
System, subsequent development is loaded for the guiding of WinCE systems.Uboot includes common peripheral hardware driving and different file systems
System, but driven without CODROM drivings under direct uboot, it is necessary to develop CODROM under uboot.
WinCE is a opening, scalable 32 embedded OSs for embedded device are, it is necessary to root
The specific embedded OS customized according to embedded hardware apparatus modifications, it is impossible to general.The guiding of usual WinCE systems adds
It is not succinct enough for the Boot loader modes that load program combines for nboot and eboot, more open uboot, and
Uboot is based on most complete one general Boot loader of GPL clauses.But uboot is to WinCe system kernels source
The acquisition modes of file are relatively simple.
The content of the invention
In order to solve problem of the prior art, the invention provides the realization side that a kind of use Uboot CDROM start WinCE
Method, it can increase the mode that Uboot guiding loading WinCE systems start, extend uboot and WinCE systematic difference models
Enclose.Dependence of the WinCE systems to embedded platform hardware is reduced simultaneously, mitigates the load at embedded platform end.
The technical solution adopted in the present invention is as follows:
A kind of use Uboot CDROM start WinCE implementation method, comprise the following steps:
A, to memory address space carry out subregion, be divided into for storing uboot mirror images, WinCE Eboot and kernel mirror image
Region;
B, exploitation CDROM drivers and WinCE mirror image recognizers in Uboot;
C, add bootstrap in Uboot, including and Eboot mirror images and WinCE mirror images bootstrap;
D, according in step A, the partition size that internal memory is divided changes memory partition defined in the BSP source codes of WinCE kernels
File loader.h, and modification makefile and config files recompilate BSP source codes, generate new Eboot
With WinCE kernel mirror image files, now Eboot and NK jump address has corresponding with step A memory partitioning in mirror image
Corresponding relation;
E, newly-generated Eboot and kernel mirror image file be burnt in CD.
Step B specific methods are:By increasing fs.h, fs.c file correlation iso-9660 file system letters in Uboot
Number, increases specific iso-9660 drivings file, configuration uboot under fs files and respectively configures compiling file, while in isoload
After order, WinCE mirror image recognizers are developed.
Implementation method also includes step F:CDROM drivings can recognize CDROM connections in Uboot after electrifying startup, and CDROM drives
Isoload orders in dynamic start CDROM CD-ROM drives, to read specified file name from CD, are then recognized by WinCE mirror images
Program, and identification Eboot image files and WinCE system kernel mirror images are verified, by according to configuration file config.bib's
Configuration parameter, the appropriate address position of internal memory is divided by using nandwrite order write steps A, calls Eboot to start life
Order, starts Eboot, and the Uboot CDROM for completing WinCE start.
The beneficial effect that the technical scheme that the present invention is provided is brought is:
The peripheral hardware driving of uboot supports is added, the start-up loading mode for also increasing WinCE systems is that uboot CDROM is opened
It is dynamic, the dependence that WinCE systems are combined guiding load mode for primary nboot with eboot is reduced, WinCE is enhanced
The portability of system.The versatility of Uboot guiding, overcomes WinCE operating systems to the dependence of particular hardware platform.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 starts the method block diagram of WinCE implementation method for a kind of use Uboot CDROM of the present invention;
Fig. 2 starts the memory partitioning block diagram of WinCE implementation method for a kind of use Uboot CDROM of the present invention;
Fig. 3 starts the method flow diagram of WinCE implementation method for a kind of use Uboot CDROM of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one
A kind of use Uboot CDROM of the present embodiment start WinCE implementation method:
1)Using Flash partitioning techniques, divided by memory address space according to the size of the WinCE systems of different platform
Area such as Fig. 2, is divided into for storing uboot mirror images, Eboot mirror images and each region of WinCE kernel mirror images, and with preserving each subregion
Location.
2)By increasing the files such as fs.h, fs.c correlation iso-9660 file system functions in Uboot, in fs files
The specific iso-9660 drivings file of the lower increase of folder, configuration uboot respectively configure compiling file.Simultaneously after isoload orders,
Increase Eboot and WinCE mirror images verification recognizer.
3)Bootstrap is added in Uboot, includes the bootstrap of Eboot mirror images and WinCE mirror images.
4)According to step 1)In, internal memory divide block partition sizes, change WinCE kernels BSP source codes defined in
The file loader.h of memory partition, and modification makefile and config files, recompilate BSP source codes, so that
Mirror image operation address is correctly corresponding with memory partitioning.Generation new Eboot and kernel mirror image file NK.nb0.
5)By newly-generated Eboot and the storage of kernel mirror image file into foreign medium CDROM.
6)After the uboot changed above is recompilated, store into corresponding memory partitioning, uboot after electrifying startup
Interior CDROM driving can recognize CDROM connections, and verify and recognize Eboot image files and WinCE system kernel mirror images, will be by
According to configuration file config.bib configuration parameter, the appropriate address position of internal memory is write by using nandwrite orders, is adjusted
With order is started, start Eboot, the CDROM for completing WinCE starts.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modifications, equivalent substitutions and improvements made etc. should be included within the scope of the present invention.
Claims (3)
1. a kind of use Uboot CDROM start WinCE implementation method, comprise the following steps:
A, to memory address space carry out subregion, be divided into for storing uboot mirror images, WinCE Eboot and kernel mirror image
Region;
B, exploitation CDROM drivers and WinCE mirror image recognizers in Uboot;
C, add bootstrap in Uboot, including and Eboot mirror images and WinCE mirror images bootstrap;
D, according in step A, the partition size that internal memory is divided changes memory partition defined in the BSP source codes of WinCE kernels
File loader.h, and modification makefile and config files recompilate BSP source codes, generate new Eboot
With WinCE kernel mirror image files, now Eboot and NK jump address has corresponding with step A memory partitioning in mirror image
Corresponding relation;
E, newly-generated Eboot and kernel mirror image file be burnt in CD.
2. a kind of use Uboot CDROM according to claim 1 start WinCE implementation method, it is characterised in that described
Step B specific methods be:By increasing fs.h, fs.c file correlation iso-9660 file system functions in Uboot,
Increase specific iso-9660 drivings file, configuration uboot under fs files and respectively configure compiling file, while in isoload orders
Afterwards, WinCE mirror image recognizers are developed.
3. a kind of use Uboot CDROM according to claim 1 or 2 start WinCE implementation method, it is characterised in that
Described implementation method also includes step F:CDROM drivings can recognize CDROM connections, CDROM drivings in Uboot after electrifying startup
In isoload orders start CDROM CD-ROM drives, with from CD read specified file name, then pass through WinCE mirror images recognize journey
Sequence, and identification Eboot image files and WinCE system kernel mirror images are verified, by matching somebody with somebody according to configuration file config.bib
Parameter is put, the appropriate address position of internal memory is divided by using nandwrite order write steps A, calls Eboot to start order,
Start Eboot, the Uboot CDROM for completing WinCE start.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710183322.8A CN106951257A (en) | 2017-03-24 | 2017-03-24 | A kind of implementation method for starting WinCE with Uboot_CDROM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710183322.8A CN106951257A (en) | 2017-03-24 | 2017-03-24 | A kind of implementation method for starting WinCE with Uboot_CDROM |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106951257A true CN106951257A (en) | 2017-07-14 |
Family
ID=59473762
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710183322.8A Pending CN106951257A (en) | 2017-03-24 | 2017-03-24 | A kind of implementation method for starting WinCE with Uboot_CDROM |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106951257A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032680A (en) * | 2018-08-16 | 2018-12-18 | 成都国科微电子有限公司 | A kind of real time operating system quick start method and real time operating system |
CN109857468A (en) * | 2019-01-04 | 2019-06-07 | 烽火通信科技股份有限公司 | A kind of method and system for supporting more DTB in single linux system mirror image |
CN111381892A (en) * | 2018-12-29 | 2020-07-07 | 阿里巴巴集团控股有限公司 | Data processing method, device, equipment and machine readable medium |
CN112433772A (en) * | 2020-12-10 | 2021-03-02 | 福州创实讯联信息技术有限公司 | Method and terminal for embedded uboot recognition starting of file system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103853557A (en) * | 2014-03-05 | 2014-06-11 | 中南大学 | Method for starting WinCE by utilizing Uboot network |
CN104503922B (en) * | 2015-01-19 | 2018-02-13 | 中国地质大学(武汉) | The method that loading WindowsCE systems are guided based on uboot |
-
2017
- 2017-03-24 CN CN201710183322.8A patent/CN106951257A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103853557A (en) * | 2014-03-05 | 2014-06-11 | 中南大学 | Method for starting WinCE by utilizing Uboot network |
CN104503922B (en) * | 2015-01-19 | 2018-02-13 | 中国地质大学(武汉) | The method that loading WindowsCE systems are guided based on uboot |
Non-Patent Citations (2)
Title |
---|
WANGQIANG62473118: "旧版本uboot对ext4文件系统格式的支持", 《CSDN博客(HTTPS://BLOG.CSDN.NET/A624731186/ARTICLE/DETAILS/37730141)》 * |
YANG-ZHENG: "如何在uboot中添加驱动程序", 《CSDN博客(HTTPS://BLOG.CSDN.NET/YANGZHENG_YZ/ARTICLE/DETAILS/52817670)》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032680A (en) * | 2018-08-16 | 2018-12-18 | 成都国科微电子有限公司 | A kind of real time operating system quick start method and real time operating system |
CN109032680B (en) * | 2018-08-16 | 2021-12-14 | 成都国科微电子有限公司 | Real-time operating system quick start method and real-time operating system |
CN111381892A (en) * | 2018-12-29 | 2020-07-07 | 阿里巴巴集团控股有限公司 | Data processing method, device, equipment and machine readable medium |
CN111381892B (en) * | 2018-12-29 | 2023-04-28 | 斑马智行网络(香港)有限公司 | Data processing method, device, equipment and machine-readable medium |
CN109857468A (en) * | 2019-01-04 | 2019-06-07 | 烽火通信科技股份有限公司 | A kind of method and system for supporting more DTB in single linux system mirror image |
CN109857468B (en) * | 2019-01-04 | 2022-03-01 | 烽火通信科技股份有限公司 | Method and system for supporting multiple DTBs in single Linux system mirror image |
CN112433772A (en) * | 2020-12-10 | 2021-03-02 | 福州创实讯联信息技术有限公司 | Method and terminal for embedded uboot recognition starting of file system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106951257A (en) | A kind of implementation method for starting WinCE with Uboot_CDROM | |
CN102385535B (en) | Handling errors during device bootup from a non-volatile memory | |
TWI525542B (en) | System and method for starting and updating UEFI BIOS, recording media and computer program products | |
TWI482015B (en) | Backing up firmware during initialization of device | |
WO2016091071A1 (en) | Linux kernel driver loading method and device | |
US7908469B2 (en) | Method for executing power on self test on a computer system and updating SMBIOS information partially | |
CN104123153A (en) | Apparatus and method for firmware upgrade using USB | |
CN102360569B (en) | Burning method, system and apparatus for nand flash chips | |
CN107870769A (en) | The installation method and device of operating system | |
CN107632862A (en) | A kind of multistage start-up loading method of vehicle electronic control unit ECU | |
CN105760191A (en) | Embedded system equipment programming mass production method | |
CN113238819B (en) | Dynamic loading method and system of drive file suitable for U-Boot | |
CN113626822B (en) | UEFI firmware starting method and device integrating LinuxBoot | |
WO2019242272A1 (en) | Bios-based operating system booting method, device, apparatus, and medium | |
CN108170480A (en) | A kind of startup method based on u-boot guiding μ C/OS operating systems | |
US20090144046A1 (en) | Method to encapsulate an option rom for operation in multiple firmware and platform architectures | |
CN108205446A (en) | Firmware restorative procedure and device | |
CN106598593A (en) | Method for starting WinCE by utilizing U disk of Uboot | |
CN111552491A (en) | Method, device and storage medium for upgrading firmware of transfer equipment of mobile carrier | |
CN106909351B (en) | UEFI (unified extensible firmware interface) firmware-based EXT (extensible firmware interface) file system implementation method | |
CN107977222A (en) | Suitable for the conversion of the upgrade file of eMMC, generation method and device | |
WO2017173924A1 (en) | Method and device for switching between file systems | |
KR102429346B1 (en) | Memory Upgrade System And Method | |
US8893127B2 (en) | Method and system for loading application to a local memory of a co-processor system by using position independent loader | |
CN103777955A (en) | Method and device for installing and operating Unix-like in Windows environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170714 |
|
RJ01 | Rejection of invention patent application after publication |