THIS DEVICE COMPLIES WITH PART 15 FCC RULES. OPERATION IS
SUBJECT TO THE FOLLOWING TWO CONDITIONS:
(1) THIS DEVICE MAY NOT CAUSE HARMFUL INTERFERENCE.
(2) THIS DEVICE MUST ACCEPT ANY INTERFERENCE RECEIVED INCLUDING
INTERFERENCE THAT MAY CAUSE UNDESIRED OPERATION.
THIS EQUIPMENT HAS BEEN TESTED AND FOUND TO COMPLY WITH THE LIMITS
FOR A CLASS "A" DIGITAL DEVICE, PURSUANT TO PART 15 OF THE FCC RULES.
THESE LIMITS ARE DESIGNED TO PROVIDE REASONABLE PROTECTION AGAINST
HARMFUL INTERFERENCE WHEN THE EQUIPMENT IS OPERATED IN A
COMMERCIAL ENVIRONMENT. THIS EQUIPMENT GENERATES, USES, AND CAN
RADIATE RADIO FREQUENCY ENERGY AND, IF NOT INSTATLLED AND USED IN
ACCORDANCE WITH THE INSTRUCTION MANUAL, MAY CAUSE HARMFUL
INTERFERENCE TO RADIO COMMUNICATIONS.
OPERATION OF THIS EQUIPMENT IN A RESIDENTIAL AREA IS LIKELY TO CAUSE
HARMFUL INTERFERENCE IN WHICH CASE THE USER WILL BE REQUIRED TO
CORRECT THE INTERFERENCE AT HIS OWN EXPENSE.
Avalue Customer Services
Each and every Avalue’s product is built to the most exacting specifications to ensure
reliable performance in the harsh and demanding conditions typical of industrial
environments. Whether your new Avalue device is destined for the laboratory or the factory
floor, you can be assured that your product will provide the reliability and ease of operation
for which the name Avalue has come to be known.
Your satisfaction is our primary concern. Here is a guide to Avalue’s customer services. To
ensure you get the full benefit of our services, please follow the instructions below carefully.
Technical Support
We want you to get the maximum performance from your products. So if you run into
technical difficulties, we are here to help. For the most frequently asked questions, you can
easily find answers in your product documentation. These answers are normally a lot more
detailed than the ones we can give over the phone. So please consult the user’s manual
first.
To receive the latest version of the user’s manual; please visit our Web site at:
http://www.avalue.com.tw/
2 SMA- IMX6 User’s Manual
User’s Manual
3
Content
1. Getting Started ............................................................................................................ 4
3. Linux User Guide ......................................................................................................... 14
3.1 Download Source code for building Ubuntu image file ............................................ 15
3.2 Set up a Linux host for building U-boot & Kernel Image .......................................... 15
3.3 Building up U-boot & Kernel image ................................ ......................................... 15
3.4 Use MfgTool to flash Ubuntu into onboard eMMC .................................................. 17
3.5 Create a bootable SD card with Ubuntu 12.04 file system ...................................... 20
3.6 Bootloader settings for booting from SD card ......................................................... 22
3.7 Bootloader settings for booting from onboard eMMC .............................................. 24
3.8 Display output application of IMX6 .......................................................................... 26
3.9 Download Android Source Code for building image file .......................................... 29
3.10 Set up for building Android image file ...................................................................... 29
3.11 Building up Android image file ................................ ................................ ................. 30
3.12 Use MfgTool to flash Android into onboard eMMC.................................................. 31
SMA-IMX6 User’s Manual
SMA-IMX6 User’s Manual
1. Getting Started
1.1 Safety Precautions
Warning!
Always completely disconnect the power cord from your
chassis whenever you work with the hardware. Do not
make connections while the power is on. Sensitive
electronic components can be damaged by sudden power
surges. Only experienced electronics personnel should
open the PC chassis.
Caution!
Always ground yourself to remove any static charge before
touching the CPU card. Modern electronic devices are very
sensitive to static electric charges. As a safety precaution,
use a grounding wrist strap at all times. Place all electronic
components in a static-dissipative surface or static-shielded
bag when they are not in the chassis.
Always note that improper disassembling action could cause damage to the
motherboard. We suggest not removing the heatsink without correct
instructions in any circumstance. If you really have to do this, please contact
us for further support.
1.2 Packing List
Before you begin installing your single board, please make sure that the
following materials have been shipped:
1 x SMA-IMX6 Risc Module
1 x Quick Installation Guide for SMA-IMX6
4 SMA- IMX6 User’s Manual
5
Revision
Date
By
Comment
1st
April 2014
Avalue
Initial Release
1.3 Document Amendment History
User’s Manual
SMA-IMX6 User’s Manual
SMA-IMX6 User’s Manual
1.4 Manual Objectives
This manual describes in details Avalue Technology SMA-IMX6 Single Board.
We have tried to include as much information as possible but we have not duplicated
information that is provided in the standard IBM Technical References, unless it proved to
be necessary to aid in the understanding of this board.
We strongly recommend that you study this manual carefully before attempting to set up
SMA-IMX6 series or change the standard configurations. Whilst all the necessary
information is available in this manual we would recommend that unless you are confident,
you contact your supplier for guidance.
Please be aware that it is possible to create configurations within the CMOS RAM that
make booting impossible. If this should happen, clear the CMOS settings, (see the
description of the Jumper Settings for details).
If you have any suggestions or find any errors regarding this manual and want to inform us
of these, please contact our Customer Service department with the relevant details.
6 SMA- IMX6 User’s Manual
7
System
Processor
Freescale i.MX 6
Solo, Dual Lite, Dual and Quad Core ARM Cortex-A9
Up to 1.2GHz
Graphics
Dual Display
HD 1080p Encode and Decode
2D and 3D Acceleration
Memory
DDR3L 512MB ~ 2GB
Flash
4GB (Up to 64GB) eMMC On-module
Ethernet
10/100/1000 Mbit/sec
USB
2 x USB 2.0 Port (One OTG)
Display
Parallel LCD 18/24-bit
LVDS Single Channel 18/24-bit
HDMI
Image Capture
Interfaces
2 Interfaces (PCAM, CSI)
Serial
2 x RX/TX (Ser1/3); 2 x UART (Ser0/2)
Additional
Interfaces
Up to 3 PCIex1, MLB150, 12 x GPIOs, SDIO,
SATA eMMC, 2 x SPI, 5 x I2C, 1 x I2S, SPDIF, WDT,
2 x CAN, JTAG
FRAM
128Kb I2C Interface FRAM (Optional)
Mechanical &
Environmental
SW Support
Android
Linux
Thermal
Commercial Temperature: 0°C to +60°C and Industrial
Temperature: -40°C to 85°C (800MHz versions)
Power Supply
3V to 5.25V - Operates Directly from Single Level
Lithium Ion Cells, or Fixed 3.3V or 5V Power Supplies
Compliance
Form Factor: 82mm x 50mm
Compliance: SMARC (Smart Mobility Architecture)
Specification by SGET
1.5 System Specifications
User’s Manual
SMA-IMX6 User’s Manual
SMA-IMX6 User’s Manual
1.6 Architecture Overview—Block Diagram
The following block diagram shows the architecture and main components of SMA-IMX6.
8 SMA- IMX6 User’s Manual
User’s Manual
9
2. Hardware
Configuration
SMA-IMX6 User’s Manual
SMA-IMX6 User’s Manual
Connectors
Label
Function
Note
JSMA1
iMX6 connector
2.1 Product Overview
2.2 Connector List
The following tables list the function of each of the board’s connectors.
3.1 Download Source code for building Ubuntu image file
Please make a folder for storing the source code first then typing the command below to get
started for the source code download.
$ Sudo apt-get install git
$ git clone guest@202.55.227.57:freescale/core.git -b SMARC
About password, please check with Avalue Sales or PM to get it.
3.2 Set up a Linux host for building U-boot & Kernel Image
We support to compile u-boot & Kernel on Ubuntu 12.04 (64bit version), other version of
Ubuntu is not currently supported and may have built issues.
Install host packages needed by building code. This document assumes you are using
Ubuntu. Not a requirement, but the packages may be named differently and the method of
installing them may be different.
3.3 Building up U-boot & Kernel image
You can follow up the steps below to compile the u-boot & Kernel after downloading the
source code.
1.Please move to folder ”core” then start to compile both the u-boot & Kernel.
..~/$ cd core/
2.Type the command to compile both u-boot & Kernel.
$ make rev-sa01 –j number
(-j number means multi jobs for more efficiant building, you can add it according to your
CPU performance of PC, e.g. mine is ”–j16” as below )
SMA-IMX6 User’s Manual
SMA-IMX6 User’s Manual
3. You can find the u-boot(u-boot.bin) & Kernel(uImage) under folder ”core” as below after
the compiling is finish.
PS: If you would like to use Mfgtool for flashing image file, you must put the
file u-boot.bin and uImage under “~\Image\smarc” for right detected path.
16 SMA- IMX6 User’s Manual
User’s Manual
17
3.4 Use MfgTool to flash Ubuntu into onboard eMMC
Manufacturing tool, a successor of ATK, provides a series of new features to power your
mass production work. The features like windows style GUI, multiple devices support,
explicit status monitoring, versatile functionalities and highly flexible architecture make it a
best choice to meet your critical timing, cost and customization requirements.
For using Mfgtool to flash image file into onboard eMMC, please follow up the steps below
1. Please turn on the Pin4 of the DIP switch as below into burning mode of Mfgtool.
2. Power on the mainboard then plug the cable from OTG socket to PC.
3. Click the folder “~\MFG-Tools”, e.g. mine is
D:\ MFG-REV-SA01_Image\MFG-Tools”
4. Click the “MfgLoader.exe”.
SMA-IMX6 User’s Manual
SMA-IMX6 User’s Manual
5. Select the MCU option by name, if the MCU of module board is “i.MX6 Solo”, please
click “MX6DL Linux Update”, and click “Linux-ubuntu” (Ubuntu GUI version) for the
OS of flashing, then click “Run MFG Tool”.
Or the if the MCU of module board is “i.MX6 Quad core”, please click “MX6Q Linux
Update”, and click “Linux-ubuntu” (Ubuntu GUI version) for the OS of flashing,
then click “Run MFG Tool”.
6. The second screen will show up after clicking “Run MFG Tool”, and please check
whether it shows “HID-compliant device” as below, if not, please re-check the cable
connection and DIP switch setting between mainboard and PC.
18 SMA- IMX6 User’s Manual
User’s Manual
19
7. Click “Start” to flash image file.
8. It will show “Done” after flashing is finish, then click “Stop” and “Exit” to close the
screen.
9. You can also get the information from Terminal (debug portCOM1) after flashing is
finish.
SMA-IMX6 User’s Manual
SMA-IMX6 User’s Manual
3.5 Create a bootable SD card with Ubuntu 12.04 file system
Please insert a SD card in the card reader on your Linux host PC
1) Check device node of your SD card by command below.
$cat /proc/partitions (for example, mine is /dev/sdd as below)
Create EXT3 partition for SD card
$ sudo fdisk /dev/sdd
Type the following parameters (each followed by <ENTER>):
d [delete the previous partition]
n [create a new partition]
p [create a primary partition]
1 [the first partition]
20480 [20480x512bytes=10MB, which leaves enough space for the kernel, the
boot loader and its configuration data]
<enter> [using the default value will create a partition that spans to the last
sector of the medium]
w [ this writes the partition table to the medium and fdisk exits].
2) Format new partition in EXT3 format
$sudo umount /dev/sdd1
$sudo mkfs.ext3 /dev/sdd1
3) Install bootloader on SD card by command below.
This section describes how to setup the display output for LVDS, HDMI, VGA of IMX6
module.
1. You can find the file of resolution setup of LVDS&VGA under the
directory ”..~/core/kernel/drivers/video/mxc”, for LVDS is ”ldb.c”, and for VGA is ”
mxc_lcdif.c”.
”ldb.c” ”mxc_lcdif.c”
2. You need to fill the resolution parameter(.mode_str) on the file ”rev_sa01.c”
under ”~/core/kernel/arch/arm/mach-mx6/smarc/”, and the code of First Display is
alway in the upper block.
26 SMA- IMX6 User’s Manual
User’s Manual
27
3. Finally, you should fill the parameter for booting on the file ”mx6_smarc.h” under the
directory ”~/core/u-boot/include/configs/”.
Please add ”video=mxcfb0:dev=display name” on the column 132
"rootwait rw \0" to enable display output function when booting.
4. Please refer ch1.3 to re-build the u-boot &Kernel binary file for booting.
Note: If you need to use double display output in Ubuntu, you should setup the ”
rev_sa01.c” file first then add the content ”video=mxcfb0:dev=first display name
SMA-IMX6 User’s Manual
SMA-IMX6 User’s Manual
video=mxcfb1:dev=second display neme” to mx6_smarc.h, but for this application,
you also need to write a program for controling the second diplay first or the second
display will not enable after you follow up all the setting above.
28 SMA- IMX6 User’s Manual
User’s Manual
29
3.9 Download Android Source Code for building image file
Please make a folder for storing the source code first then typing the command below to get
started for the source code download.
About password, please check with Avalue Sales or PM to get it.
3.10 Set up for building Android image file
We support to compile u-boot & Kernel on Ubuntu 12.04 (64bit version), other version of
Ubuntu is not currently supported and may have built issues.
Install host packages needed by building code. This document assumes you are using
Ubuntu. Not a requirement, but the packages may be named differently and the method of
installing them may be different.
1) Please follow up the commands below to install ”Oracle JDK6.0” first for building up
Android image file.
You can follow up the steps below to compile Android image file after download the
source code.
1. Please move to the folder ”Android” then start to compile image file.
2. Type the command to compile image file.
$ ./run.sh –j16
(-j number means multi jobs for more efficiant building, you can add it according to
your CPU performance of PC, e.g. mine is ”–j16” as below ).
3. You can find the finished image file(u-boot-6q.bin, u-boot-6solo.bin, system.img,
recover.img, boot.img) as below after compiling on the directory
~/Android/out/target/product/smarc.
PS: If you would like to use Mfgtool for flashing image file, you must put all the
files u-boot-6q.bin, u-boot-6solo.bin, system.img, recover.img, boot.img under
“~\Image\smarc\android” for right detected path.
30 SMA- IMX6 User’s Manual
User’s Manual
31
3.12 Use MfgTool to flash Android into onboard eMMC
Manufacturing tool, a successor of ATK, provides a series of new features to power your
mass production work. The features like windows style GUI, multiple devices support,
explicit status monitoring, versatile functionalities and highly flexible architecture make it a
best choice to meet your critical timing, cost and customization requirements.
For using Mfgtool to flash image file into onboard eMMC, please follow up the steps below
1) Please turn on the Pin4 of the DIP switch as below into burning mode of Mfgtool.
2) Power on the mainboard then plug the cable from OTG socket to PC.
3) Select the right folder by MCU name, if the MCU of module board is “i.MX6 Solo”, please click the folder “~\ MX6DL-IMX6” to flash image file, e.g. mine is D:\
MFG-REV-SA01_Image\MX6DL-IMX6”
SMA-IMX6 User’s Manual
SMA-IMX6 User’s Manual
On the other hand, if the MCU of module board is “i.MX6 Quad core”, please click the
folder “~\ MX6Q-IMX6” to flash image file, e.g. mine is
D:\ MFG-REV-SA01_Image\ MX6Q-IMX6”
4) Click “MfgTool2.exe” to flash image file into smarc module.
5) Click “Start” to flash image file.
6) It will show “Done” after flashing is finish, then click “Stop” and “Exit” to close the screen.
32 SMA- IMX6 User’s Manual
User’s Manual
33
7) You can also get the information from Terminal (debug portCOM1) after flashing is
finish.
SMA-IMX6 User’s Manual
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.