• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            milkyway的窩

            最初想法的誕生地

             

            [11月份已解決的問(wèn)題]wince系統(tǒng)如何添加Intel82559er的網(wǎng)卡驅(qū)動(dòng)

            我用的板子是臺(tái)灣研華的PCM-3350,Intel82559er的網(wǎng)卡.由于wince不支持,板子從CF卡啟動(dòng)IMAGE后無(wú)法設(shè)置網(wǎng)絡(luò).

            通過(guò)以下步驟添加Intel82559er的驅(qū)動(dòng)(我用的BSP是CEPC,選用internet 模板定制的OS):

            1.從INTEL下載了intel8255xer for wince5.0的驅(qū)動(dòng),把里頭的e100ce5er.cec導(dǎo)入到目錄中,在Third Party中出現(xiàn)了intel的驅(qū)動(dòng)

            2.參照所下載驅(qū)動(dòng)的config.bib,在OS 的配置文件中加入為網(wǎng)卡保留的memory段,EPKTBUF 801DC000 00020000 RESERVED

            3.在platform.reg中添加驅(qū)動(dòng)的相關(guān)項(xiàng)如下:

            ; Intel(R) 8255x Registry configuration, if enabled
            IF CEPC_INTELFE_PCI

            ;Create registry information for Intel(R) Miniport Driver


            [HKEY_LOCAL_MACHINE\Comm\E100CE]
            ? "DisplayName"="Intel(R) Fast Ethernet Controller"
            ? "Group"="NDIS"
            ? "ImagePath"="e100ce.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\E100CE]
            ;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","8086"
            ? "DeviceID"=multi_sz:"1209","1229","2449","1031","1032","1033","1034","1035","1036","1037","1038","1039","103A","103B"
            ? "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:4
            ? "PortMask"=dword:20F0

            ;Settings for DHCP IP Configuration, if enabled
            IF DHCP
            [HKEY_LOCAL_MACHINE\COMM\PCI\E100CE1\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\E100CE1\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\E100CEB]
            ? "DisplayName"="Intel(R) Fast Ethernet Controller"
            ? "Group"="NDIS"
            ? "ImagePath"="e100ce.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\E100CEB]
            ;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:"103C","103D","103E","1050","1051","1052","1053","1054","1055","1056","1057","2459","245D"
            ? "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:4
            ? "PortMask"=dword:20F0

            ;Settings for DHCP IP Configuration, if enabled
            IF DHCP
            [HKEY_LOCAL_MACHINE\COMM\PCI\E100CEB1\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\E100CEB1\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\Drivers\BuiltIn\PCI\Template\E100CEC]
            ;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:4
            ? "PortMask"=dword:20F0

            ;Settings for DHCP IP Configuration, if enabled
            IF DHCP
            [HKEY_LOCAL_MACHINE\COMM\PCI\E100CEC1\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\E100CEC1\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

            4.在platform.bib的module段,添加E100CE.dll $(_FLATRELEASEDIR)\E100CE.dll NK SH

            5.拷貝e100ce.dll以及e100ce5er,e100ce5.rel三個(gè)文件到%winceroot\platform\yourplatform\files目錄下(其中的yourplatform是指你所選的BSP對(duì)應(yīng)的)

            重新sysgen,注意選中clean before building

            鏡像起來(lái)后,即可設(shè)置網(wǎng)絡(luò)項(xiàng)了

            posted on 2006-12-08 10:55 milkyway 閱讀(3204) 評(píng)論(5)  編輯 收藏 引用 所屬分類: Wince學(xué)習(xí)小結(jié)

            評(píng)論

            # re: [11月份已解決的問(wèn)題]如何添加Intel82559er的網(wǎng)卡驅(qū)動(dòng) 2006-12-08 11:20 相思酸中有甜

            還有幾個(gè)問(wèn)題待解決
            1.雖然鏡象起來(lái)后可以設(shè)置網(wǎng)絡(luò),可是我不明白為何要把e100ce5er.cec和e100ce5.rel拷貝到%winceroot\platform\yourplatform\files目錄下,如果沒(méi)有拷貝,網(wǎng)絡(luò)還是不能設(shè)置.這兩個(gè)文件的作用待考

            2.我用的CEPC的BSP ,在DOS里選loadcepc (local nk),鏡象起來(lái)后的分辨率低,導(dǎo)致窗口字體很大,溢出了.應(yīng)該怎樣設(shè)置才能正常?

            我試過(guò)loadcepc /l:命令,可是它總是停在jumping to...上,無(wú)法啟動(dòng)OS

            3.文件拷貝目錄需要研究.拷貝到%winceroot\platform\yourplatform\files下,所有相同平臺(tái)下的OS都可以用,而拷貝到pbworkspaces/{youros}/reldir下就只能當(dāng)前OS有效了.
            我的理解是和"在platform.bib的module段,添加E100CE.dll $(_FLATRELEASEDIR)\E100CE.dll NK SH"這句有關(guān),所謂的$(_FLATRELEASEDIR)也就是NK將要生成的目錄.如果拷貝到reldir,是在sysgen階段處理的;而如果拷貝到平臺(tái)FILES下是在RELEASECOPY階段拷貝到release目錄下的.
              回復(fù)  更多評(píng)論   

            # re: [11月份已解決的問(wèn)題]wince系統(tǒng)如何添加Intel82559er的網(wǎng)卡驅(qū)動(dòng) 2006-12-09 21:14 相思酸中有甜

            有看到過(guò)資料,說(shuō)是要修改CE_PhysAddr Registry Value與config.bib匹配.我找了許久,應(yīng)該是在platform.reg中設(shè)置但貌似在PB5中已經(jīng)不需要這樣設(shè)置了.  回復(fù)  更多評(píng)論   

            # re: [11月份已解決的問(wèn)題]wince系統(tǒng)如何添加Intel82559er的網(wǎng)卡驅(qū)動(dòng) 2007-01-06 12:19 dailyprg

            樓主你好,我也需要用PCM-3350開(kāi)發(fā),不知可否向你學(xué)習(xí)一下,加我一下,向?qū)W習(xí)
            MSN : dailyprg@hotmail.com
            QQ : 27278085  回復(fù)  更多評(píng)論   

            # re: [11月份已解決的問(wèn)題]wince系統(tǒng)如何添加Intel82559er的網(wǎng)卡驅(qū)動(dòng) 2007-01-14 10:21 相思酸中有甜

            QQ已經(jīng)加你了.問(wèn)題也可以在留言里討論  回復(fù)  更多評(píng)論   

            # re: [11月份已解決的問(wèn)題]wince系統(tǒng)如何添加Intel82559er的網(wǎng)卡驅(qū)動(dòng) 2007-07-20 14:52 劉杰

            你好,我手上有一個(gè)臺(tái)灣研華的PCM-3370的板子,也想做一下上網(wǎng)的功能.但是有很多地方不太明白.你所說(shuō)的網(wǎng)卡,是板子原來(lái)就有的,還是自己后來(lái)加的呢?我現(xiàn)在也在做PC104,但是開(kāi)發(fā)性的東西比較少.希望你能在百忙之中指點(diǎn)我一下.我的QQ是94384249.不勝感激!  回復(fù)  更多評(píng)論   

            導(dǎo)航

            統(tǒng)計(jì)

            公告

            隨筆皆原創(chuàng),文章乃轉(zhuǎn)載. 歡迎留言!

            常用鏈接

            留言簿(37)

            隨筆分類(104)

            隨筆檔案(101)

            文章分類(51)

            文章檔案(53)

            wince牛人

            搜索

            積分與排名

            最新評(píng)論

            閱讀排行榜

            評(píng)論排行榜

            久久久精品国产免大香伊| 久久发布国产伦子伦精品| 精品欧美一区二区三区久久久| 久久99精品国产麻豆蜜芽| 久久人妻少妇嫩草AV蜜桃| 亚洲AV无码久久精品蜜桃| 国产免费久久精品丫丫| 囯产极品美女高潮无套久久久| 精品久久无码中文字幕| 久久久精品人妻无码专区不卡| 久久精品国产精品亚洲精品 | 亚洲天堂久久久| 久久久久久久亚洲Av无码| 久久久这里有精品中文字幕| 久久99精品久久久久久动态图| 久久涩综合| 99久久精品费精品国产| 思思久久99热免费精品6| 久久精品国产亚洲AV嫖农村妇女| 伊人久久国产免费观看视频 | 久久99精品久久久久久野外 | 久久精品国产网红主播| 久久久久九国产精品| 国产一级持黄大片99久久| 亚洲国产精品无码久久一线| 久久综合鬼色88久久精品综合自在自线噜噜| 亚洲精品乱码久久久久久蜜桃图片 | 精品国产一区二区三区久久蜜臀| 久久久av波多野一区二区| 思思久久99热只有频精品66| 精品视频久久久久| 久久精品国产一区二区电影| 国产精品美女久久久久av爽| 93精91精品国产综合久久香蕉| 国产精品日韩深夜福利久久| 人人狠狠综合久久亚洲88| 国产精品久久久久影视不卡| 成人国内精品久久久久一区 | 久久久久无码精品| 久久九色综合九色99伊人| 久久久久久青草大香综合精品|