• 검색 결과가 없습니다.

(Embedded System Programming) ESP30076 임베디드시스템프로그래밍

N/A
N/A
Protected

Academic year: 2022

Share "(Embedded System Programming) ESP30076 임베디드시스템프로그래밍"

Copied!
77
0
0

로드 중.... (전체 텍스트 보기)

전체 글

(1)

ESP30076 임베디드 시스템 프로그래밍 (Embedded System Programming)

1

조 윤 석 전산전자공학부

Module 2: Installation of VPC and Linux

(2)

 가상 컴퓨터(Virtual PC)에 대한 이해

 호스트 컴퓨터에 Virtual PC설치 하기

 가상머신에 우분투 설치 하기

 가상머신 설정 방법에 대한 이해

주차별 목표

2

(3)

 가상 PC 프로그램

– 시스템 콜을 사용할 수 있는 커널 모드가 아닌 사용자 모 드에서 동작하는 응용프로그램

– 사용자 모드에서 가상 사용자 모드와 가상 커널 모드를 사용자에게 지원해 주어 PC 안에 또 하나의 가상 PC를 운 영할 수 있도록 환경을 만들어 주는 소프트웨어

Virtual PC

3

(4)

 가상 PC 프로그램

– 오라클사의 버추얼박스 (VirtualBox) – VMware사의 VMware 워크스테이션

– 마이크로소프트사의 Microsoft Virtual PC

 VirtualBox

– 독일계 이노텍사에서 초기 개발된 이후, 썬마이크로시스 템즈 사에 합병되어 프로그램이 제공됨

– 현재는 오라클에서 인수하여 프로그램을 무료로 제공

– 윈도우와 맥 OS X, 리눅스, 솔라리스 등에서 실행 가능하 며, 다양한 종류의 게스트 운영체제 (DOS, 윈도우, 리눅스, 솔라리스, 오픈 솔라리스, OS/2, 오픈 BSD 등)를 지원

Virtual PC Programs

4

(5)

 Ubuntu 다운로드

http://releases.ubuntu.com/lucid/

에서 프로그램 다운

Program Installation

5

(6)

Program Installation

6

 Ubuntu 버전 정보

버전 코드명

해석 커널버전 배포 지원 기간

Adjective Animal 데스크톱 서버

4.10 Warty Warthog 혹 난 혹멧돼지 2.6.8-1 2004/10/20 ~2006/04

5.04 Hoary Hedgehog 백발의 고슴도치 2.6.10 2005/04/08 ~2006/10

5.10 Breezy Badger 산들바람의 오소리 2.6.12 2005/10/13 ~2007/04

*6.06 Dapper Drake 날렵한 수오리 2.6.15 2006/06/01 ~2009/06 ~2011/06

6.10 Edgy Eft 날카로운 영원 2.6.17 2006/10/26 ~2008/04

7.04 Feisty Fawn 기운찬 새끼사슴 2.6.20 2007/04/19 ~2008/10

7.10 Gutsy Gibbon 용감한 긴팔원숭이 2.6.22 2007/10/18 ~2009/04

*8.04 Hardy Heron 강건한 왜가리 2.6.24 2008/04/24 ~2011/04 ~2013/04

8.10 Intrepid Ibex 용맹한 야생염소 2.6.27 2008/10/30 ~2010/04

9.04 Jaunty Jackalope 쾌활한 뿔토끼 2.6.28 2009/04/23 ~2010/10

9.10 Karmic Koala 숙명의 코알라 2.6.31 2009/10/29 ~2011/04

*10.04 Lucid Lynx 맑은 스라소니 2.6.32 2010/04/29 ~2013/04 ~2015/04

10.10 Maverick Meerkat 사나운 미어캣 2.6.35 2010/10/10 ~2012/04

11.04 Natty Narwhal 산뜻한 외뿔고래 2.6.38 2011/04/28 ~2012/10

11.10 Oneiric Ocelot 꿈꾸는 표범 3.0 2011/10/13 ~2013/04

*12.04 Precise Pangolin 정밀한 천산갑 3.2 2012/04/26 ~2017/04

12.10 Quantal Quetzal 양질의 케트살 3.5 2012/10/18 ~2014/04

13.04 Raring Ringtail 근질근질한 링테일 3.8 2013/04/25 ~2014/1

13.10 Saucy Salamander 건방진 도롱뇽 TBA 2013/10 ~2014/7

(7)

 프로그램 다운로드

https://www.virtualbox.org/

