Waveshare E9 User Manual

V2mini pc
Hide thumbs Also See for E9:
Table of Contents

Advertisement

Quick Links

Waveshare Electronics
Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China
TEL: +86-755-83040832
Web: http://www.wvshare.com/
FAX: 86-755-83042572
E-mail: sales@wvshare.com
E9 V2Mini PC User Manual
November 27th, 2015 (V1.1.0)
Waveshare Electronics
Website: http://www.wvshare.com/

Advertisement

Table of Contents
loading

Summary of Contents for Waveshare E9

  • Page 1 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com E9 V2Mini PC User Manual November 27th, 2015 (V1.1.0) Waveshare Electronics Website: http://www.wvshare.com/...
  • Page 2: Copyright Statement

    This manual's copyright belongs to "Waveshare Electronics."(Hereinafter refer as "Waveshare"), and all right reserved. Any department and person cannot extract the part or all contents of this manual without Waveshare’s authorization in writing. Otherwise, offenders will be investigated for legal responsibility.
  • Page 3: Preface

    Preface E9 mini PC is a kind of Card-PC based on i.MX 6 quad processor, using 40nm process, quad core and ARM Cortex-A9 architecture. The maximum frequency for a single core is up to 1.2 GHz, and it is with 1MB L2 Cache, supports 1080P@60fps decoding and 1080P@30fps encoding.
  • Page 4: Table Of Contents

    2.1 E9 Data Introductions ..........................9 2.1.1 E9 Software Tools Instructions ......................9 2.1.2 E9 Image Instruction ......................... 9 2.1.3 E9 Ubuntu Source Code Instruction ....................9 2.1.4 E9 Android Source Code Instruction ....................10 2.1.5 E9 linux Source Code Instruction ....................10 2.1.6 E9 Other Data Instruction .......................
  • Page 5 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 6.1.1 Boot Modes Selection ........................37 6.1.2 Burning the Image .......................... 38 6.2 Windows Platform Burning ........................39 6.2.1 Burning Ubuntu12.04 System ......................
  • Page 6 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 10.6 Audio Testing ............................72 10.7 Video Testing ............................73 10.8 HDMI Testing ............................74 Linux ..................................76 Introduction ................................
  • Page 7: Chapter One Introduction Of E9

    1.1 E9 Introduction E9 is a new quad-core mini PC. Its biggest advantage is that its size is slightly bigger than common used IC card, but it owns interfaces are as rich as computer peripherals. Namely, having an E9, you will have a hand-held mini E9 is the 2 generation mini PC using Freescale Cortex-A9 I.MX6Q platform.
  • Page 8: E9 Diagram

    Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com   ……….. 1.2 E9 diagram The board offers a variety of peripherals function as follows:  (Note: To prevent burning the board, please confirm whether it’s 5V power supply before connection.)  POWER SW ...
  • Page 9 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com  LVDS (Single/Dual-channel LVDS, External backlight power supply is required.)  LRDA (infrared remote control interface)  RTC (on the backside of the board) ...
  • Page 10: Chapter Two E9 Usage Instructions

    2.1 E9 Data Introductions 2.1.1 E9 Software Tools Instructions The driver or software need to be installed in the PC when using E9 board includes:  Serial interactive software: Double click to open the putty.exe software, for more information in using, please refer to Chapter 3.4.
  • Page 11: E9 Android Source Code Instruction

    Supports kernel dynamically adjust the LCD Note: 1. For the setting of the DIP switch, please refer to Chapter 4 2. For the detail u-boot usage instructions, please refer to relevant chapters about E9 firmware update. 2.2.2 Kernel Introductions The Linux Kernel provided includes:...
  • Page 12 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 1. Display:  TFT interface: 7inch/5inch (800*480@60) RGB24, Backlight adjustable;  LVDS interface Single: 2 channels, Supports 1366*768@60, RGB666, it can display only one single way, and also two-way simultaneous display (two shows for the same content) Dual: Supports 1920*1080@60, RGB666, Backlight adjustable;...
  • Page 13 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 5. Others:  IrDA: It supports the Infrared Remote Controller directly. If remote controller needs to be changed, then it needs to revise the remote controller driver.
  • Page 14: Chapter Three Development Environment Set Up

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Chapter Three Development Environment Set Up 3.1 Ubuntu Platform Environment Set Up Use the libraries for Script and gcc compiler provided, and execute the command in the PC/opt directory:...
  • Page 15: Ubuntu Compile Environment Set Up

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 3.1.1 Ubuntu Compile Environment Set Up The cross-compiler provided is gcc-4.6.2 version; it is a kind of specifically cross compiler for Linaro. Copy “gcc-4.6.2-glibc-2.13-linaro.tar.bz2”...
  • Page 16 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Modify the environment variable after decompression, and add the cross compiler path, then use the following command: #vi /etc/environment...
  • Page 17: Android Development Environment Set Up

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 3.1.2 Android Development Environment Set Up Extract the java installation pack (jdk-6u30-linux-x64.bin) to /opt/Embedsky/Tools directory. For the convenience, use the command in terminal: mv jdk-6u30-linux-x64.bin /opt/Tools...
  • Page 18 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com...
  • Page 19 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Input the command in terminal, and then configure the JDK: update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_30/bin/java 300 update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_30/bin/javac 300...
  • Page 20: Ubuntu Tools Installation And Configuration (Minicom)

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com As all the steps are finished, then Android development environment has been installed. 3.2 Ubuntu Tools Installation and configuration (minicom) 3.2.1 Install minicom...
  • Page 21 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com In the configuration page, input /dev/ttySn in the A Serial Device (Please according to the actual serial interface to enter the right number. n is for numbers, generally, it is 0), then press Enter;...
  • Page 22 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Step6. After setting, please choose “save setup as dfl” in configuring list to save the current settings as the default settings.
  • Page 23: Windows Platform Environment Set Up

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Note 3: Input sudo minicom -D /dev/ttyUSB0, then it can specify USB serial port device directly. 3.3 Windows Platform Environment Set Up As the Windows platform is used for testing only, it is not used for developing, so the setup process is simple, just need to install a terminal serial port.
  • Page 24: Interpretation Of The Boot Jumper Cap

    4.1 Interpretation of the Boot Jumper Cap J10 is the system boot mode selection interface; different selection will achieve different boot modes. E9 Mini PC keeps all the boot modes, and it uses the following 3 boot modes temporarily. Note: 1.
  • Page 25: Boot The E9 Mini Pc

    4.2 Boot the E9 mini PC According to different jumper cap connections, it supports to boot the E9 mini PC from tf card or from emmc Connect the 5V power supply and the serial interface, then long press the power switch (the trigger power switch next to the 5V jack), then release.
  • Page 26 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com [5]download from sdcard [0]setting boot args // Enter uboot launch parameters settings menu [q]exit to command mode Enter your selection: 0...
  • Page 27: The Default Boot System Settings

    2 indicates the default boot mode is using the tftp and nfs to boot android; S: Save the setting for the future boot. System will use the default mode here next time when booting. ##### Boot for E9 Main Menu ##### [1]boot from emmc [2]boot from sdcard...
  • Page 28: Ubuntu

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com ##### param setting ##### [1]ubuntu [2]android ..Ubuntu...
  • Page 29: Introduction

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Introduction Note: The "#" in front of following commands is the user permissions for using the root. It is recommended to use root user when login Linux in PC;...
  • Page 30: Chapter Five Ubuntu Source Code & Compile

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Chapter Five Ubuntu Source Code & Compile 5.1 Ubuntu Source Code Drivers Ubuntu uses 3.0.35 version kernel. And all the paths below are relative to the root directory of the kernel.
  • Page 31: Compile Ubuntu Source Code

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com dev/input/event* drivers/input/keyboard: Irda Driver tq_hs0038.c drivers/video/backlight/: pwm_bl.c Backlight driver backlight.c arch/arm/plat-mxc/: pwm driver pwm.c /dev/rtc0 RTC driver /dev/watchdog drivers/watchdog:...
  • Page 32 Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com After extract, the source code can be founded in directory “/opt/Embedsky/TQIMX6/E9/Ubuntu”.  U-boot Source Code Compile After extract the source code, please use the command #make mx6q_sabresd_android_config and configure...
  • Page 33 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Use the command #make and compile u-boot.
  • Page 34: Compile Ubuntu Kernel

    /opt/Embedsky/TQIMX6/E9/Ubuntu/uboot_E9_1.3.4_for_Ubuntu, as the following two figures show: Follow the chapter 5.2, 5.3, and burn it in the E9 mini PC then you can do some developments to your needs. 5.2.2 Compile Ubuntu Kernel  Extract Kernel Source Code Copy the Ubuntu Kernel Source Code (\e9_cd\Source Code\Ubuntu Source Code\kernel, named linux_E9_3.0.35_for_Ubuntu_v2.0.tar) to the PC ubuntu system root directory (Here the writer of this manual...
  • Page 35 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com choose root directory to operate and take it a screenshots, actually, any directory will be OK), then use the command: #tar xvfj linux_E9_3.0.35_for_Ubuntu.tar.bz2 -C /...
  • Page 36 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Use the command #vi Makefile to appoint the compile tools: Modify the CROSS_COMPILE as: /opt/Embedsky/gcc-4.6.2-glibc-2.13-linaro-mult ilib-2011.12/tq-linaro -toolchain/bin/arm-none-linux-gnueabi- And then use the command #make uImage to compile the kernel.
  • Page 37: Ubuntu File System

    After compiled, you will find the uImage in the directory: /opt/Embedsky/TQIMX6/E9/Ubuntu/linux_E9_3.0.35_for_Ubuntuarch/arm/boot, then it can be burned on the development board to test. Just as the following picture shows: 5.2.3 Ubuntu File System E9 ubuntu file system is the complete system which can be founded in “Image\Ubuntu\Rootfs” directory.
  • Page 38: Chapter Six Ubuntu System Burning

    6.1 Preparations E9 provides two boot modes: boot from the SD card and emmc respectively. Boot mode selection (eMMC, SD can be chose from the onboard SW6 DIP switch. Here we will introduce the DIP switch status and boot modes.
  • Page 39: Burning The Image

    MFG-tools is a kind of burning tool for E9 under PC environment, which supports ubuntu 12.04 burning, simple, convenient, and easy to carry out. It is suitable for users to update the firmware in Windows environment. Please follow the tips below to finish image update.
  • Page 40: Windows Platform Burning

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 6.2 Windows Platform Burning  Burning Environment Setup Copy Mfgtools-Rel-1.1.0_121218_MX6Q_UPDATER.zip to your computer and extract it to Mfgtools-Rel-1.1.0_121218_MX6Q_UPDATER.
  • Page 41 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com  Copy the file Uboot Image Copy u-boot.bin to Mfgtools-Rel-1.1.0_121218_MX6Q_UPDATER\Profiles\MX6Q Linux Update\OS Firmware\files\ubuntu (Or replace an existing file)
  • Page 42: Hardware Connection

    (1) Connect the PC and E9 via USB OTG cable. (2) Connect the 5V DC power supply to E9 5V jack (3) USB download mode setting. Set the 2, 3 DIP switch as “1”, and 1, 4 DIP switch as “0”to download.
  • Page 43: Begins To Burn

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 6.2.3 Begins to burn (1) Open the file “MfgTool2.exe” in the directory “Mfgtools-Rel-1.1.0_121218_MX6Q_UPDATER”: After “MfgTool2.exe” is opened, it can detect HID-compliant device as the following picture shows:...
  • Page 44 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Note: If the USB device can not be detected, please recheck the OTG connection. (2) Click the “start” button in the software MfgTool2 to begin burning...
  • Page 45: Linux Platform Burning

    Burning tools Software\Linux tools\downloader.tar.bz2 Kernel image uImage u-boot image u-boot.bin File System oneiric.tgz E9 mini PC 1pcs Tf card 1pcs TF card reader 1pcs 5V-2A DC Power Supply 1pcs 6.3.1 Create SD Card Extract the prepared related tools and images to any directory #tar jxvf downloader.tar.bz2 -C /...
  • Page 46: Burning Ubuntu Image

    There is no need to change others. Note 4: For those images which don't need to update, it can be set as null, such as “Kernel =”. #### This is E9 SD config files #### operating condition=install OS Type=ubuntu...
  • Page 47 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com #### Linux #### kernel=images\ rootfs=images\ #### Linux end #### #### Windows CE #### NK=images\wince\NK.bin #### Windows CE end #### #### Android #### boot_img=images/android/boot.img...
  • Page 48: Chapter Seven Ubuntu Functional Test

    Set the boot mode of E9 mini PC as EMMC, power on and long press the power button. The red power light near the power button is on (If it is not long press the power button, the power light is not on at all). By this, it means that the board uboot has run up.
  • Page 49: Usb Test

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 7.2 USB Test Connect USB keyboard and mouse. Move the mouse, then you can see the Mouse icon moves on the display.
  • Page 50: Network Test

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 7.3 Network Test Check the upper right corner to see whether the network state is normal or not (If there is something wrong with the network connection, then the icon will be gray).
  • Page 51: Tf Card Test

    7.4 TF Card Test Insert a TF card, and it will pop up a TF card folder automatically. The TF card and E9 will copy data each other, the read and write speed is very fast, reaching 10M/s or more. And currently, it supports 32G TF card maximumly, and also supports hot-swappable.
  • Page 52: Video Test

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 7.6 Video Test It supports to play local video (720P, 1080P HD video) or network video (need to install flash plug-in). And it can use the movie player that comes with system to play the video.
  • Page 53: Usb Camera Test

    7.8 Serial Port Test E9 has one debug serial port only, so as long as you can see the debugging information in using, and it can communicate with E9 in the serial terminal, then it means that the serial port is OK.
  • Page 54 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com In the above “application menu”, there are applications and services that are already installed; for the familiar use, you can go and check one by one.
  • Page 55: Android

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Android Introduction Note: In the following operation, the “#” before the commands indicates a root user authority to use. It is recommended to use the root user to login Linux PC, if not, please uses the sudo command to gain root user privileges, or may fail to compile.
  • Page 56: Chapter Viii Android Source Code & Compile

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Chapter Eight Android Source Code & Compile 8.1 Android Source Code: Android Source Code includes kernel source code, uboot source code, and the file system source code...
  • Page 57: Andorid Compiling

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com tq_hs0038.c backlight driver drivers/video/backlight/: pwm_bl.c backlight.c pwm driver arch/arm/plat-mxc/: pwm.c RTC driver /dev/rtc* Watch dog driver /dev/watchdog drivers/watchdog:...
  • Page 58 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Compiling takes very a long time which is different due to the difference of computer configurations. And the author's computer probably takes four hours.
  • Page 59: Chapter Nine Android System Burning

    Chapter Nine Android System Burning 9.1 Preparations E9 provides two boot modes, respectively boot from the SD card and boot from the EMMC. The boot mode is depended on DIP switch SW6 onboard. Here we will introduce the DIP switch status and boot mode.
  • Page 60: Burning The Image

    MFG-tools is a kind of burning tool for E9 under PC environment, which supports ubuntu 12.04 burning, simple, convenient, and easy to carry out. It is suitable for users to update the firmware in Windows environment. Please follow the tips below to finish image update.
  • Page 61: Burning Android System

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 9.2.1 Burning Android System  Modify the config file 1) Open the cfg file which is marked in red “1”, Mfgtools-Rel-1.1.0_121218_MX6Q_UPDATER/cfg, use text to open it.
  • Page 62: Hardware Connection

    Note: J5 must be connected during burning. If it is not convenient to connect it, then you can keep pressing the power button in the whole process, from power on to the end of burning. After the above three steps are done, E9 connections as shown below:...
  • Page 63: Begins To Burn

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 9.2.3 Begins to Burn (1) Open the file “MfgTool2.exe” in the directory “Mfgtools-Rel-1.1.0_121218_MX6Q_UPDATER”: After open the MfgTool2.exe, it will detect the HID-compliant device, As shown below:...
  • Page 64 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Note: If No Device Connected, please check the OTG connection, the USB connection is not normal. (2) Click the “start” button in the software MfgTool2 to begin burning (The burning process may take about 20~30 minutes due to different computer configuration, please be patient!) (3) After done as the following picture shows, click the “stop”...
  • Page 65: Linux Platform Burning

    Software\Linux tools\downloader.tar.bz2 Kernel image boot.img u-boot image u-boot.bin Recovery image recovery.img File System system.img E9 mini PC 1pcs Tf card 1pcs TF card reader 1pcs 5V-2A DC Power Supply 1pcs 9.3.1 Create SD Card Extract the prepared related tools and images to any directory: #tar jxvf downloader.tar.bz2 -C...
  • Page 66 Note 3: When users burning the android, it needs to pay attention to the comments, and modify it according to actual situation, no need to change others. Note 4: For those images which don't need to update, it can be set as null, such as “boot_img=” #### This is E9 SD config files #### operating condition=install OS Type=android...
  • Page 67: Burning System

    Corresponding burning file should be: 9.3.3 Burning System J8 is the E9 mini PC BOOT mode selection interface. Shorting different jumper cap will have different boot modes. It is 2.00mm pitch and 10Pin interface and it needs to work with 2.00mm pitch jumper cap.
  • Page 68: Chapter Ten Android Testing

    800*400 output by FPC), then there may be slightly different, but it does not affect the use at all. Set the E9 boot mode as EMMC by jumper cap, then power up and long press the power button. The red power light near the power will always be bright (if press it only but not long press, the power is not bright at all), then it means that the board uboot is already run up.
  • Page 69 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com The mounted directory TF uses is /mnt/ext_sd, please use ES File Explorer to see the contents inside. Open the ES...
  • Page 70: U Disk Testing

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com You can see the contents in the TF card. 10.2 U Disk Testing The U disk use is almost the same as TF card use except the mount points. Inserted the U disk into the system,...
  • Page 71: Sata Testing

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Note: The serial print information will be different due to the different TF card; here it is for reference only.
  • Page 72: Network Card Testing

    10.5 Camera Testing The SD card mounted point that E9 uses is emmc inner space. So it will not be prompted that SD card is not inserted. E9 supports USB camera and CMOS camera, and they can switch to front and rear camera each other.
  • Page 73: Audio Testing

    TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com You can see the captured image. 10.6 Audio Testing The E9 Audio Card does not support recording currently. It will be updates in the future. So here we will play sound only.
  • Page 74: Video Testing

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Open an audio file with the file manager, the default player will be OK, and then you can hear it.
  • Page 75: Hdmi Testing

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 10.8 HDMI Testing HDMI uses 1080P resolution by default. If users want to use HDMI, then they need to do some settings in uboot...
  • Page 76 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Note: HDMI uses its own audio output, no audio output in the board headphone and speaker when using HDMI.
  • Page 77: Linux

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Linux Introduction Note: In the following operation, the “#” before the commands indicates a root user authority to use. It is recommended to use...
  • Page 78: Linux Driver Source Code

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Chapter Eleven Linux Source Code & Compile 11.1 Linux driver Source Code Linux kernel version is kernel_3.0.35, the following paths are relative to the kernel root directory. As the driver code involves a lot, and then it is difficult to introduce them one by one, so the driver source code mentioned below is only for the important ones and those which are used in high frequency.
  • Page 79: Linux Source Code Compile

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Irda driver dev/input/event* drivers/input/keyboard: tq_hs0038.c backlight driver drivers/video/backlight/: pwm_bl.c backlight.c pwm driver arch/arm/plat-mxc/: pwm.c RTC driver /dev/rtc0 Watch dog driver /dev/watchdog drivers/watchdog:...
  • Page 80 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com  Kernel Source Code Compile After extract the source code, please use the command: #. build.sh And compile it as follows: After compiled, you will find the image named “uImage”...
  • Page 81 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Then you can test in the board, as the following shows: If you want to modify the default configuration, please use the command...
  • Page 82: Linux File System

    Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 11.2.3 Linux File System E9 linux file system is the complete system which can be founded in “Image\Linux\File System” directory.
  • Page 83: Chapter Twelve Linux System Burning

    12.1 Preparations E9 provides two boot modes: boot from the SD card and emmc respectively. Boot mode selection (eMMC, SD can be chose from the onboard SW6 DIP switch. Here we will introduce the DIP switch status and boot modes.
  • Page 84: Burning The Image

    MFG-tools is a kind of burning tool for E9 under PC environment, which supports ubuntu 12.04 burning, simple, convenient, and easy to carry out. It is suitable for users to update the firmware in Windows environment. Please follow the tips below to finish image update ...
  • Page 85: Burning Linux System

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Copy Mfgtools-Rel-1.1.0_121218_MX6Q_UPDATER.zip to your computer and extract it to Mfgtools-Rel-1.1.0_121218_MX6Q_UPDATER, then enter the directory as following shows: 12.2.1 Burning Linux System ...
  • Page 86 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com  Copy the file Uboot image Copy u-boot.bin to Mfgtools-Rel-1.1.0_121218_MX6Q_UPDATER\Profiles\MX6Q Linux Update\OS Firmware\files\linux (Or replace an existing file)
  • Page 87: Hardware Connection

    (1) Connect the PC and E9 via USB OTG cable. (2) Connect the 5V DC power supply to E9 5V jack (3) USB download mode setting. Set the 2, 3 DIP switch as “1”, and 1, 4 DIP switch as “0”to download.
  • Page 88: Begin To Burn

    Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com 12.2.3 Begin to Burn (1) Open the file “MfgTool2.exe” under the directory “Mfgtools-Rel-1.1.0_121218_MX6Q_UPDATER”. After “MfgTool2.exe” is opened, it can detect HID-compliant device as the following picture shows:...
  • Page 89 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Note: If the USB device can not be detected, please recheck the OTG connection. (2) Click the “start” button in the software MfgTool2 to begin burning...
  • Page 90: Linux Platform Burning

    Burning tools Software\Linux tools\downloader.tar.bz2 Kernel image uImage u-boot image u-boot.bin File System rootfs.tgz E9 mini PC 1pcs TF card 1pcs TF card reader 1pcs 5V-2A DC Power Supply 1pcs 12.3.1 Create SD Card Extract the prepared related tools and images to any directory: #tar jxvf downloader.tar.bz2 -C /...
  • Page 91: Burning Linux Image

    There is no need to change others. Note 4: For those images which don't need to update, it can be set as null, such as “Kernel =” #### This is E9 SD config files #### operating condition=install OS Type=linux...
  • Page 92 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com rootfs=images/ linux/rootfs.tgz //linux rootfs storage directory #### Linux end #### #### Windows CE #### NK=images\wince\NK.bin #### Windows CE end #### #### Android #### boot_img=images/android/boot.img...
  • Page 93: Faq

    E-mail: sales@wvshare.com How to power E9 on the conditions of without uboot? The E9 uboot can supply power to E9, so on the conditions of without uboot, users can short the J5 connector, and can also keep pressing the power button.
  • Page 94 Waveshare Electronics Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com...
  • Page 95 Address: Rm 813, Dynamic World Building, Zhenhua Rd, Futian District, Shenzhen, China TEL: +86-755-83040832 Web: http://www.wvshare.com/ FAX: 86-755-83042572 E-mail: sales@wvshare.com Ubuntu supports touch function or not? Ubuntu system itself does not support touch function. E9 sata hard disk uses? It requires cable and power supply which need to prepared by users.

Table of Contents