PowerPoint 프레젠테이션

Similar documents
목차 개발환경 JTAG Bootp TFTP NFS 1

untitled

Microsoft Word doc

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D D382E687770>

Microsoft PowerPoint - Cross Development Environment [호환 모드]

슬라이드 제목 없음

SMB_ICMP_UDP(huichang).PDF

슬라이드 1

1217 WebTrafMon II

망고100 보드로 놀아보자-4

SRC PLUS 제어기 MANUAL

슬라이드 1

TCP.IP.ppt

TTA Verified : HomeGateway :, : (NEtwork Testing Team)

hd1300_k_v1r2_Final_.PDF

Mango220 Android How to compile and Transfer image to Target


bn2019_2


Microsoft PowerPoint - ARM 개발 환경.ppt

untitled

Microsoft PowerPoint - 02-Development-Environment-1.ppt

Interstage5 SOAP서비스 설정 가이드

Remote UI Guide

Subnet Address Internet Network G Network Network class B networ

untitled

Sena Technologies, Inc. HelloDevice Super 1.1.0

1. GigE Camera Interface를 위한 최소 PC 사양 CPU : Intel Core 2 Duo, 2.4GHz이상 RAM : 2GB 이상 LANcard : Intel PRO/1000xT 이상 VGA : PCI x 16, VRAM DDR2 RAM 256MB

Network seminar.key

(SW3704) Gingerbread Source Build & Working Guide

Microsoft PowerPoint - 03-Development-Environment-2.ppt

MAX+plus II Getting Started - 무작정따라하기

제20회_해킹방지워크샵_(이재석)

Sena Device Server Serial/IP TM Version

V5000_1.xx_CG_KO_ doc

2-11Àå

PowerPoint 프레젠테이션

T100MD+

CPX-E-EC_BES_C_ _ k1

UDP Flooding Attack 공격과 방어

untitled

PCServerMgmt7

1. What is AX1 AX1 Program은 WIZnet 사의 Hardwired TCP/IP Chip인 iinchip 들의성능평가및 Test를위해제작된 Windows 기반의 PC Program이다. AX1은 Internet을통해 iinchip Evaluation

MySQL-Ch10


자바-11장N'1-502

DE1-SoC Board

USB USB DV25 DV25 REC SRN-475S REC SRN-475S LAN POWER LAN POWER Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl C

Assign an IP Address and Access the Video Stream - Installation Guide

APOGEE Insight_KR_Base_3P11

Microsoft Word - KPMC-400,401 SW 사용 설명서

Solaris Express Developer Edition

untitled

