-
关于WinCE的一些笔记
Boot CE from HD
Supposed: The loadcepc is installed in the C:
1. Make CE support Hard Disk.
- Please refer to "CE HD support.txt" written by Bob
2. Set build options
- Select Release mode
- In Configuration Properties -> Build Options, make sure the build optioins are disabled in Platform Builder, especially KITL. A safe way is disalbed all the build options
3. Build NK.bin
- Rebuild the solution
- After rebuilding the solution, maybe need to rebuild S3 driver.
- If you want to build a NK.bin with test tools, Please refer to "Build NK.bin with Test Tools.txt"
4. Copy the nk.bin to C:\
5. Set Display mode when startup
- Modify C:\AUTOEXEC.BAT
In ":CEPC_LOCAL" part, after "REM" statement:
a. add "set RES=/L:1024x768x32".
b. replace "loadcepc /v nk.bin" with "loadcepc /v %RES% nk.bin"
6. (Optional) Set default start option
- Modify C:\CONFIG.SYS
replace "menudefault=CEPC_NET_500,5" with "menudefault=CEPC_LOCAL,5"
7. Then, restart the CEPC. and choose "CEPC_LOCAL, Boot CE/PC (local nk.bin)"
Build NK.bin with Test Tools
1. Get necessary files.
- Some in $(_FLATRELEASEDIR), such as ddex1.exe, DoNuts.exe and so on. When building NK.bin, these test files don't be cared.
- Others can be found in C:\Program Files\Microsoft Platform Builder\6.00\cepb\wcetk\ddtk\x86
2. Add test files info to platform.bib
a. Copy the test files to $(_FLATRELEASEDIR)
b. Add the test files info to platform.bib in MODULES part. Please refer to platform_example.bib
3. Build NK.bin
- run makeimg
4. Copy NK.bin to C: in the target device.
5. Restart CEPC.
Then, we can run the tests in command line. For example, if we want to run DDraw Test DoNuts.exe. We just type "donuts.exe" in command line, and then type Enter.
Setup Remote Test Environment for WinCE
1. Add network card and Remote Desktop Protocol support
- Network card:
check the checkbox: Device Drivers -> Networking -> RealTek RTL8139
- Remote Desktop Protocol
check the checkbox: Core OS -> CEBASE -> Remote Desktop Connection -> User Interface Dialog Boxes
2. Rebuild the platform.
3. Setup a Server.
- The server can be a WinXP or Win2K.
- install WinBench99 and Speedy on the server.
4. Connect to server
- using Remote Desktop Connection on WinCE to connect the server.
- Don't use peer-to-peer wire to directly connnect WinCE to the server. It maybe fail. Use twisted pair and make sure WinCE and the server in the same net.
5. Run WinBench99 or Speedy20 or other test APs directly.
注:WinBench99和Speedy20测出来的分数不可信,原因在于与远程服务器通信时采用的RDP会对测试的分数产生一定的影响。但用来测画的是否正确应该没问题
Simple Usage of the Tools for WinCE60 Performance Tuning 是WinCE6.0下有关CeLog的一些笔记,参考了M$的MSDN和文件CE-HOF3_Loh_Susan_ThreadingLab-1.doc。偶找不到该文件的链接,暂时就不加了。不过应该可以google到的(原文基于CE5.0)
-
相关阅读:
解决HbuilderX乱码问题
IDEA
关于Git开发的一些注意事项
postgresql
启动新拉取项目流程
关于能发布但无法打包的问题
关于人脸感知设备(类似门禁考勤设备)搜索添加显示成功但却添加不上的问题
在GitLab上创建项目并上传初始文件
中控标替换成白标开发
工厂模式
-
原文地址:https://www.cnblogs.com/dust/p/1164368.html
Copyright © 2020-2023
润新知