青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

posts - 54, comments - 32, trackbacks - 0, articles - 0

首先正常安裝這個驅(qū)動
Using the Sysgen Capture Tool 宋氏電電流電壓表

  1. From a command prompt, in your OS design directory, create two subdirectories for the driver. One is for a library corresponding to your driver and the other is for your driver's binary file, which can be a DLL or EXE. (建立src文件夾的copy,改名為DLL,一個生成lib,另一個生成DLL,ep93xx\src\Drivers下面建立目錄dm9isa,然后在下面建立子目錄LIBDLL

For example, to customize Com16550.dll, create a subdirectory named %_TARGETPLATROOT%\Drivers\Com16550\Src for the library and %_TARGETPLATROOT%\Drivers\Com16550\DLL for the binary file.

Note   If you were customizing an executable such as Etcha.exe, then you might create %_TARGETPLATROOT%\Apps\Etcha\Src and %_TARGETPLATROOT%\Apps\Etcha\EXE.

  1. Verify that the library name for your driver module is different from the name for your driver's binary file. TARGETNAMEdm9isa要更名為dm9isa_lib

In this example, Com16550.dll is built by linking Com16550_lib.lib. Most DLL Sysgen targets use the *_lib.lib naming convention because if you do not differentiate the library file and binary file names, the driver's import library has the same name as the static library containing its code. This may result in build problems that are difficult to diagnose accurately.

  1. Copy the Public directory that contains code for the module that you want to build into the Src directory that you created. In this example, you would copy the files from Public\Common\OAK\Drivers\Serial\Com16550\*.*. (COPY DM9ISA的源碼到ep93xx\src\Drivers\dm9isa\LIBep93xx\src\Drivers\dm9isa\DLL)
  2. Navigate to the %_TARGETPLATROOT%\Drivers\Com16550\Src directory. Use a text editor to open the Sources file, and then add the following line.
RELEASETYPE=PLATFORM(SOURCES文件中增加RELEASETYPE=PLATFORM,這樣BUILD之后的LIB文件就會生成到PLATFORM\EP93XX\LIB下面
不然原本會生成到PROJECT目錄的\OAK\LIB下面下面)

If a RELEASETYPE line already exists in the Sources file, then change its value to PLATFORM. This tells the build system that output files should be placed in your OS design's Lib or target directories.

  1. Verify that the following line appears in the Sources file, and then save the file and close the text editor.
WINCEOEM=1(Sources文件中添加WINCEOEM=1,去掉WINCETARGETFILE0=$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\dm9isa.def)

This tells the build system to include portions of header files that are only available to OEMs who are building run-time images.

  1. Build the library in %_TARGETPLATROOT%\Drivers\Com16550\Src. If there are any errors, resolve them before proceeding. A successful build creates and places the file Com16550_lib.lib in the appropriate subdirectory of %_TARGETPLATROOT%\lib. BUILD –C生成LIBPLATFORM\EP93XX\LIB\dm9isa_lib.lib
  2. Navigate to the directory for your driver's binary file. For example, navigate to %_TARGETPLATROOT%\Drivers\Com16550\DLL. (切換目錄到ep93xx\src\Drivers\dm9isa\DLL)
  3. Run Sysgen_capture with the usual Sysgen parameters. For example, type the following line to execute Sysgen_capture with Com16550 as a target.
