[전자공학실험2] 9주차 - Development of an Embedded System Environment and Embedded Linux Kernel Porting.
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
해당 자료는 10페이지 까지만 미리보기를 제공합니다.
10페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

[전자공학실험2] 9주차 - Development of an Embedded System Environment and Embedded Linux Kernel Porting. 에 대한 보고서 자료입니다.

목차

[사진] 10.9MB (44개)
 [3]
 [makefile사용]
 [nfs]
 [TFTP]
 [u-boot부터]
 nfsss1.jpg
 nfsss2.jpg
 nfsss2333.jpg
 nfsss333344.jpg
 nfsss444455544444.jpg
 nfsss777.jpg
 nfsss7---777.jpg
 tftp 설정 파일 수정 및 적용.png
 TFTP 수퍼데몬의 실행.png
 리눅스.txt
 ㅇㅇㅇㅇ.txt
 제목 없음.jpg

9주차실험보고서.hwp


▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒


9주차실험보고서.hwp


1. Title

2. Name

3. Abstract
 - Assignment 1
 - Assignment 2

4. Background
 - 미니컴(minicom)
 - 크로스 컴파일러(cross compiler)
 - Make 유틸리티
 - 부트로더
 - 호스트/타겟 통신
 - NFS(Network File System)

5. Experimental Results

6. Analysis
 (1) Assignment 1
 (2) Assignment 2

7. Conclusion

8. References

본문내용

1. Title
Development of an Embedded System Environment and Embedded Linux Kernel Porting.
2. Name
3. Abstract
- Assignment 1
 • Make a program using ‘vi editor’.
 • The program has to include at least two files.
 • Do not use example program in this PPT. Make a program by yourself as below.
 • calculator(+, -, *, /), Vending Machine, etc.
 • It should be compiled by ‘Makefile’ and ‘make’.
 • It be compiled for SV210 board also.
 • make host : for host PC
 • make target : for target board
 • Output file name : _host, _target

- Assignment 2
 • Compile BootLoader, Kernel, FileSystem and Porting to SV201 Board.
 • Print screen all procedure like in this PPT.
 • Transfer the program which you compile for ARM CPU to SV210 board using both TFTP and NFS .
 • Launch it in the SV201 board.

4. Background
- 미니컴(minicom)
대부분의 임베디드시스템은 센서, 스피커 등을 사용해 외부 세계와 데이터를 교환한다. 따라서 일반 개인용 컴퓨터와는 달리 임베디드시스템은 표준 입력장치로 사용되는 모니터를 거의 사용하지 않기 때문에 콘솔 기능을 제공할 수 있는 자원이 없다. 따라서 풍부한 컴퓨팅 자원을 가진 호스트 시스템의 도움을 받아 외부 세계와 통신할 수 밖에 없다.

1. 콘솔 에뮬레이터와 직렬포트
일반적으로 임베디드시스템의 경우 타겟(target) 보드에서 발생하는 진행 상황을 호스트 시스템에서 직렬포트를 통하여 모니터링 할 수 있는 콘솔 에뮬레이터(console emulator)를 사용한다. 리눅스 운영체제의 경우 미니컴(minicom)을 사용하며 원도우 운영체제일 경우는 하이퍼 터미널을 주로 사용한다.
데스크탑 컴퓨터는 보통 2개의 직렬 포트가 있으며 COM 포트 혹은 표준 직렬 포트라고 부른다. 표준 직렬 포트의 경우 이미 입출력 주소와 IRQ 등이 표준화되어 있어 대부분 자동으로 탐색된다. COM1 포트는 /dev/ttyS0, COM2 포트는 /dev/ttyS1 장치에 대응한다.




≪ … 중 략 … ≫




6. Analysis
(1) Assignment 1

 ≪ 글 - 그림 파일 ≫

- Makefile, main.c, foo.c -

여기서 CC, CFLAGS, SRCS, OBJS는 매크로 이름을 나타내며 $(CC), $(CFLAGS), $(SRCS), $(OBJS)는 각각 gcc, -Wall -O2, foo.c main.c, foo.o main.o를 의미한다. 마지막 행에 있는 clean은 레이블로서 부품 파일이 존재하지 않는다. 따라서 “make clean"을 수행하는 것이 목표 파일을 생성하는 것이 아니라, 명령행에 의하여 *.o와 test 파일을 강제로 삭제한다.

 ≪ 글 - 그림 파일 ≫

- Make 유틸리티의 사용 1 -
make clean을 수행하여 컴파일해 생성된 파일을 제거한다. 이후 디렉토리의 내용을 살펴본다. 아직 컴파일된 파일은 없다. make를 수행하여 실행파일 test를 빌드한다. foo.o, main.o 가 생성된 것을 확인할 수 있다. test를 실행하면 vi 에디터를 통해 작성한 c언어 프로그램의 결과인 7이 나오는 것을 볼 수 있다.

┌─────────────────────────────
│ yoonkun : yoonkun_host.o yoonkun_target.o
│      gcc -o yoonkun yoonkun_host.o yoonkun_target.o

│ yoonkun_host.o : yoonkun_host.c
│     gcc -c yoonkun_host.c
│ yoonkun_target.o : yoonkun_target.c
│     gcc -c yoonkun_target.c

│ clean :
│     rm -f *. yoonkun
└─────────────────────────────

- yoonkun를 생성하기 위한 Makefile -

┌─────────────────────────────
│ #include
│ int input();
│ int output(int);

│ int main()
│ {
│   int n;
│   n = input();
│   if(!(output(n)))
│   printf(" I am YK. I want number.\n");
│   return 0;
│ }
│ int input()_
│ {
│  int num;
│  printf("Enter a number?");
│  scanf("%d", &num);
│  return num;
│ }
└─────────────────────────────

-yoonkun_host.c -
  • 가격3,000
  • 페이지수67페이지
  • 등록일2012.02.01
  • 저작시기2011.11
  • 파일형식압축파일(zip)
  • 자료번호#726929
본 자료는 최근 2주간 다운받은 회원이 없습니다.
청소해
다운로드 장바구니