에서 프로그램 다운

VirtualBox Installation

7

(8)

 프로그램 다운로드

– 사용하고 있는 OS에 맞는 프로그램 내려받기

VirtualBox Installation

8

(9)

 다운로드 된 파일 확인

VirtualBox Installation

9

(10)

 VirtualBox 설치파일 실행

VirtualBox Installation

10

(11)

 VirtualBox 설치 진행

VirtualBox Installation

11

(12)

 VirtualBox 설치 진행

VirtualBox Installation

12

(13)

 VirtualBox 설치 진행

VirtualBox Installation

13

(14)

 VirtualBox 설치 진행

VirtualBox Installation

14

(15)

 VirtualBox 설치 진행

VirtualBox Installation

15

(16)

 VirtualBox 설치 진행

– Install Device Software

VirtualBox Installation

16

(17)

 VirtualBox 설치 진행

VirtualBox Installation

17

(18)

 VirtualBox 설치 완료

VirtualBox Installation

18

(19)

 우분투용 가상머신 생성

Virtual Machine for Ubuntu

19

(20)

 우분투용 가상머신 생성

Virtual Machine for Ubuntu

20

(21)

 우분투용 가상 머신 생성

– 가상 머신 이름 할당

Virtual Machine for Ubuntu

21

(22)

 우분투용 가상 머신 생성

– 메모리 크기 할당

Virtual Machine for Ubuntu

22

(23)

 우분투용 가상 머신 생성

– 가상 머신 하드 드라이브 생성

Virtual Machine for Ubuntu

23

(24)

 우분투용 가상 머신 생성

– 가상 머신 하드 드라이브 생성

Virtual Machine for Ubuntu

24

(25)

 우분투용 가상 머신 생성

– 가상 머신 하드 드라이브 생성

Virtual Machine for Ubuntu

25

(26)

 우분투용 가상 머신 생성

– 가상 머신 하드 드라이브 생성

Virtual Machine for Ubuntu

26

(27)

 우분투용 가상 머신 생성 완료

Virtual Machine for Ubuntu

27

(28)

 우분투 설치하기

Ubuntu Installation

28

(29)

 시동 디스크 선택

Ubuntu Installation

29

(30)

 VirtualBox 정보 확인

Ubuntu Installation

30

(31)

 Ubuntu 언어 설정

Ubuntu Installation

31

(32)

 Ubuntu 지역 및 시간대 설정

Ubuntu Installation

32

(33)

 Ubuntu 키보드 설정

Ubuntu Installation

33

(34)

 Ubuntu 설치 디스크 설정

Ubuntu Installation

34

(35)

 사용자 이름 및 비밀번호 설정

Ubuntu Installation

35

(36)

 Ubuntu 설치 하기

Ubuntu Installation

36

(37)

 Ubuntu 설치 화면

Ubuntu Installation

37

(38)

 Ubuntu 설치 완료 및 컴퓨터 다시 시작

Ubuntu Installation

38

(39)

 Ubuntu 리눅스로 로그인 하기

Ubuntu Installation

39

(40)

 Ubuntu 리눅스로 로그인 하기

Ubuntu Installation

40

(41)

 우분투 실행 화면

Ubuntu Installation

41

(42)

 언어 설치하기

Ubuntu Installation

42

(43)

 공유폴더 지정

VirtualBox Guest Additions Installation

43

(44)

 공유폴더 지정

VirtualBox Guest Additions Installation

44

(45)

 공유폴더 지정

VirtualBox Guest Additions Installation

45

(46)

 공유폴더 지정

VirtualBox Guest Additions Installation

46

(47)

 공유폴더 지정

VirtualBox Guest Additions Installation

47

(48)

 공유폴더 마운트 하기

– vboxsf 파일시스템 오류

VirtualBox Guest Additions Installation

48

(49)

 게스트 확장 설치

VirtualBox Guest Additions Installation

49

(50)

 게스트 확장 설치

VirtualBox Guest Additions Installation

50

(51)

 게스트 확장 설치

VirtualBox Guest Additions Installation

51

(52)

 게스트 확장 설치

VirtualBox Guest Additions Installation

52

(53)

 게스트 확장 설치

VirtualBox Guest Additions Installation

53

(54)

 공유폴더 마운트 하기

– 정상적으로 마운트 된 것 확인

VirtualBox Guest Additions Installation

54

(55)

 VirtualBox 설정하기

VirtualBox Configuration

55

(56)

 VirtualBox 설정 화면

