SkyEye?? - PowerPoint PPT Presentation

About This Presentation
Title:

SkyEye??

Description:

Title: SkyEye Author: salmon Last modified by: salmon Created Date: 5/21/2006 1:22:47 AM Document presentation format: Other titles – PowerPoint PPT presentation

Number of Views:30
Avg rating:3.0/5.0
Slides: 41
Provided by: sal6155
Category:
Tags: skyeye | cygwin

less

Transcript and Presenter's Notes

Title: SkyEye??


1
SkyEye??
  • xlanchen_at_2006.5.24

2
????
  • SkyEye??
  • SkyEye??????

3
SkyEye??
  • SkyEye?????????,????????
  • SkyEye??????
  • ?????????????????????,???????????????,??????????
    ??????????????

4
  • SkyEye???????Linux?Windows????????????????,?????
    ???????????
  • ????SkyEye???????
  • 1)?????????,?ARM Linux?µClinux?µC/OS-II?elastos2
    )??????,??? ?TCP/IP???-lwIP,?????-MiniGUI?
  • ???????????????????????

5
SkyEye??????
  • ??,SkyEye????????,??CPU??????????????????????????
    ?????
  • CPU??????
  • ??SkyEye?????CPU?????ARM???CPU,??ARM7TDMI,ARM720T,
    ARM9TDMI,ARM9xx,ARM10xx,StrongARM,XScale?

6
  • ??SkyEye????????
  • ??Atmel 91X40/AT91RM92 CPU????,??Crirus Logic
    ep7312???????StrongARM CPU?ADSBITSY???,??XScale
    PXA250 CPU?LUBBOCK??????SAMSUNG S3C4510B/S3C44B0
    CPU???????SHARP LH7A400 CPU???????Philip
    LPC22xx CPU??????
  • ???????????????????RAM?ROM?LCD???????????

7
  • ????????????
  • MMUMemory Management Unit,???????,??????????????
    ?
  • MMU????????1)???????????2)???????????
  • MMU???,??????????????

8
  • TLB,Translation Lookaside Buffers?MMU?,??????????
    ??????
  • ??????????????????,??,???????
  • ?CPU???????????,????TLB?????????
    ?????,??????,?????translation table,??Translation
    Table Walk(??TTW)???TTW???,?????????TLB?????TLB??
    ??????????

9
  • CACHE,???????????? ????,???????????????,??????CPU
    ???????????
  • write/read buffer????write/read
    buffer????????CACHE??????

10
  • MMU?CACHE?write/read buffer??????CPU???????,?????C
    PU?MMU?CACHE?write/read buffer????????????????????
    ???CPU?MMU/CACHE,SkyEye????????MMU/CACHE??????
    ????????????????????MMU/CACHE??????????

11
  • ????
  • ??SkyEye???????8019AS,
  • ????NE2000??,?? 16KRAM???,10MB?????
  • ???????????????????8019AS,?????????????????8019AS
    ????

12
SkyEye???
  • Linux????
  • WindowsMingW?cygwin

13
?Kubuntu???SkyEye
  • ?????Linux???
  • uname????????????uname --help????uname???????

14
?Kubuntu???SkyEye
  • ???????
  • ?????,?????
  • ?????????

15
?Kubuntu??????????
  • ??????SkyEye?????
  • ?www.skyeye.org?????????
  • ??????
  • ??????????
  • /usr/local/ ??/opt/
  • bz2????tar -xjvf ?????

?
16
?Kubuntu??????????
  • skyeye???????????bin????
  • ?skyeye??????PATH
  • ??/.bashrc???? export PATHPATH????/skyeye-ins
    ight/bin(???)

?
17
?
?
18
  • ??????.bashrc??,????????,?????????
  • ????????
  • ??echo PATH
  • ?sky??tab???
  • OK?
  • ??skyeye,????skyeye???,??

19
?
?
20
SkyEye???
  • ?µcLinux????????,???µcLinux
  • ????µcLinux????????????
  • ?skyeye?????µcLinux??

21
????????
  • www.uclinux.org?uclinux??????????????
  • ?arm-elf-tools-20030314.sh
  • ??
  • ?root?????
  • sh ./arm-elf-tools-20030314.sh
  • ????
  • ? arm-elf??shell?tab?????????arm-elf?????,?
  • binutils???gcc?gdb??
  • ???????arm-elf-gcc -v

22
(No Transcript)
23
??arm-elf-gcc
  • ???

24
??arm-elf-gcc
  • ??
  • arm-elf-gcc -Wl,-elf2flt -o hello hello.c
  • ???????
  • hello?hello.gdb
  • ??hello???
  • file hello
  • ????hello???

25
?
-Wl,-elf2flt???????elf?????flt???
?
?
BFLT??binary FLAT
26
??hello
  • hello???target???,???host?
  • ????target?????
  • skyeye???
  • µcLinux??????
  • ??????
  • ??

27
??µcLinux????
  • ????
  • ??skyeye???????
  • ????????µcLinux

28
????µcLinux
  • ?µcLinux???????????????uClinux-dist-20051110
  • ??tar -xzvf???,??uClinux-dist??
  • ?uClinux-dist???
  • ?????µcLinux ??make config?vendor/product?????
    GDB/ARMulatorKernel????2.4.x??????(??????)

29
  • ???????µcLinux???????make dep make
  • ?????

?
?
30
?skyeye??µcLinux
  • ???,??skyeye???????
  • vi skyeye.conf
  • ???,???????boot.rom
  • ??ln -s images/romfs.img boot.rom

31
  • ???,?skyeye???µcLinux
  • ??sudo skyeye linux-2.4.x/linux
  • ??skyeye?,
  • ??1target sim
  • ??2load
  • ??3run
  • ??µcLinux

32
????
33
????µcLinux?????
  • ??skyeye?????
  • skyeye-binary-testutils-1.2.0
  • ??tar -xjvf ???

?
34
  • ??µcLinux????????
  • ??skyeye??µcLinux
  • skyeye linux
  • target sim
  • load
  • run

35
???,?hello???µcLinux??????
  • ?boot.rom?????host???,????
  • mkdir romfs
  • mkdir /mnt/tmp
  • mount -o loop boot.rom /mnt/tmp
  • cp -r /mnt/tmp/ romfs
  • ?hello???romfs??bin???
  • ????boot.rom??
  • genromfs -f boot.rom d romfs/

36
??/mnt/tmp??
??????romfs???
37
??hello?/bin???
????boot.rom
38
??hello
  • ???????
  • ???????????????????
  • skyeye
  • file linux
  • target sim
  • load
  • run
  • ??hello

39
?µcLinux???,????
?
?
?
?
40
??????
  • SkyEye??
  • SkyEye??????
Write a Comment
User Comments (0)
About PowerShow.com