Mango-AM335x Hardware Test Manual

Similar documents
Mango220 Android How to compile and Transfer image to Target

Mango-IMX6Q mfgtool을 이용한 이미지 Write하기

Mango-AM335x LCD Type 커널 Module Parameter에서 변경하기

(SW3704) Gingerbread Source Build & Working Guide

망고 M 카메라 포팅 가이드

PowerPoint 프레젠테이션

무시하고진행합니다. $ sudo rootstock -d precise --seed ubuntu-standard -x en_us.utf-8 -f ubuntu -l ubuntu -p ubuntu -i 2G I: Running on a x86_64 machine I: Cre

Mango-E-Toi Board Developer Manual

PowerPoint 프레젠테이션

휠세미나3 ver0.4

bn2019_2

(SW3704) Gingerbread Source Build & Working Guide

CZ-KETI-IOTG200

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

CD-RW_Advanced.PDF

K7VT2_QIG_v3

Raspbian 설치 라즈비안 OS (Raspbian OS) 라즈베리파이 3 Model B USB 마우스 USB 키보드 마이크로 SD 카드 마이크로 SD 카드리더기 HDM I 케이블모니터

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

소개 TeraStation 을 구입해 주셔서 감사합니다! 이 사용 설명서는 TeraStation 구성 정보를 제공합니다. 제품은 계속 업데이트되므로, 이 설명서의 이미지 및 텍스트는 사용자가 보유 중인 TeraStation 에 표시 된 이미지 및 텍스트와 약간 다를 수

PowerPoint 프레젠테이션

Microsoft PowerPoint - eSlim SV [080116]

Smart Power Scope Release Informations.pages

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

hd1300_k_v1r2_Final_.PDF

PowerPoint 프레젠테이션

Microsoft PowerPoint - eSlim SV [ ]

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

Sena Device Server Serial/IP TM Version

chapter4

PLC Robot Starter Quick Guide

Mango24R2 Auto Write

MySQL-Ch10

LCD Monitor

PRO1_04E [읽기 전용]

Flute-GR_BV199_DOS.indb

VZ94-한글매뉴얼