PWR PWR HDD HDD USB USB Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl Cable PC PC DDNS (

Contents I. 칼라스 네트워크 플레이어란 1. Pc-Fi를 넘어서 발전한 차세대 음악 플레이어 칼라스 네트워크 플레이어의 장점 3. 시스템 기본 구성

歯Cablexpert제안서.PDF

chapter4

10.

GLOFA Series Cnet

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션

목차 1. 개요 USB 드라이버 설치 (FTDI DRIVER) FTDI DRIVER 실행파일 USB 드라이버 확인방법 DEVICE-PROGRAMMER 설치 DEVICE-PROGRAMMER

강의10

istay

다음 사항을 꼭 확인하세요! 도움말 안내 - 본 도움말에는 iodd2511 조작방법 및 활용법이 적혀 있습니다. - 본 제품 사용 전에 안전을 위한 주의사항 을 반드시 숙지하십시오. - 문제가 발생하면 문제해결 을 참조하십시오. 중요한 Data 는 항상 백업 하십시오.

BOOTP(Bootstrap Protocol)

PowerPoint 프레젠테이션

Chapter. 5 Embedded System I Bootloader, Kernel, Ramdisk Professor. Jaeheung, Lee

KDTÁ¾ÇÕ-1-07/03

Chapter11OSPF

¨ìÃÊÁ¡2

LXR 설치 및 사용법.doc

6주차.key

본교재는수업용으로제작된게시물입니다. 영리목적으로사용할경우저작권법제 30 조항에의거법적처벌을받을수있습니다. [ 실습 ] 스위치장비초기화 1. NVRAM 에저장되어있는 'startup-config' 파일이있다면, 삭제를실시한다. SWx>enable SWx#erase sta

임베디드시스템설계강의자료 4 (2014 년도 1 학기 ) 김영진 아주대학교전자공학과

Solaris System Administration

Chap7.PDF

CD-RW_Advanced.PDF

歯DCS.PDF

Microsoft PowerPoint - IRC_User_Manual.ppt

3ÆÄÆ®-11

PowerPoint 프레젠테이션

ORANGE FOR ORACLE V4.0 INSTALLATION GUIDE (Online Upgrade) ORANGE CONFIGURATION ADMIN O

GNU/Linux 1, GNU/Linux MS-DOS LOADLIN DOS-MBR LILO DOS-MBR LILO... 6

휠세미나3 ver0.4

Microsoft Word - CL5000,5500_KOR_UM_ _.doc

6강.hwp

CLX8380_KR.book

시스코 무선랜 설치운영 매뉴얼(AP1200s_v1.1)

hlogin2

안전을 위한 주의사항 제품을 올바르게 사용하여 위험이나 재산상의 피해를 미리 막기 위한 내용이므로 반드시 지켜 주시기 바랍니다. 2 경고 설치 관련 지시사항을 위반했을 때 심각한 상해가 발생하거나 사망에 이를 가능성이 있는 경우 설치하기 전에 반드시 본 기기의 전원을

MR-3000A-MAN.hwp

歯설명서_020925_.PDF

<4D F736F F F696E74202D20C0BDBCBA484D4920C0FBBFEB20C5DAB7B9B8C5C6BDBDBA20B4DCB8BBB1E228B9DFC7A5C0DAB7E129>

PowerPoint 프레젠테이션


Copyright 2012, Oracle and/or its affiliates. All rights reserved.,,,,,,,,,,,,,.,..., U.S. GOVERNMENT END USERS. Oracle programs, including any operat

Deok9_Exploit Technique

본 기기에 대하여 언제, 어디서나 자유롭게 LG 넷하드를 구입해주셔서 감사합니다. LG 넷하드는 인터넷이 연결된 곳이라면 언제 어디서나 자유롭게 파일을 저장하고 공유할 수 있는 장치입니다. 2

Transcription:

(Host) set up : Linux Backend RS-232, Ethernet, parallel(jtag) Host terminal Target terminal : monitor (Minicom) JTAG Cross compiler Boot loader

Pentium Redhat 9.0 Serial port Serial cross cable Ethernet cross cable JTAG parallel cable Host linux shell bash. Minicom : redhat 9.0. Arm cross compiler : arm-linux

Target board JTAG power. host PC. JTAG Image loading. Jflash-linux-pxa255) target board console. Minicom. Ethernet downloading

Host Minicom ( )

Boot Loader Flash Memory.

Boot Loader,. Ex) memcpy [ToAdderss FromAddress NumberOfBytes] target> memcpy c0008000 00100000 00100000 Ex) memset [Adderss Value NumberOfBytes] memset c0000000 0 ff

TFTP(Trivial FTP) Image Downloading Ex) tftp [filename RAMAddress] target> tftp zimage c0008000 Flash Ex) flash [ToROMAdderss FromRAMAddress NumberOfBytes] target> flash 00100000 c0000000 00100000 RAM Linux booting Ex) boot [Adderss arg0 argc1] target> boot c0008000 0 14 Dump Ex) dumpmem [startadderss NumberOfBytes] target> dumpmem a0000004 4

flash download tftp sdram kernel ramdisk flash. speed serial terminal serial download. help. download kernel SDRAM download. ramdisk download ramdisk SDRAM c0500000 download. reload flash kernel SDRAM loading. ramdisk SDRAM loading. boot --- sdram linux.

