EMB-2200

From Estone Technology Wiki
Jump to: navigation, search

Quick Setup Guide

SDK Download

  • To install
   sh poky-glibc-x86_64-meta-toolchain-cortexa7hf-neon-toolchain-2.1.3.sh

How to Flash Image

Emb-2200-definition.jpg

  • Use Micro B - USB connect to the OTG slot next to the Ethernet Port and to PC.
  • execute emb-2200-linux-mfgtools/S607.vbs
  • Press and hold the boot button and plug in 12V power.

Mfgtool-2.png

  • Click “Start” will start the OS flashing process.

Note: The files that will be flashed are stored in emb-2200-linux-mfgtools/Profiles/Linux /OS Firmware/files, replace them as necessary

Mfgtool-3.png

  • Complete

Mfgtool-4.png

  • Quit MFG tools, remove OTG cable, and power.

Kernel Compile

  • git clone https://github.com/estonetechnology/emb-2200-linux-kernel.git
  • source /opt/poky/2.1.3/environment-setup-cortexa7hf-neon-poky-linux-gnueabi
  • export ARCH=arm
  • export CROSS_COMPILE=arm-poky-linux-gnueabi-
  • make armts_s607_defconfig
  • make; make imx6ul-armt-s607.dtb;
  • zImage: arch/arm/boot/zImage
  • *.dtb: arch/arm/boot/dts/imx6ul-armt-s607.dtb

U-boot

Ethernet

  • Plug in Ethernet to RJ45(1)
  • ifconfig -a to check for available device
  • ifconfig eth1 up
  • udhcpc -i eth1

Sound

  • Download asound.state
  • Copy and replace asound.state to /var/lib/alsa/asound.state
  • Test:
   arecord -d 20 -f cd -c2 -D hw:0,0 /home/root/demo.wav
   aplay -D hw:0,0 test.wav
   speaker-test -D hw:0,0 -c2 -t wav

Serial Console

Emb-2200-com1.JPG
Emb-2200-serial.jpg

to install minicom on Linux Machine

$sudo apt-get install minicom

$sudo minicom -s

  +-----------------------------------------------------------------------+
  | A -    Serial Device      : /dev/ttyUSB0                              |
  | B - Lockfile Location     : /var/lock                                 |
  | C -   Callin Program      :                                           |
  | D -  Callout Program      :                                           |
  | E -    Bps/Par/Bits       : 115200 8N1                                |
  | F - Hardware Flow Control : No                                        |
  | G - Software Flow Control : No                                        |
  |                                                                       |
  |    Change which setting?                                              |
  +-----------------------------------------------------------------------+

Save the configuration
Plug in the USB and turn on the board. The backend will output information on the shell.
PuTTY
(a) Connect the Development Cable to the board, and connect the USB to a Windows PC.
(b) Go to Computer Management console on Windows PC, click Ports (COM&LPT)' to expand. There should be Prolific USB-to-Serial Com Port(COM4) displayed.
(c) Download the 'putty terminal software into the Windows PC > Start Putty > Change these configuration on the user interface:
Serial line: COM4
Speed: 115200
(d) Click Open, the putty console window should display.
(e) Power on board, the backend output will show on the putty console window.

LCD Touch Panel

Emb-2200-lcd.jpg

  • Connection

Emb-2200-lcd-connect.jpg

  • How to Calibrate
   apt-get install tslib libts-bin
   export TSLIB_TSDEVICE=/dev/input/event0
   export TSLIB_FBDEVICE=/dev/fb0
   ts_calibrate

Emb-2200-ts calibrate.jpg

  • How to Test
   ts_test

Emb-2200-ts test.jpg