PowerPoint 프레젠테이션

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 (

Microsoft PowerPoint - User Manual pptx

지난시간에... 우리는 kernel compile을위하여 cross compile 환경을구축했음. UBUNTU 12.04에서 arm-2009q3를사용하여 간단한 c source를빌드함. 한번은 intel CPU를위한 gcc로, 한번은 ARM CPU를위한 gcc로. AR

목차 1. 제품 소개 특징 개요 Function table 기능 소개 Copy Compare Copy & Compare Erase

PowerPoint 프레젠테이션

LCD Monitor

Chap 10 안드로이드커널 (Kernel)

DSP_MON 프로그램 메뉴얼

<4D F736F F F696E74202D20C0BDBCBA484D4920C0FBBFEB20C5DAB7B9B8C5C6BDBDBA20B4DCB8BBB1E228B9DFC7A5C0DAB7E129>

<4D F736F F D E20B4DCB8BB20C1A1B0CB20B9D720C1B6C4A120B8C5B4BABEF35F76312E335F2E646F63>

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

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

슬라이드 1

Microsoft Word - USB복사기.doc

untitled

ez-md+_manual01

벤처연구사업(전동휠체어) 평가

untitled

PowerPoint Presentation

<목 차 > 제 1장 일반사항 4 I.사업의 개요 4 1.사업명 4 2.사업의 목적 4 3.입찰 방식 4 4.입찰 참가 자격 4 5.사업 및 계약 기간 5 6.추진 일정 6 7.사업 범위 및 내용 6 II.사업시행 주요 요건 8 1.사업시행 조건 8 2.계약보증 9 3

1217 WebTrafMon II

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

SMB_ICMP_UDP(huichang).PDF

CL100B_manual_kor_m.0.2.indd

untitled

Chap 3 부트로더 (Bootloader)

<4D F736F F F696E74202D20454D43BCB3B0E8B4EBC3A5BBE7B7CA2828C1D629B8B6B7E7C0CEC6F75FBDC5C1D6C8A3292E707074>

문서 대제목

(Asynchronous Mode) ( 1, 5~8, 1~2) & (Parity) 1 ; * S erial Port (BIOS INT 14H) - 1 -

R50_51_kor_ch1

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

Mango64R3 How to write Wince 6.0


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

solution map_....

Network seminar.key

(72) 발명자 서진교 경기 용인시 수지구 풍덕천2동 1167 진산마을 삼성5차아파트526동 1004호 조필제 경기 용인시 풍덕천동 유스빌 401호 - 2 -

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

Orcad Capture 9.x

PowerPoint 프레젠테이션

manual pdfÃÖÁ¾

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

Solaris Express Developer Edition

Microsoft Word - jEMB11_kor.docx

이 발명을 지원한 국가연구개발사업 과제고유번호 부처명 지식경제부 연구사업명 IT 융합 고급인력과정 지원사업 연구과제명 스마트 자동차를 위한 AUTOSAR 기반 차량 내외부 통신 플랫폼 및 응용기술 주관기관 정보통신산업진흥원 연구기간

Solaris System Administration

DocsPin_Korean.pages

T100MD+

untitled

목차 BUG offline replicator 에서유효하지않은로그를읽을경우비정상종료할수있다... 3 BUG 각 partition 이서로다른 tablespace 를가지고, column type 이 CLOB 이며, 해당 table 을 truncate

Sena Technologies, Inc. HelloDevice Super 1.1.0

CPX-E-EC_BES_C_ _ k1

10X56_NWG_KOR.indd

Remote UI Guide

<BDBAB8B6C6AEC6F95FBDC3C0E55FC8AEB4EB5FC0CCC1D6BFCF5F E687770>

Microsoft PowerPoint - 알고리즘_1주차_2차시.pptx

인켈(국문)pdf.pdf

Microsoft Word - MV210_CPUSpec.doc

Integ

Microsoft Word - ntasFrameBuilderInstallGuide2.5.doc

리뉴얼 xtremI 최종 softcopy

Transcription:

Mango-AM335x Hardware Test Manual http://www.mangoboard.com/ http://cafe.naver.com/embeddedcrazyboys Crazy Embedded Laboratory www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 1

Document History Revision Date Change note Init 2015-05-26 전종인 2

1. 시작하기...4 2. MMC 부팅이미지 Write 및부팅하기...5 2.1. 이미지압축풀기... 5 2.2. 이미지 Write 하기... 5 3. U-boot, 커널이미지 Window PC에서업데이트하기...7 4. Debug Console 검증...8 5. LCD...8 5.1. 7 정전식터치 LCD (1024 x 600 ) 검증... 8 5.2. 10.4 감압식터치 LCD (800 x 600 ) 검증...11 5.3. 7 감압식터치 LCD (800 x 480 ) 검증...16 6. USB Host 테스트... 18 7. USB Device 검증... 20 7.1. Window PC...22 7.2. Linux PC 확인방법...22 7.3. Mango-AM335x Debug Cosole에서확인하기...23 8. Gbit Ethernet 검증... 23 8.1. Gbit Ethernet TCP 속도측정결과...24 8.2. Gbit Ethernet UDP 속도측정결과...26 9. Key Button 검증... 27 10. NAND 디바이스검증... 28 11. RTC Test... 30 www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 3

1. 시작하기 처음시작하기위해서보드와엑세사리가필요합니다. Debug Console 과 AC/DC 어댑터 5V, 사용할 LCD 를연결합니다. 4

디바이스검증을완료했습니다. Up to 1-GHz Sitara ARM Cortex -A8 32-Bit RISC Processor 256MB NAND 내장 512MB DDR3 DRAM MMC, NAND Booting 지원 USB Host 2.0 x 2 지원 Gbit Ethernet x 2 지원 Micro MMC Card Slot x 1 지원 RTC 지원 Indicator LED x 2 Debug UART x 1 USB 2.0 Device x 1 KEY Button x 1 TFT LCD Controller 내장 Expansion Connector 지원 : Audio, I2C, GPIO, etc OS : Android, Linux, 2. MMC 부팅이미지 Write 및부팅하기 2.1. 이미지압축풀기 $ tar xvf m3358_buildroot_xxx_image.tgz 2.2. 이미지 Write 하기 리눅스 PC에 Micro SDHC 8GB 카드를삽입합니다. [icanjji@icanjji-samsung-desktop-system image]$ dmesg tail [1320423.088934] sd 24:0:0:0: [sdg] Write Protect is off [1320423.088940] sd 24:0:0:0: [sdg] Mode Sense: 03 00 00 00 [1320423.089684] sd 24:0:0:0: [sdg] No Caching mode page present [1320423.089689] sd 24:0:0:0: [sdg] Assuming drive cache: write through [1320423.092923] sd 24:0:0:0: [sdg] No Caching mode page present [1320423.092928] sd 24:0:0:0: [sdg] Assuming drive cache: write through [1320423.103863] sdg: sdg1 sdg2 [1320423.106755] sd 24:0:0:0: [sdg] No Caching mode page present www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 5

[1320423.106760] sd 24:0:0:0: [sdg] Assuming drive cache: write through [1320423.106764] sd 24:0:0:0: [sdg] Attached SCSI removable disk 디바이스이름확인 [icanjji@icanjji-samsung-desktop-system image]$ sudo./create-sdcard.sh [sudo] password for icanjji: ############################################################################ #### This script will create a bootable SD card from custom or pre-built binaries. The script must be run with root permissions and from the bin directory of the SDK Example: $ sudo./create-sdcard.sh Formatting can be skipped if the SD card is already formatted and partitioned properly. ############################################################################ #### Availible Drives to write images to: # major minor size name 1: 8 96 7761920 sdg Enter Device Number or n to exit: 디바이스 1 입력후 Enter 키를입력하면자동으로 Write 를합니다. Write 된 Micro SD 카드를보드에삽입하고, 부팅스위치를 MMC0 부팅모드로하면됩니다. 4 번 ON 나머지 OFF 합니다. 6

3. U-boot, 커널이미지 Window PC 에서업데이트하기 Micro SD 카드를 Window PC 에장착합니다. 위와같이파일이보일것입니다. 컴파일된커널이미지를복사를하면됩니다. 복사후 꺼내기 선택합니다. www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 7

4. Debug Console 검증 UART 커넥터에커넥터를삽입후 PC에서 COM Port를확인후터미널프로그램테라텀, putty 등을실행후 Baudrate : 115200 설정 HW Control : NO RTS, CTS : NO 위와같이설정하면됩니다. 그리고, 전원을인가하면, 터미널창으로부팅로그가나오면됩니다. 5. LCD 5.1. 7 정전식터치 LCD (1024 x 600 ) 검증 8

타이밍은아래와같이맞추었습니다. /* Innolux 7" AT070TNA2 Distplay */ [4] = {.name = "INNO_AT070TNA2",.width = 1024,.height = 600,.hfp = 60,,.hbp = 60, www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 9

},.hsw = 200,.vfp = 5,.vbp = 5,,.vsw = 25,.pxl_clk = 50000000,//50MHz.invert_pxl_clk = 1, 커널에서 Configuration 이되어있는지확인후커널빌드후이미지를 Write 합니다. CONFIG_FB_INNO_7INCH_1024X600=y CONFIG_MANGO_TOUCH_FT6x36_5INCH=y Mango-AM335x-ST 7 LCD 1024x600 Display 테스트동영상링크 #0 Mango-AM335x-ST 7 LCD 1024x600 Display 테스트동영상링크 #1 # ts_calibrate 명령으로터치보정을합니다. 터치테스트는아래명령으로테스트하면됩니다. # ts_test 명령을실행하면, 아래와같이화면이나옵니다. 10

7 정전식터치테스트동영상 #1 5.2. 10.4 감압식터치 LCD (800 x 600 ) 검증 Innolux 10.4 인치 LCD 와 CR-LIF2-RT104R001_V1 보드를준비합니다. LSA40AT9001 LCD Datsheet 를보면타이밍이나옵니다. www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 11

타이밍을맞추도록합니다. 전에 Configuration 파일을수정을합니다. drivers/video/kconfig config FB_INNO_104INCH_800X600 tristate "Mango LSA40AT9001 10.4INCH 800x600 Display" depends on FB_DA8XX ---help--- This is the frame buffer device driver for the 10.4inch 800_600 found on DA8xx/OMAP-L1xx SoCs. drivers/video/da8xx-fb.c 파일에아래내용추가 #ifdef CONFIG_FB_INNO_104INCH_800X600 /* Innolux 10.4" Distplay */ [4] = {.name = "INNO_LSA40AT9001",.width = 800,.height = 600,.hfp = 60,//354,//210,.hbp = 60,//46, 12

},.hsw = 200,//40,//1,.vfp = 5,//77,//12,.vbp = 5,//23,.vsw = 25,//20,//1,.pxl_clk = 50000000,//40MHz.invert_pxl_clk = 0, #endif "arch/arm/mach-omap2/board-am335xevm.c" 파일에내용추가 #ifdef CONFIG_FB_INNO_104INCH_800X600 struct da8xx_lcdc_platform_data INNO_LSA40AT9001_pdata = {.manu_name = "INNO",.controller_data = &lcd_cfg,.panel_power_ctrl= lcd_pwr_ctl, }; #endif.type = "INNO_LSA40AT9001", 그리고, 아래내용추가합니다. static void lcdc_init(int evm_id, int profile) { struct da8xx_lcdc_platform_data *lcdc_pdata; MANGO_DBG_DEFAULT; setup_pin_mux(lcdc_pin_mux); if (conf_disp_pll(250000000)) { pr_info("failed configure display PLL, not attempting to" "register LCDC\n"); return; } MANGO_DBG("evm_id=%d\n",evm_id); www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 13

