Make Binary Image Tool (Windows CE 5.0)
来源:互联网 发布:武汉鲨鱼网络直播 编辑:程序博客网 时间:2024/06/06 20:20
Windows CE 5.0
Makeimg.exe performs all processing in the %_FLATRELEASEDIR% directory. After processing, the Ce.bib file defines which binaries and files are to be included in the run-time image. By default, the run-time image is named Nk.bin.
If you have modified and built files in your OS design, you can copy these files to %_FLATRELEASEDIR% and then run the Make Binary Image tool to include these files in the run-time image. This can decrease time spent running builds on your entire OS design. For more information about adding files to the run-time image, see Adding a File to a Run-time Image.
Makeimg.exe calls the following programs:
- The NLS Compression tool (Cenlscmp.exe) enables national language support (NLS) compression. Cenlscmp.exe combines the settings file Nlscfg.out and the input file Nlssrc.txt to build the output file Wince.nls in the %_FLATRELEASEDIR% directory.
- The File Merge tool (Fmerge.exe) merges settings files to create four initialization files, which are created in the %_FLATRELEASEDIR% directory. Fmerge.exe also includes settings files from dependent projects — for example, the Wceshell or Wceshellfe project.
If the settings files for the dependent projects are defined in the _DEPTREES environment variable, and if they also exist in the %_FLATRELEASEDIR% directory, Fmerge.exe merges them into the appropriate initialization file.
The following table shows the original files and merged initialization file for each file type.
Original files Merged initialization file Common.bib, Config.bib, Project.bib, Platform.bibCe.bib, which identifies all the Windows CE files to be combined into the run-time image.Common.reg, Project.reg, Platform.regReginit.ini, which provides a collection of registry entries for the run-time image.Common.dat, Project.dat, Platform.datInitobj.dat, which provides a description of the directory and file locations for the run-time image.Common.db, Project.db, Platform.dbInitdb.ini, which defines the creation of any databases in the Windows CE object store. - The Registry Compression tool (Regcomp.exe) performs registry compression by reading Reginit.ini and compressing it into a binary registry file called Default.fdf, which is eventually included in the run-time image. Default.fdf is always loaded on a cold boot. The Ce.bib file references Default.fdf, which then initializes the system registry on the target device.
- The Resource Update tool (Res2exe.exe) replaces the resources in specified .dll, .exe, or Control Panel (.cpl) files with the appropriate resources for the language specified by the LOCALE environment variable.
- The Text to Unicode tool (Txt2ucde.exe) converts any ASCII text strings in Initobj.tmp, which was created by Fmerge.exe, to Unicode text strings and creates the file Initobj.dat, which contains the Unicode conversion.
- The ROM Image Builder tool (Romimage.exe) reads the Ce.bib file to determine which binaries and files, located in %_FLATRELEASEDIR%, are to be included in the run-time image, including how they are stored in memory.
The Ce.bib file also lists the following processed files: Wince.nls, Reginit.ini, Initobj.dat, Initdb.ini, and Default.fdf.
Then, Romimage.exe combines the binaries and files into the run-time image, which is usually called Nk.bin unless specified otherwise in theMEMORY section of the Ce.bib file.
Makeimg
Error Messages
- MAKEIMG FAILED: Missing or invalid LOCALE variable
- MAKEIMG: res2exe FAILED: LOCALE var not set
These two messages appear if the LOCALE environment variable was not set or an incorrect setting was used.
Example
The following code example shows how to use Makeimg.exe.
makeimg
Remarks
The environment variables in the binary image builder file (.bib), file system file (.dat), database file (.db), and registry file (.reg) help determine how Makeimg.exe builds the run-time image.
- Make Binary Image Tool (Windows CE 5.0)
- Windows CE Binary Image Data Format
- Graph Edit tool under Windows CE 5.0
- Windows CE Update Information Tool
- resolve windows ce remote tool connection issue
- Windows CE下MUI image的实现
- Adding a File to a Run-time Image (Windows CE 5.0)
- Windows CE 5.0 Absolute Binary Data Format(NK.nb0格式)
- Create a Windows CE Image That Boots to Kiosk Mode
- Modifications: Windows CE 5.0 vs. Windows Embedded CE 6.0
- Windows CE 5.0 数据类型大全
- Windows CE 5.0:驱动程序---中断
- Windows CE 5.0 数据类型大全
- Windows CE 5.0 数据类型大全
- Windows CE
- Windows CE
- windows CE
- windows ce
- Win7系统IIS发布全过程
- codeforces 493 ABCD
- Errors occurred during the build. Errors running builder
- 2014年12月11号 我的第一篇博客
- 关于Unity的优化1.
- Make Binary Image Tool (Windows CE 5.0)
- 黑马程序员-20141211-总结2
- 注册表模式
- C++的四种强制转换
- 成为一名android系统工程师——工作伊始
- ASP.NET生成验证码
- 解决SQL Server 2005数据库中datetime时间字段在前端显示时分秒的问题
- leetcode->Reverse Integer
- 《C#高级教程》学习笔记7