Boardcon EM3399 Manual de usuario

1
Customize the embedded system based on YourIdea
1. Introduction
1.1. About this Manual
This manual is intended to provide the user with an overview of the board and benefits, complete
features specifications, and set up procedures. It contains important safety information as well.
1.2. Feedback and Update to this Manual
To help our customers make the most of our products, we are continually making additional and
updated resources available on the Boardcon website (www.boardcon.com , www.armdesigner.com).
These include manuals, application notes, programming examples, and updated software and
hardware. Check in periodically to see what’s new!
When we are prioritizing work on these updated resources, feedback from customers is the number
one influence, If you have questions, comments, or concerns about your product or project, please
no hesitate to contact us at support@armdesigner.com.
1.3. Limited Warranty
Boardcon warrants this product to be free of defects in material and workmanship for a period of one
year from date of buy. During this warranty period Boardcon will repair or replace the defective unit
in accordance with the following process:
A copy of the original invoice must be included when returning the defective unit to Boardcon. This
limited warranty does not cover damages resulting from lighting or other power surges, misuse,
abuse, abnormal conditions of operation, or attempts to alter or modify the function of the product.
This warranty is limited to the repair or replacement of the defective unit. In no event shall Boardcon
be liable or responsible for any loss or damages, including but not limited to any lost profits, incidental
or consequential damages, loss of business, or anticipatory profits arising from the use or inability
to use this product.
Repairs make after the expiration of the warranty period are subject to a repair charge and the cost
of return shipping. Please contact Boardcon to arrange for any repair service and to obtain repair
charge information.

2
Customize the embedded system based on YourIdea
Revision History
Ver
Description
Author
Date
V1.0
Initial version android7.1.2 industry
Qin Xueqin
2019-03-06
V1.1
Support 10.1 inch MIPI LCD
Qin Xueqin
2019-09-03
V1.2
Description update
Zhou Lijun
2019-10-17
V1.3
Compile update
Zhou Lijun
2019-11-25

3
Customize the embedded system based on YourIdea
Content
1 EM3399 Introduction ......................................................................................................................4
2 Compiler Environment....................................................................................................................5
2.1 Vmware7.0+ubuntu14.04 .....................................................................................................5
2.2 Install JDK ............................................................................................................................5
2.3 Install Tools...........................................................................................................................6
3 Compile Source..............................................................................................................................8
3.1 Compile Kernel.....................................................................................................................8
3.2 Compile Android...................................................................................................................8
4 Images Operation...........................................................................................................................9
4.1 Pack Image ..........................................................................................................................9
4.2 Unzip Firmware ..................................................................................................................10
5 Install Serial Terminal Tool............................................................................................................12
6 Burn Images .................................................................................................................................13
6.1 Install Driver .......................................................................................................................13
6.2 Upgrade Uniform Firmware ................................................................................................15
7 Android Application.......................................................................................................................18
7.1 Serial Terminal....................................................................................................................18
7.2 ADB ....................................................................................................................................19
7.3 HDMI Display .....................................................................................................................19
7.4 SD Card .............................................................................................................................19
7.5 USB Host ...........................................................................................................................20
7.6 Ethernet..............................................................................................................................21
7.7 WiFi ....................................................................................................................................22
7.8 Bluetooth ............................................................................................................................23
7.9 4G Network ........................................................................................................................23
7.10 GPS..................................................................................................................................25
7.11 Camera.............................................................................................................................26
7.12 HDMI IN ...........................................................................................................................27

4
Customize the embedded system based on Your Idea
1 EM3399 Introduction
Feature
Specifications
CPU
· Rockchip RK3399. Big.Little architecture: Dual Cortex-A72 + Quad Cortex-A53,
64-bit CPU. Frequency is over 1.8GHz (Big cluster)
·28nm HKMG process
·1MB unified L2 Cache for Big cluster, 512KB unified L2 Cache for Little cluster
GPU
· Mali-T864 GPU, OpenGL ES1.1/2.0/3.0/3.1, OpenVG1.1, OpenCL, DX11
· Supports AFBC (ARM Frame Buffer Compression)
Memory
4GB
Flash
8GB eMMC Flash
Power
DC 12V/3A
USB
2x USB2.0 Host, 1x USB3.0 Host, 1x USB Type-C
UART
1x 3pin connector. For debug.
LCD
1x eDP LCD via 40-pin header interface, 1x 2-CH MIPI
Ethernet
1000M High performance Ethernet (RTL8211E), RJ45 interface
HDMI IN
Adopt Toshiba TC358749XBG bridge device
HDMI OUT
HDMI 1.4 /2.0
MIPI Camera
2-CH MIPI RX, Support 3-D video capture
Audio codec
Adopt ALC5651 Audio chip, 3.5mm Audio I / O interface
RTC
Real Time Clock, powered by external lithium battery
SD card
1x T-Flash card slot
Power in Headphone
HDMI_in HDMI_out
Type_C Dual
USB Host Ethernet
WiFi&BT
WiFi antenna
PCIE X4
MIPI_LCD
eDP
Camera
MIPI_RX
USB3.0 Host
DebugControl Fun
Reset
Power
Recover
PCIE(SSD/3G/4G)
optional
Micro SD
RTC
SIM