switch (evm_id) { case GEN_PURP_EVM: case GEN_PURP_DDR3_EVM: lcdc_pdata = &TFC_S9700RTWV35TR_01B_pdata; break; case EVM_SK: #ifdef CONFIG_FB_INNO_7INCH_800X480 lcdc_pdata=&ino_ej050na_pdata; #endif #ifdef CONFIG_FB_INNO_7INCH_1024X600 lcdc_pdata=&inno_at070tna2_pdata; ft_touch_init();//crazyboys 20150520 #endif #ifdef CONFIG_FB_INNO_104INCH_800X600 lcdc_pdata=&inno_lsa40at9001_pdata; #endif 커널 configuration 을합니다. CONFIG_TOUCHSCREEN_TI_TSC=y CONFIG_FB_INNO_104INCH_800X600=y 컴파일후이미지를 SD card 에 Write 후확인해보면됩니다. 전압을확인결과 AVDD : 10.3V VGH : 18V VGL : - 7.3V 테스트결과 # fb-test 14

# ts_calibrate 명령으로터치보정을합니다. 터치테스트는아래명령으로테스트하면됩니다. www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 15

# ts_test 명령을실행하면, 아래와같이화면이나옵니다. 5.3. 7 감압식터치 LCD (800 x 480 ) 검증 커널 configuration CONFIG_FB_INNO_7INCH_800X480=y CONFIG_TOUCHSCREEN_TI_TSC=y 테스트결과 16

www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 17

# ts_calibrate 명령으로터치보정을합니다. 터치테스트는아래명령으로테스트하면됩니다. # ts_test 명령을실행하면, 아래와같이화면이나옵니다. 6. USB Host 테스트 USB Host는 2개 port가있습니다. USB Storage를보드에삽입하면인식이되고, 자동마운트됩니다. 지원되는파일시스템포맷은 FAT, EXT2, EXT3, EXT4 입니다. 테스트결과 [root@localhost ~]# usb 1-1.2: new high-speed USB device number 3 using musb-hdrc usb 1-1.2: New USB device found, idvendor=058f, idproduct=6366 usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1.2: Product: Mass Storage Device 18

usb 1-1.2: Manufacturer: Generic usb 1-1.2: SerialNumber: 058F63666433 scsi0 : usb-storage 1-1.2:1.0 scsi 0:0:0:0: Direct-Access Multiple Card Reader 1.00 PQ: 0 ANSI: 0 sd 0:0:0:0: [sda] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] No Caching mode page present sd 0:0:0:0: [sda] Assuming drive cache: write through sd 0:0:0:0: [sda] No Caching mode page present sd 0:0:0:0: [sda] Assuming drive cache: write through sda: sda1 sda2 sd 0:0:0:0: [sda] No Caching mode page present sd 0:0:0:0: [sda] Assuming drive cache: write through sd 0:0:0:0: [sda] Attached SCSI removable disk kjournald starting. Commit interval 5 seconds EXT3-fs (sda2): using internal journal EXT3-fs (sda2): recovery complete EXT3-fs (sda2): mounted filesystem with ordered data mode [root@localhost ~]# [root@localhost ~]# df Filesystem Size Used Avail Use% Mounted on rootfs 7.3G 287M 6.6G 5% / /dev/root 7.3G 287M 6.6G 5% / devtmpfs 250M 0 250M 0% /dev tmpfs 251M 0 251M 0% /dev/shm tmpfs 251M 568K 250M 1% /tmp /dev/sda1 70M 4.1M 66M 6% /media/boot /dev/sda2 7.3G 212M 6.7G 4% /media/rootfs [root@localhost ~]# usb 1-1.1: new high-speed USB device number 4 using musb-hdrc usb 1-1.1: New USB device found, idvendor=8564, idproduct=1000 usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1.1: Product: Mass Storage Device usb 1-1.1: Manufacturer: JetFlash usb 1-1.1: SerialNumber: 97LX1AOHLGS4DLGZ scsi1 : usb-storage 1-1.1:1.0 scsi 1:0:0:0: Direct-Access JetFlash Transcend 4GB 1100 PQ: 0 ANSI: 4 sd 1:0:0:0: [sdb] 7680000 512-byte logical blocks: (3.93 GB/3.66 GiB) www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 19

