Tool Chain??? - PowerPoint PPT Presentation

1 / 17
About This Presentation
Title:

Tool Chain???

Description:

– PowerPoint PPT presentation

Number of Views:58
Avg rating:3.0/5.0
Slides: 18
Provided by: negi
Category:
Tags: chain | compiler | cross | tool

less

Transcript and Presenter's Notes

Title: Tool Chain???


1
??? ??? ?? ??
2
? ?
  1. ?? ?? ?????
  2. Tool Chain???
  3. Tool Chain ????
  4. ?? ??

3
?? ?? ?? (1)
  • ?? ?? ????? (1)
  • Target system?? ?? ????? ??? ? ??
  • ???? ??? ????? ?????? ???
  • ??? CPU ? ??? ?? ???? ??? ??? ??
  • ? ????? ?? ??? ??
  • Target system ?? ??
  • Target system?? ??? ?? Host system? ???? target
    system?? ???? ????? ??
  • ???? ?? ? ???? Host system??, ???? ??? Target
    system? ??
  • Target system? Host system? ?? ?? ??? ????? ????
    ?? cross compiler? ??
  • ?? Host system? target system? console? ??
  • ??? ?? ??? ?? ?? ????? ?

4
?? ?? ?? (2)
  1. ?? ?? ????? (2)

5
?? ?? ?? (3)
  • ?? ?? ????? (3)
  • Target system? Host system ?? ?????
  • Serial I/F Console ??, zmodem? ??? ?? ??
  • JTAG I/F Hardware debugging, Flash memory
    programming
  • Ethernet I/F ?? ??? ?? ??, NFS ??

6
Toolchain (1)
  • Tool Chain ???
  • Target system? ????? ??? ???? ?? ??? host
    system? cross compile ??? ??
  • ?? ?? package? ??
  • binutils ???? ? ?? ?? ?(GNU)
  • glibc cross compiler ??? ?? library ? ??
    library
  • gcc compiler

7
Toolchain ???? (1)
  • Tool Chain ???? ?? ??
  • HUINS?? ??? CD? Host
  • Host linux? ???? ?? PC
  • CD ?? pxa255-toolchain.tar.bz2 ??

8
Toolchain ???? (2)
  • Tool Chain ????(1)
  • HUINS?? ???? CD? ???? CD-ROM? mount??.
  • CD? ??? ???? mount? ?.
  • mount? ?? ??? ?? ??? ?? ??

CD-ROM device name
Read only option
CD-ROM ??? /mnt/cdrom ????? mount
9
Toolchain ???? (3)
  • C. Tool Chain ????(2)
  • cd ??? ???? mount ? CD-ROM ?? ????.
  • ls ??? ?? CD? ??? ? ? ??

Tool Chain file
10
Toolchain ???? (4)
  • C. Tool Chain ????(3)
  • cp ??? ???? Tool Chain ??? /usr/local/arm?? copy
  • ls ???? copy? ? ?? ??? ?? ? usr/local/arm ????? ??

arm directory ??
Kernel source? makefile??? tool chain? ???
/usr/local/arm?? ?? ?? ??? ??? ? ??? tool chain?
???? ?
11
Toolchain ???? (5)
  • C. Tool Chain ????(4)
  • tar ??? ???? ??? ?? Tool Chain? ???? ???.
  • ?? ? ls ???? ? ?? ???? ??

j ??? bunzip2? ???? ?? ?? ??? ? ? ??
Bunzip2? ??? ??? bz2?? ???? ???.
12
Toolchain ???? (6)
  • C. Tool Chain ????(5)
  • ???? path? ????? ?.
  • cd? ?? ??? root ????? ??
  • .bashrc ? vi? open.

13
Toolchain ???? (7)
  • C. Tool Chain ????(6)
  • PATH ? ??? ?? ????.

/usr/local/arm/bin? tool chain?? ??? ?? compiler?
??.
14
Toolchain ???? (8)
  • C. Tool Chain ????(7)
  • ??? .bashrc? source ??? ???? ???

15
Toolchain ???? (9)
  • C. Tool Chain ????(8)
  • hello.c ?? Test file? ???.

16
Toolchain ???? (10)
  • C. Tool Chain ????(9)
  • ??? arm? cross compiler? ???? compile??.
  • hello?? object ??? ?????? ????.

arm? cross compiler
Hello?? object file? ??
17
Toolchain ???? (11)
  • C. Tool Chain ????(10)
  • ???? hello object ??? ??????.
  • ?? ???? error? ???? ?? ??.
  • file??? ???? ???? file? ??? ??

ARM? object ?? ??
Write a Comment
User Comments (0)
About PowerShow.com