Bootp tcp/ip, udp tftp. Host target. tftp. bootp. Bootp inetd, bootpd configuration file inetd.conf, bootptab, hosts, services Host Target Board

1. Bootp : Target board host IP IP packet. 2. Bootp : host Ip. IP packet inetd. inetd bootpd IP packet. IP packet bootpd bootptab IP packet. configuration Bootp Bootp services hosts Target Board Host Xinetd bootpd Xinetd.conf bootptab

1. TCP/IP inetd. 2. Bootp : host IP 3. Bootp : host Ip. bootpd Xinetd tftpd telnetd ftpd Inetd TCP/IP. TCP/IP inetd TCP/IP.

Bootp (format) 1. Number of Second : client bootstrap set Secondary server Client IP Address : client ip 0.0.0.0 Your IP Address : client ip 0 server ip Server IP Address : server Gateway IP Address : Proxy server Proxy server IP Address Client Hardware Address : client setting, ethernet mac address Server Host Name : client option 0, 0 Boot Filename : client Boot Filename (Reply) Boot file vendor-specific information : bootp parameter Target Board Bootp Request Port 67, ip 0.0.0.0 Bootp Reply Port 68, ip 211.104.101.228 Host bootp request client ip ip 0.0.0.0 reply server client ip port server 67 client 68

xinetd target bootpd bootpd Xinetd.conf (tftp, bootp, telnet, ftp ).. xinetd, Xinetd Xinetd.conf.

Xinetd, inetd, TCP wrapper.

Bootp 1. Bootptab [host]# cd etc [host]# vi bootptab.default:\ :hd=/user/boot:bf=null:\ :sm=255.255.255.0 Linux:ht=1:ha=0x00D0CAF12620:tc=.default Bootptab file /etc directory. Bootptab file bootptab MAC address. sm. hd host directory. ht. ha.

Bootp 2. Xinetd.conf [host]# cd etc [host]# vi xinetd.conf tftp dgram udp wait root /usr/sbin/in.tftpd /tftpdir Bootps dgram udp wait root /usr/sbin/tcpd bootpd Inetd.conf. 3. hosts [host]# cd etc [host]# vi hosts 127.0.0.1 localhost.localdomain localhost 211.104.101.227 linux hosts file target IP. host bootptab host. bootp linuxcerf IP Bootptab ip (linuxcerf)

Bootp 4. services [host]# cd etc [host]# vi services bootps 67/tcp # boop server tftp 69/udp # tftp server services file. bootps 67 tcp tftp 69 udp. bootps 67/tcp server bootpc 68/udp client. 4 target host.

1. Bootpd bootpd. (bootptab ) host target. sm hd ht ha : target

300 bytes Bootp (format) Transaction ID Number of seconds Client IP address Your IP address Server IP address Gageway IP address 0 7 8 15 16 23 24 31bit Opcode 1=Request, 2=Rep Hardware type 1 = Ethernet bootp ( 300 ) : Request Reply Opcode : message type 1=Request, 2=Reply Hardware type : 1= 10 Base Ethernet Client hardware address (16bytes) Server Hostname (64bytes) Boot filename (128bytes) Vendor-specific information (64bytes) Hardware address Length : 6 = 10 Base Ethernet HOP count : 0 Setting, Transaction ID : 32bit (Random), client set, server return client Request Reply Hardware ddress Length(6=ethernet) Unused Hop count

Tftp Trivial File Protocol, ftp. ftp tcp tftp udp. udp tcp udp tcp. udp.

tftp IP Datagram UDP Datagram IP Header UDP Header TFTP Message 20bytes 8bytes =<512bytes 512 bytes Data Block. Block 4bytes Block 1. ASCII Binary. Remote File Read Write. No Checksum.