5
Customize the embedded system based on Your Idea
SIM card
1x SIM card slot
Buttons
3x User Buttons, for Recover, Power, Reset
PCI-E x4
Can be used to connect adapter, such as USB, Network card, Disk array, etc.
WIFI&BT
AP6356S, Module. 2.4/5G WiFi, Bluetooth 4.1
3G/4G/ SSD
PCI-E connector
GPIO
5 groups of GPIO (GPIO0~GPIO4), total 122 GPIOs
Dimension
100mm x 145mm
2 Compiler Environment
2.1 Vmware7.0+ubuntu14.04
Install Vmware7.0 in windows OS, and then install ubuntu14.04 in VMware to compile. Please visit the
official website http://www.ubuntu.com/ to download and install ubuntu operating system.
Note: Android7.1 should be complied on ubuntu 64bit OS, Ubuntu 14.04 is recommended.
2.2 Install JDK
JDK: openjdk-8-jdk
PC OS: ubuntu system
Network: online
Permission: root
# sudo apt-get update
# sudo apt-get install openjdk-8-jdk
For example, the installation path is /usr/lib/jvm/java-8-openjdk-amd64.
Configure the environment variable at the terminal by executing commands
# export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
# export PATH=$JAVA_HOME/bin:$PATH
# export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar
Execute the command to check if the jdk has been installed successfully and view the revised
version
# java -version
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

6
Customize the embedded system based on Your Idea
2.3 Install Tools
Root user execute the commands to install necessary tools.
# sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl
# sudo apt-get install zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386
# sudo apt-get install lib32ncurses5-dev x11proto-core-dev libx11-dev

7
Customize the embedded system based on Your Idea
# sudo apt-get install lib32z-dev ccache libgl1-mesa-dev libxml2-utils
# sudo apt-get install xsltproc unzip

8
Customize the embedded system based on Your Idea
3 Compile Source
Unzip the source.
# tar zxvf em3399-android7.1-industry.tar.gz
3.1 Compile Kernel
# cd em3399-android7.1-industry/kernel/
# make ARCH=arm64 boardcon_defconfig -j8
# make ARCH=arm64 em3399-boardcon.img -j12
kernel.img and resource.img are generated in current directory.
3.2 Compile Android
# cd em3399-android7.1-industry /
# source build/envsetup.sh
# lunch em3399-userdebug
# make -j12
# ./mkimages.sh
Generated image file
# cd rockdev/Image-em3399
# ls
Images are generated in current directory.

9
Customize the embedded system based on Your Idea
4 Images Operation
4.1 Pack Image
Step 1, unzip AndroidTool.rar in windows.
Step 2, copy all the files in the Android root directory rockdev/Image-em3399 to the development
tools rockdev/Image directory.
Step 3, enter the directory AndroidTool/rockdev/Image, and then double-click to run
mkupdate.bat.
Tabla de contenidos
Otros manuales de Computadora de placa única de Boardcon
Manuales populares de Computadora de placa única de otras marcas

WIN Enterprises
WIN Enterprises PL-80910 Manual de usuario

AXIOMTEK
AXIOMTEK SBC81206 Series Manual de usuario

Embest
Embest SOM-PH8800 Manual de usuario

SeaLevel
SeaLevel SBC-R9 Manual de usuario

SMART Embedded Computing
SMART Embedded Computing ATCA-8310 Manual de usuario

WinSystems
WinSystems PPM-LX800-G Manual de usuario

GIGAIPC
GIGAIPC QBiX-PPC Series Manual de usuario

OLIMEX
OLIMEX A10S-OLinuXino-MICRO Manual de usuario

Commell
Commell FS-978 Manual de usuario

GIGAIPC
GIGAIPC QBiP-8665A/ Manual de usuario

VersaLogic
VersaLogic Python EBX-11 Manual de usuario

Micro Computer Specialists
Micro Computer Specialists IRV-3702 Manual de usuario







