CONFIG
AUTOSIZE=ON
KERNELFIXUPS=ON
COMPRESSION=ON
FSRAMPERCENT=0x0A0A0A0A
IF IMGMULTIBIN
DLLADDR_AUTOSIZE=ON
XIPSCHAIN=80001000
ENDIF
IF IMGPROFILER
PROFILE=ON
ELSE
PROFILE=OFF
ENDIF
;
; ROMFLAGS is a bitmask of options for the kernel
; ROMFLAGS 0x0001 Disallow Paging
; ROMFLAGS 0x0002 Not all KMode
; ROMFLAGS 0x0010 Trust Module only
;
IF IMGTRUSTROMONLY
IF IMGNOTALLKMODE
ROMFLAGS=13
ELSE
ROMFLAGS=11
ENDIF
ELSE
IF IMGNOTALLKMODE
ROMFLAGS=03
ELSE
ROMFLAGS=01
ENDIF
ENDIF
;
; NOR nbo
;
;ROMSTART=97C00000
; ram image .nb0
ROMSTART=80001000
IF WINCEDEBUG=debug
; For DEBUG build, give it more ROM. Changes must be along with the Eboot\loader.h
ROMSIZE=03000000
ELSE
ROMSIZE=02000000
ENDIF WINCEDEBUG=debug
Error: No room left in memory section. Image is too large for defined regions.
Region XIPKERN from 80002000 to 80502000, has grown to 8086eb14
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).
你的提示里面有这么一句:Region XIPKERN from 80002000 to 80502000, has grown to 8086eb14 ;而你在config.bib里面只给XIPKERN分配了00500000的大小,明显小于它要求的0086eb14;所以你需要将XIPKERN 80002000 00500000 RAMIMAGE更改为XIPKERN 80002000 00900000 RAMIMAGE;当然后面的OEMDRIVER、NK、RAM、DISPLAY对应的地址要相应的改变;看你上面的bib文件,地址分配比较乱啊