OPCODE = 1 File name 0 mode 0 2bytes String N Byte 1byte String N Byte 1byte OPCODE = 2 File name 0 mode 0 2bytes String N Byte 1byte String N Byte 1byte OPCODE = 3 Block# DATA 2bytes 2bytes =<512bytes OPCODE = 4 2bytes Block# 2bytes OPCODE = 5 Error code Error Message 0 2bytes 2Bytes String N Byte 1byte

tftp (1) 1. inetd.conf [host]# cd etc [host]# vi inetd.conf tftp dgram udp wait root /usr/sbin/in.tftpd /tftpdir Bootps dgram udp wait root /usr/sbin/tcpd bootpd Inetd.conf tftp. (/tftpdir) 2. Write Request Opcode = 2bytes 2 File name Sting N bytes 0 1byte Mode String N bytes 0 1byte

tftp (2) 3. Read Request Opcode = 2bytes 1 File name Sting N bytes 0 1byte Mode String N bytes 0 1byte Read Request port 69 (file name mode ) port 512 (Block Number = 1) Block ACK Block Number 1 512 Block (Number = 2) ACK Block Number 2 Block( 512 ) Block 512 Block. Block 512, opcode block number.

target board device driver host arm cross compiler compile ftp target board target board. Host device driver module,. arm cross compiler. Cross compiler PATH. PATH. Compile module target Downloading. Module Module compile Module

Device,,,, Device on Linux Linux Device File operation Major number Minor number Device Driver Device Interface Type of Device Driver Char device driver Block device driver Network device driver

Application System Call Interface Virture File System(VFS) Buffer Cache Network Subsystem Character Block Network Device Driver Device Driver Device Driver BSD socket Inet(AF_INET) Transport(TCP,UD P) Network(IP) Device Interface Hardware

1. Host device driver. host root/gpio/ directory gpio.c gpio.h. [host]# cd root [host]# cd gpio [host]# vi gpio.c 2. Make file. directory make file. [host]# vi makefile CC = armv4l-unknown-linux-gcc INCLUDEDIR = /usr/include CFLAGS = D KERNEL -DMODULE Wall 02 CFLAGS += -I.. I$(INCLUDEDIR) gpio.o: gpio.c $(CC) $(CFLAGS) c o gpio.o gpio.o

3. Cross compile. (arm cross compiler compile) gpio.o file [host]# make 4. Host gpio.o target. (ftp) minicom target linux host gpio.o target ifconfig ip host ip 211.104.101.227 ftp. ftp network. [target]# ifconfig eth0 211.104.101.228 [target]# ftp 211.104.101.227 Login pass word host. login : buniel passwd : ******

5. Host directory.. ftp>cd root ftp>cd gpio ftp>get gpio.o ftp>quit 6. Target. target]# insmod gpio.o target]# cat /proc/devices target]# mknod /dev/gpio c 253 0

device driver test target board. Host test program code. arm cross compiler. Cross compiler PATH. PATH. Compile target Downloading. Module Module compile Module

1. Host Application program. host root/gpio/ directory test.c. (gpio test program source ) [host]# cd root [host]# cd gpio [host]# vi test.c 2. Make file. directory make file. [host]# vi makefile CC = armv4l-unknown-linux-gcc INCLUDEDIR = /usr/include CFLAGS = D KERNEL -DMODULE Wall 02 CFLAGS += -I.. I$(INCLUDEDIR) Test: test.c $(CC) o test test.c

3. Cross compile. (arm cross compiler compile) test file. [host]# make 4. Host target test. device driver. minicom target linux host test target ifconfig ip host ip 211.104.101.227 ftp. ftp network. [target]# ftp 211.104.101.227 Login pass word login. login : buniel passwd : ******

5. Host directory. Host tset target directory. Ftp. ftp>cd root ftp>cd gpio ftp>get test ftp>quit 6. Target test program. Target test file. Test gpio device driver. Test program check bit. (.) target]# chmod +x test target]#./test