From Estone Technology Wiki
Jump to: navigation, search

Quick Setup Guide


Technical Specification


Product Specification




Source Code

Please contact our admin for the source code.

How to compile kernel and u-boot

Set up the SDK

Download the the SDK Create directory /opt/poky

$cd /opt/poky

Extract the SDK to /opt/poky/

$tar -xvf ~/Downloads/yocto-sdk-1.6.1.tar.bz2

Source the environment. Please note that the SDK must be in /opt/poky/1.6.1 for it to work

$source /opt/poky/1.6.1/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi

Compile Kernel

change directory to the kernel source code

$make norco_emb2500_defconfig
$make; make imx6dl-sabresd-emb2500.dtb

After finished compiling, the generated kernel file is located in arch/arm/boot/zImage

The .dtb file is located in arch/arm/boot/dts/imx6dl-sabresd-emb2500.dtb

Compile uboot

Change directory to the uboot source code

$make mx6dlsabresd_defconfig

After compiling, the uboot file is located in the uboot source code directory.

Flashing the eMMC

Set up Serial Console with PuTTy

1. Using RS232 serial console connect to COM1 and PC. When connected, COM1 is facing the edge, and COM2 is facing toward the board. EMB-2500’s serial cable is special, COM1 only has 3 cables connect to the back-end.


2. On PC, run PuTTy or any similar program. Select the corresponding COM Port and input speed 115200.


3.Plug in power. There will be signal from the PuTTy terminal, indicate that the device is running.



EMB-2500 eMMC can be flashed with 2 methods, with Jumper, and without Jumper

With using Jumper

Using hardware jumper to change the device into flash mode. After flashing is completed, using jumper to change back to boot mode. If the user has no access to the back-end with serial console or the board is not able to boot, using jumper to flash is a must.

1. With NO power on the board, on J16 change the jumper from the default 1-3 pins to 3-5 pins.


2. Connect USB-OTG to USB34 and Computer


Without Using Jumper

Using serial console to connect to the back end and set the device to flash mode.

1. Using serial cable to connect to the back end

2. Plug in power to EMB-2500. On the PuTTy terminal, press any key to go into “u-boot interactive mode”. In the u-boot interactive mode, enter “download_mode” to enter the flashing mode.


Use MFG Tools to Flash

3. Download MFG tools

4. Extract the manufacturing tool and obtain Mfgtools-Rel-xxxx_UPDATER. Double click on MfgTool2.exe run MFG tools


5.When “HID-compliant device” is showed on the MFG tools, it means that the connection is successfully set up.


Note: If there is “No Device Connected”, check whether the jumper is correctly connected in the right pins, check USB connection, or check the board’s power supply, etc.

6. Click “Start” will start the OS flashing process. Note: The files that will be flashed are stored in mfgtools_dl_emb2500/Profiles/Linux /OS Firmware/files, replace them as necessary


7. Complete


8. Quit MFG tools, remove OTG cable, and power.
NOTE: If used with jumper, remember to change the pin from 3-5 to the default 1-3


j10-1 pin output:

$cd /sys/class/gpio
$echo 102 > export
$echo out > gpio102/direction
$echo 1 > gpio102/value

j10-1 pin input:

$cd /sys/class/gpio
$echo 102 > export
$echo in  > gpio102/direction
$cat  gpio102/value

j10-2 pin------- 55
j10-3 pin-------103
j10-4 pin-------87


j10-5 pin-------sclk
j10-6 pin-------cs
j10-7 pin-------mosi
j10-8 pin-------miso

Using Jumper to connect j10-7 and j10-8, use spi_test.c to test loopback


3. WiFi Connection:

(a) Plug in the USB WIFI module.
(b) Check to make sure that wlan0 wifi driver node exists:

$ifconfig –a

(c) Enable the wlan0 node:

$ifconfig wlan0 up

(d) Scan wifi hotspots:

$iwlist wlan0 scan

(e) Modify the WIFI module configuration file according to Router Setting:

$cd /usr/share/wifi
$sudo nano wpa_supplicant.conf

Input the SSID and the password of Router in the specified position.

  pairwise=TKIP CCMP
  group=CCMP TKIP WEP104 WEP40

(f) Run the following command, then acquire the IP address dynamically from Router's DHCP service:

$wpa_supplicant –Dwext –iwlan0 –c./wpa_supplicant.conf –B
$dhclient wlan0

(g) Verify that WiFi module works:

$ifconfig –a
$ping www.google.com