VxWorks?????? - PowerPoint PPT Presentation

About This Presentation
Title:

VxWorks??????

Description:

Title: VxWorks Author: salmon Last modified by: salmon Created Date: 7/4/2006 1:35:17 AM Document presentation format – PowerPoint PPT presentation

Number of Views:95
Avg rating:3.0/5.0
Slides: 48
Provided by: salm94
Category:
Tags: vxworks | vxworks

less

Transcript and Presenter's Notes

Title: VxWorks??????


1
VxWorks??????
  • ???
  • xlanchen_at_ustc.edu.cn
  • http//staff.ustc.edu.cn/xlanchen
  • 2006?7?

2
????
  • VxWorks?Tornado??
  • ????????
  • ????????????
  • ?????????
  • ????
  • VxWorks??????

3
???????????
  • xlanchen_at_2006.7.26

4
1???????
  • Tornado????/???????
  • ???pcPentium??????????????
  • ?????????????????,????????????/???(??VmWare),???
    ?

5
??Bootable Application
6
??BSP?pcPentium
7
1.1 ????config.h
  • ?x86??????????vxWorks???????
  • ????bootrom.sys?????????VxWorks

8
????bootrom.sys
  • bootrom.sys????????BIOS,???????????????????FLASH??
    ,?Vxld??????????
  • ??????????
  • ??VxWorks?????
  • ????????VxWorks??????,??CPU???????????

9
????????VxWorks
  • VxWorks???????????????????,?????bootrom.sys???????
    ????????FLASH?,??????
  • ?bootrom.sys?????????????

10
  • ??????????Tornado?????,??BSP????config.h??????????
  • ??pcPentium??????..\target\config\pcPentium\confi
    g.h

11
config.h
  • config.h??
  • ???
  • ??????????????,?????IDE???SCSI??????????
  • ????(DOSFS?TFFS?CDROMFS?)
  • ????
  • ????
  • ??????

12
???
  • ??????????????????????????/???IP????????FTP???????
    ??
  • ??x86?????,?????????????FLASH????
  • ????????RS232??????????

13
pcPentium\config.h???????
14
  • ?x86???,????????
  • ?? or ??
  • ??????????????
  • ??????
  • ??bootrom?????VxWorks????
  • ??????
  • ??????
  • ??????????
  • ?????????

15
1.2 ????
  • ??0??????
  • ???????????,??????FTP???????VxWorks??
  • ????????????????
  • VxWorks???????config.h
  • ??????,???????INCLUDE_XXX

16
VxWorks?????(from config.h)
17
??1??config.h
  • ?????
  • ????????????????????????????,?????????????
  • ?????????????????
  • ??reboot????????

18
VmWare????
  • "lnPci(0,0)your_host_named\\vxWorks h90.0.0.3
    e90.0.0.50 utarget pwvxworks tntarget"
  • ????
  • ?????lnPci(0,0)
  • ?????,??????,???????your_host_name
  • ??????????????d\\vxWorks
  • ??IP??h90.0.0.3
  • ???IP??e90.0.0.50
  • ???,???FTP?????????????utarget
  • ??,??????FTP???????????????pwvxworks
  • ???,??????,???????tntarget

19
??config.h
  • ??????????
  • ??
  • ?

20
??config.h
  • ????????
  • ??VmWare?????

21
??2.1??bootrom
  • ????Build-gtBuild Boot Rom

22
  • ?????
  • BSP??pcPentium,Image??bootrom?gnu
  • ??OK,???Build Output????????
  • ??????

23
??2.2??VxWorks
  • VxWroks?????

???VxWorks?? ??????
24
  • ??development tool components

??????shell, ??target shell components
25
  • ????build?rebuild all
  • ??????
  • ????????????????default???,?vxWorks

26
??3??????
  • ??????,????????,??RamDiskNT
  • ?windows?cmd?????,??..\target\config\pcPentium??
  • ??format a
  • ???????,????????
  • mkboot a bootrom
  • (??????mkboot??,????..\host\x86-win32\bin?,??torV
    ars.bat

27
??cmd????
28
??4??????
  • ??FTP???
  • ???????FTP???
  • ??Serv_U
  • ?????Tornado???FTP Server
  • ??FTP???????????????????

29
???Tornado???FTP Server
  • ??Tornado??FTP Server
  • ?WFTPD???????Security??User/right
  • ?????????New User

30
  • ????????
  • ????????(??DEFAULT_BOOT_LINE??????)
  • Home Directory
  • ???????????vxWorks?????????,????????vxWorks???????
  • ??????default??????D?

31
??5??????????
  • ????????????
  • ??

32
??7?????????
  • ????Target Server?????????
  • ???Tools?Target Server?Configure
  • ??????
  • ??????????
  • ?Target Servers Property?,??Back End,??Available
    Back???wdbrpc,?Target Ip/Address??????IP

33
  • ?Target Servers Property?,??Core File and
    Symbols,??File?BSP?????????VxWorks,????All
    Symbols
  • Launch
  • ??????????,?????,??

34
1.3 ???????
  • ?????
  • "fd0,0(0,0)host/fd0/vxWorks h90.0.0.3
    e90.0.0.50 utarget
  • ???vxWorks????????(a)
  • ????????,????????????
  • ????????VxWorks,?????????????????????
  • ?????????,VxWorks???????,????????

35
?????????
  • ?????????
  • ???????
  • ?????
  • IP??
  • ????????
  • ??????

36
VxWorks??????
  • xlanchen_at_2006.7.26

37
Bootable Application
  • ??????????,?Workspace???Files??,????

38
  • linkSyms.c
  • ?????????,???????symbols references
  • prjConfig.c
  • ?????????
  • ??VxWorks????????????????
  • romInit.s
  • VxWorks?boot ROM?????

39
  • romStart.c
  • ?VxWorks????RAM
  • sysALib.s
  • ???????????
  • sysLib.c
  • ?????????????
  • userAppInit.c
  • ??????????

40
userAppInit.c
41
??VxWorks???
  • ??Workspace??VxWorks,??????VxWorks?????
  • ???????????
  • ??????,???????????,??????????????
  • ??

42
(No Transcript)
43
???????
  • ????????
  • ??

44
??/??????
  • ?????????????
  • ???????????,??Include ??
  • ???????????,??Exclude??
  • ????????????(???,-),?????????,??????

45
  • ??????????????????,????????,??

46
???????
  • ????????,????????,??

47
?????????
  • ???????Properties?size
Write a Comment
User Comments (0)
About PowerShow.com