imx6 Rex EMC testing Content

Similar documents
Getting Started with BeagleBoard xm

Q7M EVK (Q7M120

Downloaded from: justpaste.it/o09s

User s Manual for the Boundary Devices Nitrogen R board

Tutorial : Confguring a micro SD memory card as both swap and storage area for the DragonBoard 410c (DB410C)

i.mx53 START Linux User s Guide

Matrix. Get Started Guide

Windows Method Using Linux Live CD and Gparted

Error Creating Partition Table Helper Exited With Exit Code 1

Operating System. Hanyang University. Hyunmin Yoon Operating System Hanyang University

fit-pc Intense 2 Overview

Cross-compilation with Buildroot

LTIB for i.mx28, a step-by-step guide

0B specifications 1B

Pronto PicOS 1.4 Installation Reference Guide

SCM EVK (SCM120

Project 3: An Introduction to File Systems. COP 4610 / CGS 5765 Principles of Operating Systems

Disks, Filesystems Todd Kelley CST8177 Todd Kelley 1

Disks, Filesystems 1

This is Worksheet and Assignment 12. Disks, Partitions, and File Systems

CST8207 GNU/Linux O/S I Disks and Partitions

Linux. For BCT RE2G2. User Guide. Document Reference: BCTRE2G2 Linux User Guide. Document Issue: Associated SDK release: 1.

i.mx Linux User's Guide

Item Number Item Name Qty conga-qeval/qseven each

Providing Traditional Computational Facility through TV SetTop Box (PROTRACTS)

How to Back-Up a fit-pc2 Using Only a USB Stick (and some creative partitioning)

SparkGate7 Quick startup guide

fitlet-rm specifications

Wind River Pulsar Linux Quick Start For Avnet Zynq Version 7.0

Manually Mount Usb Flash Drive Linux Command Line Redhat

Project 3: An Introduction to File Systems. COP4610 Florida State University

Red Hat Enterprise Linux 6 Server Instruction Guide for Creating Volume in Free Disk Space

Matrix. Get Started Guide V2.0

DEVELOPMENT GUIDE. ARTiGO A820. Linux BSP v

TEGRA LINUX DRIVER PACKAGE (R15.BETA)

CST8207: GNU/Linux Operating Systems I Lab Nine Disks, Partitions, and File Systems Part 2. Disks, Partitions, and File Systems - Part 2 of 2

Chapter 6. Linux File System

OMNI Expandable HMI Panel Computer with Intel Celeron J1900/ N2807 Processor

Disks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1

Getting Started with Pentaho and Cloudera QuickStart VM

QUICK START GUIDE ALTA DS 4K. Android EVK v

Rugged Panel PC AcuPanel 12 User Manual Revision 2.0

FabiaTech Corporation

Idea6410 Ubuntu User Manual V 0.19

AT91SAM9G45-EVK Linux. User Manual

Using GIGABYTE Netbook for the First Time

USER Manual RCS Xeon /Core i7/i5/i3 Fanless Robust Computing System High Performance, Flexible, Expandable, Extended Temperature.

Tutorial setting up linux-port

User Manual V4.0. Element14 element14.com/pidesktop 1

Upgrade Cisco Interface Module for LoRaWAN IXM using the Console

How to securely isolate Damn Vulnerable Linux with VirtualBox

Week 10 Project 3: An Introduction to File Systems. Classes COP4610 / CGS5765 Florida State University

Quick Start Guide EX-9686U/A-L(A9) Copyright TOPSCCC Technology CO., LTD. All rights reserved

Manually Mount Usb Flash Drive Linux Command Line Fedora

RocketRAID 231x/230x SATA Controller Debian Linux Installation Guide

DEVELOPMENT GUIDE. Basler PowerPack for Embedded Vision


Renesas Koelsch Hardware Setup and Software Installation

IOT-GATE-iMX7 Datasheet

Adafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi

Quick Start Guide. SABRE Platform for Smart Devices Based on the i.mx 6 Series

By: Yushi Wang Partners: Shen Yue and Yubing Xu Group 6. How to Setup Pandaboard ES Software Environment for UAV Project

SOLIDRUN LTD. SolidRun Ltd. P.O Box 75 Migdal-Tefen, ISRAEL

Porting Tizen v2.3 on ODROID U3. SKKU Embedded Software Lab.

RakunLS1, Qseven SBC module with LS1021A

OMAP3530 has 256MB NAND flash in PoP (PoP: Package-On-Package implementation for Memory Stacking) configuration.

RocketRAID 2522 SATA Controller Ubuntu Linux Installation Guide

Raspberry Pi Network Boot

ZOTAC ZBOX nano. User s Manual

SABRE for Automotive Infotainment Quick Start Guide. Smart Application Blueprint for Rapid Engineering Based on the i.mx 6 Series

ZOTAC ZBOX nano. User s Manual

RG-MACC_2.0 Installation Manual

Quick Start Guide. i.mx 6SoloLite Evaluation Kit

ELE409 SPRING2018 LAB0

Rugged Panel PC AcuPanel 17 User Manual Revision 1.5

Using AORUS Notebook for the First Time

EX-9686U/A-L(A9) Hardware User Manual

fit-pc3i Owner s Manual

How To Resize ext3 Partitions Without Losing Data

USB 2.0 Multi-Plus Card Reader/Writer. User s Manual

INSTALLATION. Security of Information and Communication Systems. Table of contents

Build a powerful Web Server

EM210 Linux User Manual

ThinkCentre M715 Tiny Thin Client Photography

MYD-Y6ULX Development Board

RocketRAID 231x/230x SATA Controller Red Hat Enterprise/CentOS Linux Installation Guide

imx6-dk ARM A9 Development Kit Linux Development Guide

MFT / Linux Setup Documentation May 25, 2008

ZOTAC ZBOX nano. User s Manual

Product Specifications. XPC slim Barebone DH02U5. Feature Highlights. Powerful 1.3-litre PC with NVIDIA graphics supports four Ultra HD displays

RocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide

A176 Cyclone. GPGPU Fanless Small FF RediBuilt Supercomputer. IT and Instrumentation for industry. Aitech I/O

Adding a block devices and extending file systems in Linux environments

This section describes the procedures needed to add a new disk to a VM. vmkfstools -c 4g /vmfs/volumes/datastore_name/vmname/xxxx.

Features and Benefits. Certifications

ZP-PI335GK-BT User s Manual

INSTALLATION. Security of Information and Communication Systems

IVI Fast boot approach

Inspiron 3268 Setup and Specifications

Quick Start Guide SBC21/NSD21/EC 21 SBC21 / EC21 / NSD21. Quick Start Guide. Copyright IC Nexus Corporation. All rights reserved

Transcription:

imx6 Rex EMC testing (including the script examples) Here you can find the setup, scripts and results of imx6 Rex EMC testing. Content 1. Hardware configuration 2. Test description 3. Test results Radiated emission 4. Test results Conducted emission APPENDIX 5. How to prepare the test outline 6. Standard test 7. Heavy test 1. Hardware configuration

Connected cables/devices Power jack: +12V from an isolated source SD card 1 (the one on the PCB edge): preloaded with Filesystem and used for booting SD card 2 (the one under heatsink): used for read/write testing RTC Battery: inserted in the holder Ethernet: Ethernet loopback cable connected. Forced to 100Mb and used for ping test. HDMI monitor: during the test, the monitor is connected but turned off. 2x USB memory stick: each connected through an extension cable. Both used during read/write test. RS232: a null modem cable connected. During the test, the cable was terminated with an RS232 to USB converter. SATA CFAST card (without the metal card holder): used for read/write testing Headphones & Microphone: standard headphones connected to the headphones and microphone jack Audio loopback: a cable connected between Line in and Line out Wifi PCIE mini card: inserted, but not actively used. No antennas connected. Modem: inserted, but not actively used. No antennas connected, no SIM card inserted. back to top

2. Test description The goal of this test was to check Radiated and Conducted emission of imx6 Rex board while running at very high load. What was running: CPU stress test Memory stress test GPU stress test (running a Full HD graphics test at rate 150 frames per second) Linux GUI Playing a video file Playing an audio file SD card test (SD card read & write stress test) 2x USB test (USB memory stick read & write stress test) SATA test (CFAST SSD card read & write stress test) Ethernet ping 3. Test Results - Radiated emission *Note: Tested for EN55022B Vertical polarization Running Linux Only back to top

Vertical polarization Heavy Testing

Horizontal polarization Running Linux Only

Horizontal polarization Heavy Testing back to top

4. Test Results - Conducted emission *Note: tested with VEP36US12 AC Adaptor Power cable L1 Heavy Testing (page 1)

Power cable L1 Heavy Testing (page 2)

Power cable N Heavy Testing (page 1)

Power cable N Heavy Testing (page 2) back to top

Appendix 5. How to prepare the test 1. Download this file system (created based on Jasbirs blog), download this kernel and follow these steps to prepare SD card. 2. Insert the SD card to the edge SD card slot. 3. Update the u-boot to boot up from SD card and set few other parameters: > setenv bootargs_mmc 'setenv bootargs ${bootargs} ip=192.168.10.91:::255.255.255.0 root=/dev/mmcblk1p1 rootwait video=mxcfb0:dev=hdmi,1920x1080m@60,if=rgb666 vmalloc=400m fbmem=28m fbcon=28m' > setenv bootcmd_mmc 'run bootargs_mmc ; mmc dev 1; ext2load mmc 1 0x10800000 imx6rex-uimage-gpu-en-audio-fix-03-apr-2014 3915972; bootm 0x10800000' > saveenv 4. Run test scripts (they are included in the file system, or you can download them here: Download Standard Test or Download Heavy Test). As script parameters use the directories where the devices are mapped (without /dev/)./name-of-the-test.sh SATA_DIR USB0_DIR USB1_DIR MMC0_DIR Here are examples how to run the scripts (in this example /dev/mmcblk1p1 is a filesystem device): #./emc-test1.sh sda1 sdb1 sdc1 mmcblk0p1 and the heavy test #./emc-test-all.sh sda1 sdb1 sdc1 mmcblk0p1

*Note: you may need to check where your devices are mounted. Use fdisk -l. Here is an example: # fdisk -l Disk /dev/sda: 7998 MB, 7998455808 bytes 108 heads, 63 sectors/track, 2296 cylinders, total 15621984 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x001c2022 Device Boot Start End Blocks Id System /dev/sda1 2048 15621983 7809968 83 Linux Disk /dev/mmcblk0: 3904 MB, 3904897024 bytes 4 heads, 16 sectors/track, 119168 cylinders, total 7626752 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xc44e7f69 Device Boot Start End Blocks Id System /dev/mmcblk0p1 2048 7626751 3812352 83 Linux Disk /dev/mmcblk1: 1977 MB, 1977614336 bytes 61 heads, 62 sectors/track, 1021 cylinders, total 3862528 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/mmcblk1p1 62 3861421 1930680 83 Linux Disk /dev/sdb: 16.2 GB, 16219373568 bytes 256 heads, 48 sectors/track, 2578 cylinders, total 31678464 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xc3072e18 Device Boot Start End Blocks Id System /dev/sdb1 48 7372799 3686376 6 FAT16

Disk /dev/sdc: 16.0 GB, 16008609792 bytes 255 heads, 63 sectors/track, 1946 cylinders, total 31266816 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdc1 32 31266815 15633392 c W95 FAT32 (LBA) back to top 6. The Standard test script #!/bin/sh mountdevice() { mount /dev/$1 /media/$2 cat /etc/mtab grep -F "/dev/$1 /media/$2" if [ "$?" -eq "0" ]; then echo "$2 mounted" else echo "$2 not mounted"; exit 2 fi } # mount devices a test a status mountdevice $1 sata mountdevice $2 usb0 mountdevice $3 usb1 mountdevice $4 mmc0 # tell the X applications where they should run export DISPLAY=:0 # run X window - wait for the procces service lightdm start # connect ethernet loopback and force the ethernet to 100Mbit mii-tool -F 100baseTx-HD # play a video file in an infinite loop

echo 0 > /sys/class/graphics/fb2/blank sudo -u "ubuntu" xfce4-terminal --geometry=70x20+100+10 -x mplayer -vo fbdev2:/dev/fb2 -vf scale -zoom -loop 0 -xy 1024 /home/ubuntu/clou$ # ping sudo -u "ubuntu" xfce4-terminal --geometry=70x25+100+600 -x ping 192.168.10.1 & # top sudo -u "ubuntu" xfce4-terminal --geometry=90x50+900+10 -x top & proceed=1 file1="blackbird.wav" while [ $proceed -eq 1 ] do cp1_done=`ps cax grep $cp1_pid grep cp` if [ -z "$cp1_done" ]; then # run cp only if previous cp is done cp /media/usb0/$file1 /media/sata & cp1_pid=$! echo "started cp from usb0 to sata" fi cp2_done=`ps cax grep $cp2_pid grep cp` if [ -z "$cp2_done" ]; then # run cp only if previous cp is done cp /media/usb1/$file1 /media/mmc0 & cp2_pid=$! echo "started cp from usb1 to mmc0" fi aud_done=`ps cax grep $aud_pid grep aplay` if [ -z "$aud_done" ]; then aplay -D hw:0,0 /home/ubuntu/blackbird.wav & aud_pid=$! echo "started play audio" fi done # kill all procceses if Ctrl+C detected trap '$precced=0; kill $cp1_pid $cp2_pid &aud_pid;' 2 sleep 10000 back to top

7. The Heavy test script #!/bin/sh mountdevice() { mount /dev/$1 /media/$2 cat /etc/mtab grep -F "/dev/$1 /media/$2" if [ "$?" -eq "0" ]; then echo "$2 mounted" else echo "$2 not mounted"; exit 2 fi } # mount devices a test a status mountdevice $1 sata mountdevice $2 usb0 mountdevice $3 usb1 mountdevice $4 mmc0 # tell the X applications where they should run export DISPLAY=:0 # run X windows - wait for the procces service lightdm start # connect Ethernet loopback and force the ethernet to 100Mbit mii-tool -F 100baseTx-HD # gpu test cd /root/gpu-viv-bin-mx6q-3.10.9-1.0.0-hfp/opt/viv_samples/vdk./tutorial7 & gpu_pid=$! cd # play a video file on the lvds display echo 0 > /sys/class/graphics/fb2/blank mplayer -vo fbdev2:/dev/fb2 -vf scale -zoom -loop 0 -xy 1024 -really-quiet /home/ubuntu/clouds.avi & vid_pid=$! # stressapptest - testing sata, 2x usb, sd card, 1 thread CPU, 1 thread memory stressapptest -f /media/sata/tmp-file1 -f /media/usb0/tmp-file1 -f /media/usb1/tmp-file1 -f /media/mmc0/tmp-file1 -s 600000 -M 50

-m 1 $ str_pid=$! echo "Stressapptest: " $str_pid # play a audio file mplayer -loop 0 -really-quiet /home/ubuntu/blackbird.wav & aud_pid=$! # ping ping 192.168.10.1 & ping_pid=$! # top top top_pid=$! # kill all procceses if Ctrl+C detected trap '$procced=0; kill $gpu_pid $vid_pid $aud_pid $str_pid $ping_pid;' 2 sleep 10000 Note: If the LVDS monitor is not included in the setup comment out these lines: #echo 0 > /sys/class/graphics/fb2/blank #mplayer -vo fbdev2:/dev/fb2 -vf scale -zoom -loop 0 -xy 1024 -really-quiet /home/ubuntu/clouds.avi & Add this line (to disable LVDS): # echo 1 > /sys/class/graphics/fb2/blank back to top