Re: Try add some drivers, one is OK but others fail
- From: "Bruce Eitman [eMVP]" <beitman.nospam@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 19 Oct 2006 09:53:50 -0400
Are they dependent on each other in any way?
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"Kein" <Kein.Yuan@xxxxxxxxx> wrote in message
news:1161224555.592982.37920@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Dear all,
I am working with PXA27x with WM5.0 and now want to add three
drivers into the BSP: LCM, MKP and PHI and following is my changes:
platform\bvdmain\drivers\DIRS:
DIRS= \
...
lcm \
Mkp \
Phi \
...
platform\bvdmain\bvdmain.bat:
...
set BSP_NOLCM=
set BSP_NOMKP=
set BSP_NOPHI=
...
bvdmain\files\Platform.reg:
;
; Register settings for LCM
;
IF BSP_NOLCM !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\LCM]
"Prefix"="LCM"
"Dll"="Lcm.Dll"
"Order"=dword:0
"Ioctl"=dword:4
ENDIF BSP_NOLCM !
;
; Register settings for Mkp
;
IF BSP_NOMKP !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\MKP]
"Prefix"="MKP"
"Dll"="Mkp.Dll"
"Order"=dword:0
"Ioctl"=dword:5
ENDIF BSP_NOMKP !
;
; Register settings for PHI;
IF BSP_NOPHI !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PHI]
"Prefix"="PHI"
"Dll"="Phi.Dll"
"Order"=dword:0
"Ioctl"=dword:6
ENDIF BSP_NOPHI !
bvdmain\files\PLATFORM.BIB:
IF BSP_NOLCM !
lcm.dll $(_FLATRELEASEDIR)\lcm.dll NK SH
ENDIF
IF BSP_NOMKP !
mkp.dll $(_FLATRELEASEDIR)\mkp.dll NK SH
ENDIF
IF BSP_NOPHI !
phi.dll $(_FLATRELEASEDIR)\phi.dll NK SH
ENDIF
After build nk.bin and download to the platform,using remote file
viewer I can see lcm.dll, mkp.dll and phi.dll was there. remote
registry also show those entried for LCM, mkp and phi was there.
The strange is, using remote process viewer I can only find lcm.dll
was loaded in device.exe, others like mkp.dll and phi.dll was not at
all.
It should not be the source code problem since all code under
bvdmain\driver\lcm, mkp and phi are all the same except those file
names, SOURCES, TARGETNAME and function name prefix was changed to
lcm, mkp and phi respectively.
Does anybody know why this will happen?
Thanks,
Kein
.
- References:
- Prev by Date: Re: MEMORY tag addressing question
- Next by Date: Re: Time and date getting reset every time
- Previous by thread: Re: Try add some drivers, one is OK but others fail
- Next by thread: Hold after downloading image! why?
- Index(es):
Relevant Pages
|