Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform,...

18
Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS Platform , BSP(Board Support Package), Common

Transcript of Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform,...

Page 1: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

Definition of TERMS

† Platform , BSP(Board Support Package), Common

Page 2: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

23年 4月 19日 Chonbuk National University 2

Windows CE Folder Structure

사용자의 작업공간

독립적인 구성요소

및샘플소스타겟보드에 종속된

파일들

GWES, File

System, Kerenl 등

Page 3: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

23年 4月 19日 3

❈Directory Structure of Platform Builder

† The Platform Directory

† The Public Directory

† The SDK Directory

† The Others Directory

† Private Directory

† CRC Directory

Page 4: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

23年 4月 19日 Chonbuk National University 4

† The Platform Directory :

The platform directory stores the hardware specific files.

BSP FOLDER, Device Driver, Configuration File, OAL etc

Page 5: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

23年 4月 19日 Chonbuk National University 5

† The Public Directory :

The public directory contains the platform-independent

components and WINCE configurations.

모든 platform 에 공통적으로 사용되는 components, driver, library(sources 제공 )

Page 6: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

† The SDK Directory :

The SDK directory contains tools and binaries to support

created platforms.

1.WINCE 개발에 보조적인 지원을 주기 위해 제공되어지는 프로그램

2.Compiler, Assembler

3.Remote Tools 에 해당하는 실행파일들도 존재 (Utilities)

Page 7: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

23年 4月 19日 Chonbuk National University 7

† The Others Directory :

The others directory is a repository of various runtimes, samples

and components.

1.ATL, DOTNET, MFC, SAMPLES, WCETK

2.Application 타입에 대한 Header Files, Library Files, source Files

Page 8: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

23年 4月 19日 Chonbuk National University 8

† The Private Directory :

The private directory contains sources code for the Windows

CE operating system.

1.참고 및 debugging 용도의 공유소스 코드가 있음 .

2.Kernel, GWES, Filesys, Device Manager etc

Page 9: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

† The CRC Directory :

The private directory contains information for the set up

PLATFORM Builder.

† The PBWorkspaces Directory :

The private directory contains information for the set up

PLATFORM Builder.

생성된 Platform 에 대한 folder 가 있음 .

Page 10: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

BSP(Board Support Package) KERNEL

ARMIntel Mainstone II ARMV4I

Samsung SMDK2440 ARMV4I

MIPS

NEC SG2 Vr131

AMD DBAu1500, 1100, 1000 MIPSII

Broadcom VoIP Reference MIPSII

NEC SG2 Vr5500MIPSII, MIPSIV

MIPSII_FP, MIPSIV_FP

SH4Renesas US7750R HARP (Aspen)

SH4

X86

X86(CEPC) X86

Geode X86

Emulator X86

Page 11: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

Definition of Folder

C:\WNCE500\PUBLIC\COMMON\OAK

CPU 와 Target 시스템에 상관없이 사용할 수 있는 platform builder 가 제공하는 sample sources, library, header files 이 들어있는 folder.

C:\WNCE500\PLATFORM\BSP

Target 시스템을 위해 사용되는 target 종속적인 특성을 갖는 각종 driver sources, library, header files, bootloader 가 들어있는 folder.

Page 12: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

23年 4月 19日 Chonbuk National University 12

C:\WNCE500\PLATFORM\BSP\target

각종 Driver, Modules 이 빌드되면 이곳에 저장

C:\WNCE500\PBWORKSPACES\RelDir\Release

OS binary 가 최종적으로 생성 됨

Page 13: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

Kernel Debugging

† Break signal : Host ->Target

†C:\WINCE500\PLATFORM\COMMON\SRC\COMMON\IOCTL.C(OEMIoControl)

Page 14: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

Windows CE 용 이미지 생성을 위한 구성 화일

† REG, DAT, DB, BIB REG : 시스템 레지스트리 파일을 만드는 데 사용되는 파일

DAT : 단축 icon 등을 원하는 위치에 생성하도록 지시하는 화일

DB : 데이터베이스 테이블을 생성하도록 지시하는 화일

BIB : NK.bin 으로 압축할 파일들에 대한 정보와 압축이미지의 속성을 결정

Page 15: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

CONFIG.bib :

CONFIG

AUTOSIZE = ON (RAMIMAGE)

COMPRESSION = ON(MODULES : DLL, EXE, OCX etc), Files

ROMFLAGS = 0

† ROMFLAGS = 0x0001 : Paging 을 금지시키는 옵션

† ROMFLAGS = 0x0002 : 압축이미지에 포함된 모든 파일들 이 다 커널모듈이 아니라는 뜻

† ROMFLAGS = 0x0010 : ROMIMAGE 에 포함된 파일들은 무 조건 신뢰

Page 16: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

23年 4月 19日 Chonbuk National University 16

MEMORY Architecture

Virtual Memory System

-. 4GB Virtual Memory

물리적으로 512MB 까지 지원 (Kernel 이 접근할 수 있는 공간 )

-. 0x00000000 – 0x7FFFFFFF : User Space

-. 0x80000000 – 0xFFFFFFFF : Kernel Space

-. 0x80000000 – 0x9FFFFFFF : Cachable Space(512MB)

-. 0xA0000000 – 0xBFFFFFFF : Non-Cachable Space(512MB)

Page 17: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

23年 4月 19日 Chonbuk National University 17

0x00000000

0x7FFFFFFF

0xFFFFFFFF

0x80000000

Kernel Space

User Space

Page 18: Introduction to Logic and Computer Design Chapter 1 Introduction Definition of TERMS † Platform, BSP(Board Support Package), Common.

Introduction to Logic and Computer DesignChapter 1 Introduction

23年 4月 19日 Chonbuk National University 18

33 개의 Slot 이 존재

-. Process/Slot 32MB/Slot

-. Slot 0 는 현재 수행중인 thread 가 포함되어 있는 process 공간 .