VirtualBox Configuration

56

(57)

 VirtualBox 설정 화면

– 시스템 설정

VirtualBox Configuration

57

(58)

 VirtualBox 설정 화면

– 디스플레이 설정

VirtualBox Configuration

58

(59)

 VirtualBox 설정 화면

– 저장소 설정

VirtualBox Configuration

59

(60)

 VirtualBox 설정 화면

– 연결되어 있는 CD/DVD 제거하기

VirtualBox Configuration

60

(61)

 VirtualBox 설정 화면

– 네트워크 설정

VirtualBox Configuration

61

(62)

 VirtualBox 설정 화면

– Serial(직렬) 포트 설정

VirtualBox Configuration

62

(63)

 VirtualBox 설정 화면

– 공유폴더 설정

VirtualBox Configuration

63

(64)

 VirtualBox 설정 화면

– 공유폴더 설정

VirtualBox Configuration

64

(65)

 VirtualBox 설정 화면

– 시스템 설정

VirtualBox Configuration

65

(66)

 VirtualBox 설정 화면

– 공유폴더 마운트 확인

VirtualBox Configuration

66

(67)

 우분투 환경 설정

– 해상도 설정

Ubuntu Environments Setting

67

(68)

 우분투 환경 설정

– 테마 변경

Ubuntu Environments Setting

68

(69)

 우분투 환경 설정

– 패널 설정

Ubuntu Environments Setting

69

(70)

 우분투 환경 설정

– 패널 설정

Ubuntu Environments Setting

70

(71)

 우분투 환경 설정

– 변경된 테마 확인

Ubuntu Environments Setting

71

(72)

 루트계정 생성하기

To Make Root Account

72

esp@esp-desktop:~$ sudo passwd root [sudo] password for esp:

새 UNIX 암호 입력:

새 UNIX 암호 재입력:

passwd: 암호를 성공적으로 업데이트했습니다

esp@esp-desktop:~$

(73)

 루트계정 생성하기

– 루트계정으로 로그인하기

To Make Root Account

73

(74)

 루트계정 생성하기

– 루트계정 확인

To Make Root Account

74

(75)

 폰트(Fonts) 변경하기

To Change Fonts

75

(76)

 폰트(Fonts) 다운로드

Fonts Download

76

# apt-get install xfonts-terminus root@esp-desktop:~# wget

http://cdn.naver.com/naver/dic/naverdic.tgz

--2012-09-17 15:37:13-- http://cdn.naver.com/naver/dic/naverdic.tgz Resolving cdn.naver.com... 1.226.51.108, 183.111.25.74, 183.111.26.5 접속 cdn.naver.com|1.226.51.108|:80... 접속됨.

HTTP request sent, awaiting response... 200 OK Length: 16057420 (15M) [text/plain]

Saving to: `naverdic.tgz'

100%[=============================================>]

16,057,420 15.7M/s in 1.0s

2012-09-17 15:37:15 (15.7 MB/s) - `naverdic.tgz' saved [16057420/16057420]

root@esp-desktop:~# ls

root@esp-desktop:~# tar xvfz naverdic.tgz naverdic.ttf

root@esp-desktop:~# mv naverdic.ttf /usr/share/fonts/truetype root@esp-desktop:~# fc-cache -v

/usr/share/fonts: skipping, existing cache is valid: 0 fonts, 3 dirs

/usr/share/fonts/X11: skipping, existing cache is valid: 0 fonts, 6 dirs

(77)

77

Fonts Change

참조

관련 문서

– 대부분의 임베디드 시스템은 하드웨어 구성이 고정되어 있고 소프트웨어도 하드웨어 안에 내장된 상태로 공장에 서 출하되어

MicroSD 메모리에 시스템 이미지 올리기 -리눅스

– 파일시스템의 진단 및 오류수정은 리눅스 명령어 fsck (file system check) 수행 시 발생하는 모든 결과들은 lost+found 디렉토리에 저장되며,

VMware Server Console: Edit virtual machine settings 를 클릭합니다.. Virtual Machine Settings: Add

- 가상 정보제공자 관리 - 가상 신용주체 관리 - 가상 마이데이터 관리 - 가상 종합포털 관리 - 가상 통합인증기관 관리.. API 호출 규격 응답 분류

Process data in registers using a number of data processing instructions which are not slowed down by memory access. Store results from registers

Program counter, index register, accumulators and condition code registers are stored in the stack Further interrupts are disabled. Processor jumps to memory location address

BLDC 전동기