sd 1:0:0:0: [sdb] Write Protect is off sd 1:0:0:0: [sdb] No Caching mode page present sd 1:0:0:0: [sdb] Assuming drive cache: write through sd 1:0:0:0: [sdb] No Caching mode page present sd 1:0:0:0: [sdb] Assuming drive cache: write through sdb: sdb1 sd 1:0:0:0: [sdb] No Caching mode page present sd 1:0:0:0: [sdb] Assuming drive cache: write through sd 1:0:0:0: [sdb] Attached SCSI removable disk <7>usb-storage: *** thread awakened. [root@localhost ~]# df Filesystem Size Used Avail Use% Mounted on rootfs 7.3G 287M 6.6G 5% / /dev/root 7.3G 287M 6.6G 5% / devtmpfs 250M 0 250M 0% /dev tmpfs 251M 0 251M 0% /dev/shm tmpfs 251M 484K 250M 1% /tmp /dev/sda1 70M 4.1M 66M 6% /media/boot /dev/sda2 7.3G 212M 6.7G 4% /media/rootfs /dev/sdb1 3.7G 7.5M 3.7G 1% /media/sdb1 7. USB Device 검증 20

보드에 USB device 에 Mini USB Cable 을연결한후 USB Storage 가 Window PC 에서인식되는것을 확인할수있습니다. USB Gadget 실행하기 [root@localhost ~]#./usb_dev_mass.sh insmod /root/g_mass_storage.ko file=/dev/mmcblk0 stall=0 removable=1 gadget: Mass Storage Function, version: 2009/09/11 gadget: Number of LUNs=1 lun0: LUN: removable file: /dev/mmcblk0 gadget: Mass Storage Gadget, version: 2009/09/11 gadget: userspace failed to provide iserialnumber gadget: g_mass_storage ready musb-hdrc musb-hdrc.0: MUSB HDRC host driver musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2 usb usb2: New USB device found, idvendor=1d6b, idproduct=0002 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 21

