*주로 Device Driver 는 개발시에는 모듈로 개발되지만, 개발 완료시에는 커널에 포함된다.
*Device Driver와 밀접한 관계가 있는 것들
- kernel
- Application(입장에서 보면 D-D는 하나의 file 처럼 여김)
- H/W
* Skeleton Device Driver 는 H/W dependency가 없게 작성되어 있다. 커널 버전만 맞으면 된다.
1. 개발 환경 구축 및 Target setting
- Boot loader fusing
- Kernel downloading & fusing
- file system downloading & fusing
2. Booting 과정
- Boot loader
- Kernel 초기화
- Init process 호출
- login in --> Shell
3. Module program
- Kernel 이 동작되는 상태
- 필요한 부분만 적재 및 해제(load and unload)
- D/D와 Application
3.1. Coding --> compile(컴파일은 i386, 실행은 ARM) --> 전송(zmodem등을 이용, target으로 이동) --> insmod --> mknod --> Application 실행
3.2 원하는 결과가 나았는가?
3.2.1. Yes면 3.2.로
3.2.2. No면 3.1.로
3.2 Kernel 내에 이식
받은 트랙백이 없고,
댓글이 없습니다.


글
댓글을 달아 주세요
댓글 RSS 주소 : http://www.cipher.pe.kr/tt/cipher/rss/comment/10댓글 ATOM 주소 : http://www.cipher.pe.kr/tt/cipher/atom/comment/10