wince编译问题集锦

来源:互联网 发布:淘宝双十一客服招聘 编辑:程序博客网 时间:2024/04/30 14:05

1.

Error: Could not find file 'D:\WINCE420\PUBLIC\SMDK2410_1\RelDir\SAMSUN~2\irsir.dll' on disk
irsir.dll D:\WINCE420\PUBLIC\SMDK2410_1\RelDir\SAMSUN~2\irsir.dll NK SH
Error: failed setting line
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
Error PB2505: Error executing #(D:\WINCE420\PUBLIC\SMDK2410_1\RelDir\SAMSUN~2\)makeimg.exe.


SMDK2410_1 - 5 error(s), 29 warning(s)


在'D:\WINCE420\PUBLIC\SMDK2410_1\RelDir\SAMSUN~2\

问题解决方法:


这个路径下找到platform.bib文件,找到 irsir.dll 。。。。。 NK SH

这句话,在前面加上分号,把这句话注释掉,然后重新makeimg下载就行了

原因是你定制系统的时候没有选择支持红外和蓝牙设备,导致没有生成这个dll,系统找不到这个文件了。

或者你在配置的时候选上红外也行!

2.

Error: Ram start overlaps rom binary
Rom end : 0x8e31dd94
Ram start: 0x8e02e000
NK
physfirst 8c200000
physlast 8e31dd94
ulRAMFree 8e02e000
Fatal error hit, exiting...
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
解决方法:在PLATFORM ->SETTING->BUILD OPTIONS选上ENABLE IMAGES LARGER THAN 32M
或者少加一下组件!
在PB定制的时候添加了Web Server组件,结果就出现了Ram start overlaps rom binary的错误,
结果修改config.bib文件也没有用还是同样的错误,
后来在Platform\Setting\Build Optins中也把Enable image Large than 32M选项勾上了,
但是错误还是在。

今天在做调试的过程中,在优龙P2410提供的BSP包中的YLLP2410工程基础上,添加了一些自己需要的组件,经编译,出现一下提示
Error: Ram start overlaps rom binary
经过分析发现此错误应该是因为内核文件超出了29M的范围,通过修改了config.bib文件的
1、#deine NKLEN 01D00000
   改为         01F00000
2、#define RAMSTART 8E000000
   改为             8E200000
3、#define RAMLEN   02000000
   改为             01E00000
修改原则为:1、NKSTART+NKLEN<RAMSTART
            2、RAMSTART+RAMLEN<90000000
重新编译后编译通过

原创粉丝点击