usb usb2: Product: MUSB HDRC host driver usb usb2: Manufacturer: Linux 3.2.0 musb-hcd usb usb2: SerialNumber: musb-hdrc.0 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected [CRZ] drivers/usb/musb/musb_core.c (960) musb_start: devctl 99 [CRZ] drivers/usb/musb/ti81xx.c (697) ti81xx_musb_enable: [CRZ] drivers/usb/musb/musb_core.c (1000) musb_start: devctl 99 [CRZ] drivers/usb/musb/musb_core.c (468) musb_stage0_irq: [root@localhost ~]# [CRZ] drivers/usb/musb/musb_core.c (468) musb_stage0_irq: [CRZ] drivers/usb/musb/musb_core.c (468) musb_stage0_irq: [CRZ] drivers/usb/musb/musb_core.c (468) musb_stage0_irq: gadget: high-speed config #1: Linux File-Backed Storage 7.1. Window PC 드라이버장치로인식을합니다. Window PC 에서임의의파일을복사할수있습니다. 7.2. Linux PC 확인방법 [1420691.624591] usb 2-1.3: new high-speed USB device number 52 using ehci_hcd [1420691.723010] usb-storage 2-1.3:1.0: Quirks match for vid 0525 pid a4a5: 10000 [1420691.723115] scsi30 : usb-storage 2-1.3:1.0 [1420692.718109] scsi 30:0:0:0: Direct-Access Linux File-CD Gadget 0316 PQ: 0 ANSI: 2 [1420692.718761] sd 30:0:0:0: Attached scsi generic sg7 type 0 [1420692.719939] sd 30:0:0:0: [sdg] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB) [1420692.720456] sd 30:0:0:0: [sdg] Write Protect is off [1420692.720462] sd 30:0:0:0: [sdg] Mode Sense: 0f 00 00 00 [1420692.720937] sd 30:0:0:0: [sdg] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [1420692.723789] sdg: sdg1 sdg2 22

