Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
/*
* FILE : HELLO.C
*/
#include <stdio.h>
int main()
{
printf(“Hello! n”);
return 0;
}
Hello.bin
Memory
HDD
Hello.bin
Memo...
# include <stdio.h>
int main(void)
{
printf(“Hellon”);
return 0;
}
a.out (Executable ELF)
gcc (GNU C Compiler)
hello.o (Re...
Application
(System) Library
System Call
Virtual File System
Device File System
Character Device Driver
General File Syste...
int main()
{
………
open();
………
}
fd = open();
sd = socket();
Application
open()
{
………
swi 0x900005;
………
}
(System) Library
I...
source1.S
source2.c
source3.c
source(n).c
...
vmlinux piggy.o
piggy.gz
unzip code
  
ELF BIN zImage
Firmware, RTOS System Non-RTOS System
Firmware User App. Firmware
User Application
OS (Kernel)
Hardware (Device)Hardware (...
VMware
Ubuntu LTS version : 10.04
AutomaticLogin=root : /etc/gdm/custom.conf
Some Packages update
Server Configuration : S...
PC (Computer)
Target Board
Parallel, USB : Programming, JTAG
Serial : Monitoring
Ethernet, USB : Downloading
유명환 - 우분투에서의 임베디드 개발 환경 구축 (2011Y03M26D)
유명환 - 우분투에서의 임베디드 개발 환경 구축 (2011Y03M26D)
유명환 - 우분투에서의 임베디드 개발 환경 구축 (2011Y03M26D)
유명환 - 우분투에서의 임베디드 개발 환경 구축 (2011Y03M26D)
Upcoming SlideShare
Loading in …5
×

유명환 - 우분투에서의 임베디드 개발 환경 구축 (2011Y03M26D)

754 views

Published on

http://www.ubuntu-kr.org/viewtopic.php?f=2&t=16175

내 용
발표 1 우분투로 슈퍼컴 만들기 = 김성윤
발표 2 geogebra (수학 그래프+도형 툴) = 미남imsu(구임수)
자기 소개 및 자유 이야기
발표 3 : 우분투에서 임베디드 리눅스 개발 환경 구축하기 = 뻔뻔강사(유명환)

Published in: Software
  • Be the first to comment

유명환 - 우분투에서의 임베디드 개발 환경 구축 (2011Y03M26D)

  1. 1. /* * FILE : HELLO.C */ #include <stdio.h> int main() { printf(“Hello! n”); return 0; } Hello.bin Memory HDD Hello.bin Memory Hello.bin Flash Compile  HW Programming  Execute PC (Computer) Target Board
  2. 2. # include <stdio.h> int main(void) { printf(“Hellon”); return 0; } a.out (Executable ELF) gcc (GNU C Compiler) hello.o (Relocatable ELF) hello.c (C Source Code) 컴파일 링킹  # 처리  C 문법 검사  라이브러리 호출 루틴 추가  CPU, 메모리 등 정보 추가
  3. 3. Application (System) Library System Call Virtual File System Device File System Character Device Driver General File System Network File System Buffer Cache Block Device Driver TCP/IP Protocol Stack Network Device Driver Device Interface Block Device Character Device Network Device User Level Kernel Level System Call Hacking Software Interrupt
  4. 4. int main() { ……… open(); ……… } fd = open(); sd = socket(); Application open() { ……… swi 0x900005; ……… } (System) Library Interrupt Vector (1) Interrupt Vector (2) Interrupt Vector (3) Interrupt Vector (4) Interrupt Vector (5) ……… sys_open() Software Interrupt System Call Interrupt Vector Table User Level Kernel Level
  5. 5. source1.S source2.c source3.c source(n).c ... vmlinux piggy.o piggy.gz unzip code    ELF BIN zImage
  6. 6. Firmware, RTOS System Non-RTOS System Firmware User App. Firmware User Application OS (Kernel) Hardware (Device)Hardware (Device)
  7. 7. VMware Ubuntu LTS version : 10.04 AutomaticLogin=root : /etc/gdm/custom.conf Some Packages update Server Configuration : Samba, Telnet
  8. 8. PC (Computer) Target Board Parallel, USB : Programming, JTAG Serial : Monitoring Ethernet, USB : Downloading

×