目前我用VS2005定制intel 8255QM的网卡驱动,但是WINCE启动后看不到添加的网络连接 现在我做了以下几件事 第一我在platform.bib的MODULES中添加了 e100ce6.dll $(_FLATRELEASEDIR)\e100ce6.dll NK SHK 第二我在platform.reg中添加了
IF CEPB_INTELFE_PCI
;Create registry information for Intel(R) Miniport Driver
[HKEY_LOCAL_MACHINE\Comm\E100CE6] "DisplayName"="Intel(R) Fast Ethernet Controller" "Group"="NDIS" "ImagePath"="e100ce6.dll"
;Create registry information for template (will be copied to ALL instances of ;adapters using the Intel Miniport Driver)
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\E100CE6] ;PCI Bus Enumeration Information "Class"=dword:02 "SubClass"=dword:00 "ProgIF"=dword:0 "VendorID"=multi_sz:"8086","8086","8086","8086","8086","8086","8086","8086","8086","8086","8086","8086","8086" "DeviceID"=multi_sz:"1229","2449","1031","1032","1033","1034","1035","1036","1037","1038","1039","103A","103B" "Dll"="NDIS.dll" "Entry"="NdisPCIBusDeviceInit" "Transceiver"=dword:3 "MiniPort"="E100CE6" ;Installable ISR Handler Information "IsrDll"="giisr.dll" "IsrHandler"="ISRHandler" "PortIsIO"=dword:0 "PortOffset"=dword:0 "PortSize"=dword:2 "PortMask"=dword:FF00
;Settings for DHCP IP Configuration, if enabled IF DHCP [HKEY_LOCAL_MACHINE\COMM\PCI\E100CE61\Parms\TcpIp] "EnableDHCP"=dword:1 ; This should be MULTI_SZ "DefaultGateway"="" ; Use zero for broadcast address? (or 255.255.255.255) "UseZeroBroadcast"=dword:0 ; This should be MULTI_SZ, the IP address list "IpAddress"="0.0.0.0" ; This should be MULTI_SZ, the subnet masks for the above IP addresses "Subnetmask"="0.0.0.0" ENDIF ;//DHCP
;Settings for static IP configuration, if enabled IF STATIC_IP [HKEY_LOCAL_MACHINE\COMM\PCI\E100CE61\Parms\TcpIp] "EnableDHCP"=dword:0 ; This should be MULTI_SZ "DefaultGateway"="1.2.3.0" ; Use zero for broadcast address? (or 255.255.255.255) "UseZeroBroadcast"=dword:0 ; This should be MULTI_SZ, the IP address list "IpAddress"="1.2.3.4" ; This should be MULTI_SZ, the subnet masks for the above IP addresses "Subnetmask"="255.0.0.0" ENDIF ;//Static IP
[HKEY_LOCAL_MACHINE\Comm\E100CE6B] "DisplayName"="Intel(R) Fast Ethernet Controller" "Group"="NDIS" "ImagePath"="e100ce6.dll"
;Create registry information for template (will be copied to ALL instances of ;adapters using the Intel Miniport Driver)
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\E100CE6B] ;PCI Bus Enumeration Information "Class"=dword:02 "SubClass"=dword:00 "ProgIF"=dword:0 "VendorID"=multi_sz:"8086","8086","8086","8086","8086","8086","8086","8086","8086","8086","8086" "DeviceID"=multi_sz:"103C","103D","103E","1050","1051","1052","1053","1054","1055","1056","1057" "Dll"="NDIS.dll" "Entry"="NdisPCIBusDeviceInit" "Transceiver"=dword:3 ;Installable ISR Handler Information "IsrDll"="giisr.dll" "IsrHandler"="ISRHandler" "PortIsIO"=dword:0 "PortOffset"=dword:0 "PortSize"=dword:2 "PortMask"=dword:FF00
;Settings for DHCP IP Configuration, if enabled IF DHCP [HKEY_LOCAL_MACHINE\COMM\PCI\E100CE6B1\Parms\TcpIp] "EnableDHCP"=dword:1 ; This should be MULTI_SZ "DefaultGateway"="" ; Use zero for broadcast address? (or 255.255.255.255) "UseZeroBroadcast"=dword:0 ; This should be MULTI_SZ, the IP address list "IpAddress"="0.0.0.0" ; This should be MULTI_SZ, the subnet masks for the above IP addresses "Subnetmask"="0.0.0.0" ENDIF ;//DHCP
;Settings for static IP configuration, if enabled IF STATIC_IP [HKEY_LOCAL_MACHINE\COMM\PCI\E100CE6B1\Parms\TcpIp] "EnableDHCP"=dword:0 ; This should be MULTI_SZ "DefaultGateway"="1.2.3.0" ; Use zero for broadcast address? (or 255.255.255.255) "UseZeroBroadcast"=dword:0 ; This should be MULTI_SZ, the IP address list "IpAddress"="1.2.3.4" ; This should be MULTI_SZ, the subnet masks for the above IP addresses "Subnetmask"="255.0.0.0" ENDIF ;//Static IP
[HKEY_LOCAL_MACHINE\Comm\E100CE6C] "DisplayName"="Intel(R) Fast Ethernet Controller" "Group"="NDIS" "ImagePath"="e100ce6.dll"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\E100CE6C] ;PCI Bus Enumeration Information "Class"=dword:02 "SubClass"=dword:00 "ProgIF"=dword:0 "VendorID"=multi_sz:"8086","8086","8086","8086","8086","8086","8086","8086" "DeviceID"=multi_sz:"1064","1065","1066","1067","1068","1069","106A","106B" "Dll"="NDIS.dll" "Entry"="NdisPCIBusDeviceInit" "Transceiver"=dword:3 ;Installable ISR Handler Information "IsrDll"="giisr.dll" "IsrHandler"="ISRHandler" "PortIsIO"=dword:0 "PortOffset"=dword:0 "PortSize"=dword:2 "PortMask"=dword:FF00
;Settings for DHCP IP Configuration, if enabled IF DHCP [HKEY_LOCAL_MACHINE\COMM\PCI\E100CE6C1\Parms\TcpIp] "EnableDHCP"=dword:1 ; This should be MULTI_SZ "DefaultGateway"="" ; Use zero for broadcast address? (or 255.255.255.255) "UseZeroBroadcast"=dword:0 ; This should be MULTI_SZ, the IP address list "IpAddress"="0.0.0.0" ; This should be MULTI_SZ, the subnet masks for the above IP addresses "Subnetmask"="0.0.0.0" ENDIF ;//DHCP
;Settings for static IP configuration, if enabled IF STATIC_IP [HKEY_LOCAL_MACHINE\COMM\PCI\E100CE6C1\Parms\TcpIp] "EnableDHCP"=dword:0 ; This should be MULTI_SZ "DefaultGateway"="1.2.3.0" ; Use zero for broadcast address? (or 255.255.255.255) "UseZeroBroadcast"=dword:0 ; This should be MULTI_SZ, the IP address list "IpAddress"="1.2.3.4" ; This should be MULTI_SZ, the subnet masks for the above IP addresses "Subnetmask"="255.0.0.0" ENDIF ;//Static IP
ENDIF ;//Intel(R) miniport registry additions. 第三我在项目的环境变量中添加了CEPB_INTELFE_PCI =1 第四我把下载的几个文件复制到了platform\cepc\files的目录下 第五 以前在5.0会有一个cec文件,但是6.0没有只有pbcxml,我用vs2005打开cec就报错,怎么改都不对,所以我也就没有转换,添加这个catalog. 但现在问题是在NK.BIN中可以看到网卡的DLL和注册表的信息,但是OS启动后看不到这个网卡的连接,希望大家能帮我解决这个问题,谢谢啊
|