[1420692.726430] sd 30:0:0:0: [sdg] Attached SCSI removable disk dmesg tail 명령으로확인결과 sdg1 디바이스노드이름으로인식을확인했습니다. 마운트를해서장치에파일이나디렉토리를만들어보겠습니다. [icanjji@icanjji-samsung-desktop-system work]$ sudo mount /dev/sdg1./usb-storage [icanjji@icanjji-samsung-desktop-system work]$ ls./usb-storage/ CRZ TEST MLO u-boot-spl.bin u-boot.img uimage [icanjji@icanjji-samsung-desktop-system work]$ sudo touch./usb-storage/crz-linux-gadget-test [icanjji@icanjji-samsung-desktop-system work]$ ls./usb-storage/ CRZ TEST MLO crz-linux-gadget-test u-boot-spl.bin u-boot.img uimage 7.3. Mango-AM335x Debug Cosole 에서확인하기 디버깅창에서확인하면만든디렉토리이름이보입니다. [root@localhost ~]# mount /dev/mmcblk0p1 boot_dir/ [root@localhost ~]# ls /root/boot_dir/ CRZ TEST/ MLO* crz-linux-gadget-test* u-boot-spl.bin* u-boot.img* uimage* 8. Gbit Ethernet 검증 www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 23

Mango-AM335x 보드는 Gbit Ethernet 이 2 개있습니다. Dual 이더넷과 NAT 를구성할수있습니다. Giga 이더넷을보드에연결하고성능테스트결과 8.1. Gbit Ethernet TCP 속도측정결과 <TCP 속도 > 디바이스 UPload 속도 Download 속도 ETH0 38 MBytes 320 Mbits/sec 39.5 MBytes 331 Mbits/sec ETH1 37.9 MBytes 319 Mbits/sec 39.5 MBytes 331 Mbits/sec 테스트결과 [root@localhost ~]# ifconfig 24

