最近重装了pb,然后又遇到安装问题,(这里说1下pb重新安装后会有问题导致平台不能选择安装好的bsp)费了好大劲才把平台重新编译好,但现在又遇到一个问题:
我想在映象中加入一个LED驱动的dll,如下是该dll的sources文件
TARGETNAME=at91sam9261ek_Led
RELEASETYPE=PLATFORM
TARGETTYPE=DYNLINK
TARGETLIBS= \
$(_COMMONSDKROOT)\lib\$(_CPUINDPATH)\coredll.lib \
SOURCELIBS= \
$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\devcore.lib \
$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ceddk.lib \
DEFFILE=LedDriver.def
PREPROCESSDEFFILE=1
DLLENTRY=LED_DllEntry
CDEFINES=$(CDEFINES)
SOURCES= \
LedDriver.c \
FILE_VIEW_RESOURCE_FOLDER= \
LedDriver.def \
LedDriver.reg \
FILE_VIEW_INCLUDES_FOLDER= \
LedDriver.h \
LedDriver_DbgZones.h \
我已经单独编译生成了at91sam9261ek_Led.dll,可是在我在编译nk.nb0时,pb的窗口出现了如下警告:
Copying D:\WINCE500\PBWorkspaces\mydesign1\RelDir\my9261_ARMV4I_Debug\kernkitl.exe to D:\WINCE500\PBWorkspaces\mydesign1\RelDir\my9261_ARMV4I_Debug\nk.exe for debugger
Pass 1...
Warning: Unable to do imports from at91sam9261ek_Led.dll to CEDDK.dll - will late bind
Pass 2...
RAM AutoSize: RAM Start=803c0000 RAM Size=03b40000
Module kd.dll at offset 02001000 data, 04001000 code
Module hd.dll at offset 02001000 data, 04001000 code
Module osaxst0.dll at offset 02001000 data, 04001000 code
Module osaxst1.dll at offset 02001000 data, 04001000 code
Module coredll.dll at offset 01ffe000 data, 03f51000 code
Module relfsd.dll at offset 01ffc000 data, 03f41000 code
Module shellcelog.dll at offset 01ffa000 data, 03f31000 code
Module toolhelp.dll at offset 01ff8000 data, 03f21000 code
Module fsdmgr.dll at offset 01ff6000 data, 03ef1000 code
Module at91sam9261ek_Led.dll at offset 01ff4000 data, 03ee1000 code
Found pTOC at 00009c14
No imports for nk.exe
No imports for kd.dll
No imports for hd.dll
No imports for osaxst0.dll
No imports for osaxst1.dll
No imports for coredll.dll
Warning: Unable to do imports from at91sam9261ek_Led.dll to CEDDK.dll - will late bind
Processing NK MODULES Section
Module Section Start Length psize vsize Filler
---------------------- -------- --------- ------- ------- ------- ------
nk.exe .text 8014e000 782336 779776 779592 o32_rva=00001000
nk.exe reset 8020d000 4096 512 260 o32_rva=000c0000
nk.exe .pdata 8020e000 12288 10752 10752 o32_rva=0012a000
kd.dll .text 80212000 135168 131584 131541 o32_rva=00001000
kd.dll .pdata 80233000 4096 1536 1120 o32_rva=00035000
hd.dll .text 80235000 20480 19968 19773 o32_rva=00001000
hd.dll .pdata 8023a000 4096 512 176 o32_rva=00007000
osaxst0.dll .text 8023c000 163840 160256 159876 o32_rva=00001000
osaxst0.dll .pdata 80264000 4096 1024 816 o32_rva=0002d000
osaxst1.dll .text 80266000 32768 31232 30948 o32_rva=00001000
osaxst1.dll .pdata 8026e000 4096 512 368 o32_rva=0000a000
coredll.dll .text 8026f000 565248 562176 561719 o32_rva=00001000
coredll.dll .rsrc 802f9000 73728 72192 71856 o32_rva=00091000
filesys.exe .text 8030b000 352256 350720 350476 o32_rva=00001000
filesys.exe .rsrc 80361000 4096 512 164 o32_rva=00063000
relfsd.dll .text 80362000 28672 27648 27552 o32_rva=00001000
shell.exe .text 80369000 90112 87040 86996 o32_rva=00001000
shellcelog.dll .text 8037f000 16384 12800 12475 o32_rva=00001000
shellcelog.dll .pdata 80383000 4096 512 176 o32_rva=00006000
toolhelp.dll .text 80384000 8192 5120 4799 o32_rva=00001000
toolhelp.dll .pdata 80386000 4096 512 192 o32_rva=00004000
fsdmgr.dll .text 80387000 163840 160256 160182 o32_rva=00001000
at91sam9261ek_Led.dll .text 803af000 8192 7680 7400 o32_rva=00001000
at91sam9261ek_Led.dll .pdata 803b1000 4096 512 152 o32_rva=00004000
nk.exe .KDATA 80239d40 0 0 24576 FILLER->803c0000
nk.exe .data 8020c548 2401 2401 402012 FILLER->803c6000
kd.dll .data 80233460 2493 2493 74120 FILLER->80429000
hd.dll .data 80368ba0 1098 1098 2420 FILLER->8043c000
osaxst0.dll .data 8037e3d4 2114 2114 12440 FILLER->8043d000
osaxst1.dll .data 80210a00 1122 1122 2400 FILLER->80441000
coredll.dll .data 8036090c 1134 1134 4229 FILLER
coredll.dll .pdata 803b2000 7605 7605 15880
filesys.exe .data 803b0ce8 748 748 37880 FILLER
filesys.exe .pdata 80264330 3099 3099 5672 FILLER
relfsd.dll .data 80239d40 272 272 2780 FILLER
relfsd.dll .pdata 80360d7c 460 460 712 FILLER
shell.exe .data 8026d8e4 564 564 9708 FILLER
shell.exe .pdata 8026db18 506 506 720 FILLER
shellcelog.dll .data 80239e50 252 252 1800 FILLER
toolhelp.dll .data 80239f4c 35 35 88 FILLER
fsdmgr.dll .data 8026dd14 538 538 2056 FILLER
fsdmgr.dll .pdata 803852c0 2335 2335 4320 FILLER
at91sam9261ek_Led.dll .data 80210e64 212 212 1140 FILLER
nk.exe E32 80239f70 112 FILLER
nk.exe O32 80210f38 120 FILLER
kd.dll E32 80360f48 112 FILLER
kd.dll O32 80210fb0 72 FILLER
hd.dll E32 8026df30 112 FILLER
hd.dll O32 80360fb8 72 FILLER
osaxst0.dll E32 8030a8b0 112 FILLER
osaxst0.dll O32 8026dfa0 72 FILLER
osaxst1.dll E32 8030a920 112 FILLER
osaxst1.dll O32 8030a990 72 FILLER
coredll.dll E32 8030a9d8 112 FILLER
coredll.dll O32 8030aa48 96 FILLER
filesys.exe E32 8030aaa8 112 FILLER
filesys.exe O32 8030ab18 96 FILLER
relfsd.dll E32 8030ab78 112 FILLER
relfsd.dll O32 8030abe8 72 FILLER
shell.exe E32 8030ac30 112 FILLER
shell.exe O32 8030aca0 72 FILLER
shellcelog.dll E32 8030ace8 112 FILLER
shellcelog.dll O32 8030ad58 72 FILLER
toolhelp.dll E32 8030ada0 112 FILLER
toolhelp.dll O32 8030ae10 72 FILLER
fsdmgr.dll E32 8030ae58 112 FILLER
fsdmgr.dll O32 8030aec8 72 FILLER
at91sam9261ek_Led.dll E32 8030af10 112 FILLER
at91sam9261ek_Led.dll O32 8030af80 72 FILLER
然后再运行这个印象时,其他的dll kitl都加载完了就是没有加载它如下:
45635 PID:23ee88ca TID:23ebd002 0x83eebbb4: Loaded LMemDebug in process
46465 PID:23ee88ca TID:23ebd002 0x83eebbb4: Shell: No extension DLLs found
这是为什么啊???
恳请大家帮帮忙啊!!