Sysgen_capture com16550(執(zhí)行SYSGEN_CAPTURE DM9ISA,生成souces.DM9ISA系統(tǒng)會去抓系統(tǒng)MAKEFILE.DEF中模塊的一些信息

This creates one or more files, one of which is a Sources file with the name of the driver as the file extension. For example, a file created using Com16550 as a target would be named Sources.com16550. The Sysgen_capture.bat utility creates one such file for each .dll or .exe target created while running your Sysgen command.

  1. Rename the sources file for your driver as Sources. For example, remove the extension .com16550 from the file name Sources.com16550. (souces.DM9ISA更名為sources)
  2. Copy one of the selected module's sample Makefiles into your Src directory. At a minimum, you need a Sources file and a Makefile to run Build.exe. (LIB中的Makefiles拷貝到DLL)

For example, copy the Makefile located in %_TARGETPLATROOT%\Drivers\Com16550\Src into %_TARGETPLATROOT%\Drivers\Com16550\DLL.

  1. Run Build.exe. This creates the same binary as the standard Sysgen command, and places it in your OS design's target directory, which is a subdirectory of %_TARGETPLATROOT%\target. Examine Build.log to determine where the binary was created. (在ep93xx\src\Drivers\dm9isa\DLL中,BUILD -C

Note   This version of the driver uses the standard version of Com16550_lib.lib, not the version that you created in %_TARGETPLATROOT%\Drivers\Com16550\src.

  1. In %_TARGETPLATROOT%\Drivers\Com16550\Src, open the sources file in a text editor. Remove the TARGETLIBS, or SOURCELIBS, entry for Com16550_lib.lib, and move it to SOURCELIBS, changing the path as appropriate. You may need to replace occurrences of %_PUBLICROOT%\common\oak with %_TARGETPLATROOT%. ($(_PUBLICROOT)\common\oak\lib\$(_CPUINDPATH)\dm9isa.lib \改為$(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\dm9isa_lib.lib,即鏈接本地的LIB)
  2. Navigate to the directory for your driver's binary file, for example, %_TARGETPLATROOT%\Drivers\Com16550\DLL, and then run Build.exe. Build.exe builds the target binary using your version of Com16550_lib.lib, which you can confirm by examining Build.log. (鏈接你自己生成的LIB之后(ep93xx\src\drivers\lib\ dm9isa_lib.lib,DM9ISADLL編譯,完全本地化)

Note   In order to delete all the object files, you may need to run Build.exe with the –c parameter.

  1. In the %_TARGETPLATROOT%\Drivers\Com16550 directory, create a Dirs file that lists, in order, the Src and DLL, or EXE, directories. This enables you to build your modified version of %_TARGETPLATROOT%\Drivers\Com16550\Src and link an executable with one build command. (在ep93xx\src\drivers\dm9isa目錄下創(chuàng)建dirs文件,添加LIBDLL,注意順序,先編譯LIB,然后生成DLL
  2. Run Build.exe with the –c option in the %_PROJECTROOT%\CustomDriver directory and confirm that the contents of both the Src and DLL, or EXE, subdirectories are built, and that the driver links successfully. (ep93xx\src\drivers\dm9isa運行BUILD –C即可在本地BSP編譯鏈接,生成DM9ISA.DLL文件,不用SYSGEN整個系統(tǒng),且避免影響其他平臺。)

只有注冊用戶登錄后才能發(fā)表評論。
網(wǎng)站導航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <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>
            亚洲人妖在线| 国外精品视频| 一区二区免费在线播放| 欧美高清在线一区| 亚洲黄一区二区| 亚洲靠逼com| 中文欧美日韩| 久久欧美中文字幕| 欧美日韩一区二区视频在线| 欧美日韩理论| 国产一区二区三区电影在线观看| 禁久久精品乱码| 一区二区三区免费观看| 欧美一区二区三区免费在线看| 久久久久久久一区二区三区| 亚洲国产婷婷香蕉久久久久久| 这里只有精品视频在线| 久久亚洲综合网| 欧美视频一区二区在线观看| 国产日韩欧美综合在线| 亚洲精品在线观看视频| 欧美在线视频一区二区| 亚洲精品午夜| 久久久久久亚洲精品中文字幕| 欧美性开放视频| 国产精品日韩精品欧美在线| 在线观看日韩av先锋影音电影院| 99re热精品| 久久久久综合| 中文av一区特黄| 欧美成人性网| 激情久久综艺| 久久动漫亚洲| 一本久久知道综合久久| 老鸭窝亚洲一区二区三区| 国产精品日韩在线| 亚洲视频www| 亚洲激情在线| 葵司免费一区二区三区四区五区| 国产精品女人网站| 制服丝袜激情欧洲亚洲| 欧美激情第3页| 久久久福利视频| 国产一区二区三区免费不卡| 亚洲欧美日韩在线| 一本一本久久a久久精品牛牛影视| 麻豆国产精品va在线观看不卡| 国产欧美一区二区精品性色| 亚洲欧美日韩另类精品一区二区三区| 亚洲国产视频一区二区| 欧美成人综合| 亚洲精品综合在线| 亚洲人体偷拍| 欧美黄色免费| 一本色道久久综合精品竹菊 | 亚洲欧美一区二区视频| 亚洲精品视频在线播放| 欧美激情欧美狂野欧美精品| 亚洲麻豆一区| 日韩午夜三级在线| 欧美特黄一区| 欧美在线视频免费观看| 欧美一级黄色录像| 狠狠入ady亚洲精品经典电影| 久久精品国产亚洲一区二区| 性欧美超级视频| 激情亚洲网站| 亚洲成人在线网| 欧美片网站免费| 亚洲一区国产视频| 欧美一级久久| 亚洲日韩成人| 亚洲视频精品| 狠狠色狠狠色综合日日小说| 男女av一区三区二区色多| 欧美不卡在线视频| 亚洲图片欧美午夜| 欧美影院成年免费版| 在线免费观看视频一区| 亚洲日本理论电影| 国产精品永久免费视频| 欧美不卡三区| 国产精品国码视频| 亚洲毛片在线免费观看| 国产精品视频自拍| 久久婷婷亚洲| 欧美日韩免费区域视频在线观看| 午夜久久资源| 欧美不卡视频一区发布| 亚洲免费在线播放| 久久午夜激情| 午夜精品久久久久久久| 欧美aaa级| 久久激情综合| 欧美巨乳波霸| 毛片一区二区三区| 欧美三日本三级少妇三99| 久久另类ts人妖一区二区| 欧美精品在线极品| 久久精品国产第一区二区三区最新章节 | 国产日本欧美一区二区三区| 欧美高清视频一区二区| 国产精品久久夜| 91久久国产精品91久久性色| 国产亚洲午夜| 亚洲桃色在线一区| 一级成人国产| 暖暖成人免费视频| 久久久久免费观看| 国产精品乱码| 99re6热在线精品视频播放速度| 一区二区亚洲精品国产| 亚洲综合精品四区| 亚洲一区二区视频| 欧美精品一区二区视频| 亚洲高清毛片| 亚洲国产影院| 毛片一区二区| 欧美成人综合| 亚洲国产第一页| 久久久久久久尹人综合网亚洲| 欧美亚洲日本一区| 国产精品99一区二区| 亚洲精品国产品国语在线app| 在线观看成人网| 久久久久久9999| 久久综合久色欧美综合狠狠 | 久久香蕉国产线看观看av| 久久精品国产免费| 国产精品视频999| 一区二区日韩伦理片| 亚洲一区二区三区高清| 欧美日韩综合在线免费观看| 亚洲剧情一区二区| 国产精品99久久99久久久二8| 欧美精品123区| 99re热这里只有精品免费视频| 日韩亚洲精品视频| 欧美日韩久久| 亚洲视频1区| 久久www成人_看片免费不卡| 国产伦精品一区二区三区四区免费| 亚洲调教视频在线观看| 午夜日韩在线观看| 国产专区精品视频| 久久精品国产综合精品| 亚洲午夜一级| 欧美日韩综合久久| 一本色道久久综合亚洲二区三区| 正在播放日韩| 国产精品久久久久久久久久直播| 在线一区二区日韩| 久久久国产成人精品| 亚洲国产精品成人精品| 欧美日韩国内自拍| 亚洲欧美日本国产有色| 久久综合国产精品| 日韩视频免费大全中文字幕| 国产精品swag| 久久精品国内一区二区三区| 欧美国产欧美亚洲国产日韩mv天天看完整| 亚洲国产成人91精品| 欧美伦理在线观看| 午夜久久美女| 亚洲黄网站在线观看| 午夜精品免费| 亚洲国产成人精品视频| 欧美日韩一区二区三区在线| 欧美亚洲综合网| 亚洲精品1区| 久久久久免费视频| 9久草视频在线视频精品| 国产精品一区二区三区四区五区| 久久久久综合| 亚洲校园激情| 亚洲成色精品| 久久大逼视频| 一本色道久久综合亚洲精品高清| 国产日韩欧美视频| 欧美日韩国产综合视频在线观看中文| 午夜精品偷拍| 一区二区三区精品久久久| 欧美**字幕| 午夜久久美女| 中文有码久久| 亚洲精品久久久久久久久久久 | 一本色道88久久加勒比精品| 国内在线观看一区二区三区 | 免费看亚洲片| 欧美在线视频一区二区三区| 9色porny自拍视频一区二区| 亚洲福利视频二区| 久久亚洲色图| 欧美在线视频不卡| 亚洲一区网站| 亚洲夜晚福利在线观看| 日韩一级精品视频在线观看| 在线欧美电影| 亚洲国产毛片完整版| 激情久久久久久久久久久久久久久久|