eth0 Link encap:ethernet HWaddr D0:FF:50:55:FA:60 inet addr:192.168.0.8 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:58 errors:0 dropped:19 overruns:0 frame:0 TX packets:15 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:12734 (12.4 KiB) TX bytes:2438 (2.3 KiB) eth1 Link encap:ethernet HWaddr D0:FF:50:55:FA:62 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) lo Link encap:local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) [root@localhost ~]# iperf -c 192.168.0.2 -i 1 -t 10 ------------------------------------------------------------ Client connecting to 192.168.0.2, TCP port 5001 TCP window size: 20.2 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.0.8 port 36383 connected with 192.168.0.2 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-1.0 sec 37.8 MBytes 317 Mbits/sec [ 3] 1.0-2.0 sec 38.4 MBytes 322 Mbits/sec [ 3] 2.0-3.0 sec 38.4 MBytes 322 Mbits/sec [ 3] 3.0-4.0 sec 38.0 MBytes 319 Mbits/sec [ 3] 4.0-5.0 sec 38.2 MBytes 321 Mbits/sec [ 3] 5.0-6.0 sec 37.9 MBytes 318 Mbits/sec [ 3] 6.0-7.0 sec 38.1 MBytes 320 Mbits/sec [ 3] 7.0-8.0 sec 38.4 MBytes 322 Mbits/sec www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 25

[ 3] 8.0-9.0 sec 38.2 MBytes 321 Mbits/sec [ 3] 9.0-10.0 sec 38.4 MBytes 322 Mbits/sec [ 3] 0.0-10.0 sec 382 MBytes 320 Mbits/sec 8.2. Gbit Ethernet UDP 속도측정결과 <UDP 속도 > 디바이스 UDP Download 속도 UDP Upload 속도 ETH0 250 Mbits/sec 0.019 ms 48.7 MBytes 408 Mbits/sec 0/212762 (0%) 0.041 ms 0/344986 (0%) ETH0 250 Mbits/sec 0.008 ms 48.7 MBytes 408 Mbits/sec 0/212765 (0%) 0.041 ms 0/344986 (0%) Client 속도측정결과 [root@localhost ~]# iperf -c 192.168.0.2 -u -i 1 -t 10 -b 1000M ------------------------------------------------------------ Client connecting to 192.168.0.2, UDP port 5001 Sending 1470 byte datagrams UDP buffer size: 160 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.0.8 port 39248 connected with 192.168.0.2 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-1.0 sec 48.0 MBytes 403 Mbits/sec [ 3] 1.0-2.0 sec 47.9 MBytes 402 Mbits/sec [ 3] 2.0-3.0 sec 48.0 MBytes 402 Mbits/sec [ 3] 3.0-4.0 sec 47.9 MBytes 402 Mbits/sec [ 3] 4.0-5.0 sec 48.0 MBytes 402 Mbits/sec [ 3] 5.0-6.0 sec 48.4 MBytes 406 Mbits/sec [ 3] 6.0-7.0 sec 48.6 MBytes 407 Mbits/sec [ 3] 7.0-8.0 sec 48.7 MBytes 408 Mbits/sec [ 3] 8.0-9.0 sec 48.7 MBytes 408 Mbits/sec [ 3] 0.0-10.0 sec 483 MBytes 405 Mbits/sec [ 3] Sent 344276 datagrams [ 3] Server Report: 26

[ 3] 0.0-10.0 sec 483 MBytes 405 Mbits/sec 0.044 ms 0/344275 (0%) [ 3] 0.0-10.0 sec 1 datagrams received out-of-order UDP Server 속도 Mango-AM335x 서버로설정 [root@localhost ~]# iperf -s -u [ 3] 0.0-10.0 sec 298 MBytes 250 Mbits/sec 0.019 ms 0/212762 (0%) PC Client로설정 [icanjji@crz-ubuntu1204-02 ~]$ iperf -c 192.168.0.8 -i 1 -t 10 -b 250M WARNING: option -b implies udp testing ------------------------------------------------------------ Client connecting to 192.168.0.8, UDP port 5001 Sending 1470 byte datagrams UDP buffer size: 224 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.0.2 port 38349 connected with 192.168.0.8 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-1.0 sec 29.8 MBytes 250 Mbits/sec [ 3] 1.0-2.0 sec 29.8 MBytes 250 Mbits/sec [ 3] 2.0-3.0 sec 29.8 MBytes 250 Mbits/sec [ 3] 3.0-4.0 sec 29.8 MBytes 250 Mbits/sec [ 3] 4.0-5.0 sec 29.8 MBytes 250 Mbits/sec [ 3] 5.0-6.0 sec 29.8 MBytes 250 Mbits/sec [ 3] 6.0-7.0 sec 29.8 MBytes 250 Mbits/sec [ 3] 7.0-8.0 sec 29.8 MBytes 250 Mbits/sec [ 3] 8.0-9.0 sec 29.8 MBytes 250 Mbits/sec [ 3] 0.0-10.0 sec 298 MBytes 250 Mbits/sec [ 3] Sent 212763 datagrams [ 3] Server Report: [ 3] 0.0-10.0 sec 298 MBytes 250 Mbits/sec 0.018 ms 0/212762 (0%) [ 3] 0.0-10.0 sec 1 datagrams received out-of-order 9. Key Button 검증 # hexdump /dev/input/event1 [CRZ] drivers/input/keyboard/gpio_keys.c (361) gpio_keys_isr: ISR GPIO 19 www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 27

0000000 07f2 0000 10c3 000f 0001 0066 0001 0000 0000010 07f2 0000 10e2 000f 0000 0000 0000 0000 [CRZ] drivers/input/keyboard/gpio_keys.c (361) gpio_keys_isr: ISR GPIO 19 0000020 07f3 0000 63c4 0002 0001 0066 0000 0000 0000030 07f3 0000 63c4 0002 0000 0000 0000 0000 10. NAND 디바이스검증 부팅후아래와같이명력을입력하여테스트합니다. [root@localhost ~]# nandtest /dev/mtd0 ECC corrections: 0 ECC failures : 0 Bad blocks : 0 BBT blocks : 0 00000000: checking... Finished pass 1 successfully [root@localhost ~]# nandtest /dev/mtd1 ECC corrections: 0 ECC failures : 0 Bad blocks : 0 BBT blocks : 0 00000000: checking... Finished pass 1 successfully [root@localhost ~]# nandtest /dev/mtd2 ECC corrections: 0 ECC failures : 0 Bad blocks : 0 BBT blocks : 0 00000000: checking... Finished pass 1 successfully [root@localhost ~]# nandtest /dev/mtd3 ECC corrections: 0 ECC failures : 0 Bad blocks : 0 28

BBT blocks : 0 00000000: checking... Finished pass 1 successfully [root@localhost ~]# nandtest /dev/mtd4 ECC corrections: 0 ECC failures : 0 Bad blocks : 0 BBT blocks : 0 001c0000: checking... Finished pass 1 successfully [root@localhost ~]# nandtest /dev/mtd5 ECC corrections: 0 ECC failures : 0 Bad blocks : 0 BBT blocks : 0 00000000: checking... Finished pass 1 successfully [root@localhost ~]# nandtest /dev/mtd6 ECC corrections: 0 ECC failures : 0 Bad blocks : 1 BBT blocks : 0 Bad block at 0x00140000 004e0000: checking... Finished pass 1 successfully [root@localhost ~]# nandtest /dev/mtd7 ECC corrections: 0 ECC failures : 0 Bad blocks : 1 BBT blocks : 0 Bad block at 0x08f60000 0f860000: checking... Finished pass 1 successfully www.mangoboard.com cafe.naver.com/embeddedcrazyboys CRZ Technology 29

11. RTC Test 시간서버로부터시간을할당받기위해서, 우선인터넷이연결합니다. [root@localhost ~]# udhcpc i eth0 아래와같이시험을수행합니다. [root@localhost ~]# rdate -s time.bora.net [root@localhost ~]# date Fri Jun 26 15:39:30 KST 2015 [root@localhost ~]# hwclock -u --systohc [root@localhost ~]# date Fri Jun 26 15:39:39 KST 2015 [root@localhost ~]# hwclock Fri Jun 26 06:39:42 2015 0.000000 seconds rdate 를이용해서정확한 system 시간을설정합니다. rdate 명령을수행하기전에인터넷이되어야합니다. hwclock 설정시에 -u 옵션을꼭설정해야합니다. 이는 UTC 시간으로설정하는것입니다. 이후보드의전원을완전히제거하고다시부팅하였을때이전에설정한시간으로다시설정되어있 는것을확인할수있습니다. 30