background image

18 

 

3.

 

Software User Guide 

3.1.

 

Introduction 

This chapter details the Linux operation on ICM-2010 platform. This platform is an 

embedded system with Linux kernel 3.0.35. It contains all system-required shell 

commands and drivers ready. You can evaluate and develop under Ubuntu 12.04 LTS 
environment.   
 

There are three major boot components for Linux, “u-boot.bin”, “uImage” and “root 
file system”. The “u-boot.bin” is for initializing peripheral hardware parameters; the 
“uIm- age” is the Linux kernel image and the “File System” is for Linux O.S. used. 
It will not be able to boot into Linux environment successfully if one of above three 
files is missing from booting media (in ICM-2010, we use SD/MMC card) 

3.2.

 

Create SD/MMC Card using Linux Host 

3.2.1.

 

Requirements 

An SD/MMC card reader, like a USB card reader, is required. It will be used to 

transfer the boot loader and kernel images to initialize the partition table and copy 

the root file system. To simplify the instructions, it is assumed that a 4GB SD/MMC 
card is used. 

Any Linux distribution can be used for the following procedure. It is recommended to 

use a Linux distribution that LTIB has been tested against such as Ubuntu 9.04. 

The Linux kernel running on the Linux host will assign a device node to the SD/MMC 
card reader. The kernel might decide the device node name or udev rules might be 

used. In the following instructions, it is assumed that udev is not used. 

To identify the device node assigned to the SD/MMC card, enter the command: 

$ cat /proc/partitions 

major  minor  #blocks name 

   8       0 175825944  sda 

   8       1    254976  sda 

   8       2          1   sda 

   8       5 175567872  sda 

   8       0    7761920 sdb 

   8       0    2048000 sdb 

In this example, the device node assigned is /dev/sdb (a block is 512B large). 

Summary of Contents for ICM-2010 Series

Page 1: ...1 ICM 2010 Series 2 5 SBC with Freescale i MX6 Processor ARM Cortex A9 Architecture User Manual Ver 1st...

Page 2: ...e and does not represent a commitment on the part of EMBUX EMBUX provides this document as is without warranty of any kind either expressed or implied including but not limited to its particular purpo...

Page 3: ...urning the device off and on the user is encouraged to try to correct the interference by one or more of following measures Reorient or relocate the receiving antenna Increase the separation between t...

Page 4: ...Date Remark 1st May 2015 Initial released 2nd May 2015 Modify RS 232 JCOM1 description from full pins to 2 pins function 3rd Nov 2015 Product Overview Hardware User Guide updated 4th Dec 2015 Softwar...

Page 5: ...JMISC 1517 2 2 2 9 JRS 485 1618 2 2 2 10 JSIM 1618 2 3 Mechanical Drawing 1618 3 Software User Guide 1820 3 1 Introduction 1820 3 2 Create SD MMC Card using Linux Host 1820 3 2 1 Requirements 1820 3 2...

Page 6: ...Card using Linux Ubuntu 2628 4 3 Write an SD MMC Card using Windows 2729 4 3 1 Introduction 2729 4 3 2 Preparations 2729 4 3 3 Create SD Card 2729 4 4 Write an SD MMC Card using MAC OS X 2830 4 4 1 gr...

Page 7: ...7 Chapter 1 Product Overview This chapter provides background Information of SBC...

Page 8: ...er consumption from its ARM Cortex A9 architecture which is ready to run compact and easy to expand With flexible I O interfaces and complete hardware and software solutions ICM 2010 is a fast time to...

Page 9: ...ies compatible shared with I2C and GPIO for Mainboard MCU to accessory i e OLED module connection purpose GPIO 7 bit GPIO 2x10 1 25mm Hirose DF13 series compatible shared with SPI and I2C for Mainboar...

Page 10: ...10 1 3 Block Diagram...

Page 11: ...the startup procedures of ICM 2010 including jumper setting and device integration It also introduces the setting of switches indicators and also shows the mechanical drawings Be sure to real all saf...

Page 12: ...12 2 Hardware User Guide 2 1 Connector Locations Top side Rear side JFP JCOM1 JMISC JLVDS JI2C MPCIE JSIM JEMBUX Connector JDC in DC in USB LAN RS 485 HDMI JRS 485...

Page 13: ...1 25V JFP Front panel connector 5 x 2 header pitch 2 0mm JI2C I2C connector 4 x 1 header pitch 2 54mm JLVDS LVDS connector DF13 20DP 1 25V JMISC Miscellaneous connector 5 x 2 header pitch 2 0mm JRS 4...

Page 14: ...5V GPIO0 6 5 GND GPIO1 8 7 MCU_SS GPIO2 10 9 MCU_CLK GPIO3 12 11 MCU_MOSI GPIO4 14 13 MCU_MISO GPIO5 16 15 GND GPIO6 18 17 I2C CLK N C 20 19 I2C DAT Remark Match connector DF13 20DS 1 25C GPIO pin con...

Page 15: ...4 2 2 2 7 JLVDS Description Pin Pin Description 3 3V 2 1 5V 3 3V 4 3 5V Backlight EN 3 3V 6 5 LVDS0_CLK Backlight CTL 3 3V 8 7 LVDS0_CLK GND 10 9 GND LVDS0_TX1 12 11 LVDS0_TX0 LVDS0_TX1 14 13 LVDS0_TX...

Page 16: ..._RST PCIe_UIM_CLK 3 4 GND PCIe_UIM_VPP 5 6 PCIe_UIM_DATA 5V 7 8 GND Remark UIM User Identity Module UIM Signals UIM_VPP Variable supply voltage e g programming voltage for class A devices This signal...

Page 17: ...17 Chapter 3 Software User Guide This chapter details the Linux operation on ICM 2010...

Page 18: ...An SD MMC card reader like a USB card reader is required It will be used to transfer the boot loader and kernel images to initialize the partition table and copy the root file system To simplify the i...

Page 19: ...1K extended 5 1KB logical 6 1MB logical 7 1MB logical 8 1MB logical 9 storage 500MB logical fat16 10 env 90MB logical fat16 In order to create the SD card the partition table must be created If a par...

Page 20: ...Once the partition table is ready enter the following command to copy the U Boot image to the SD MMC card sudo dd if u boot imx of dev sdb bs 1k seek 1 conv fsync 3 2 4 Copying the Kernel Image and D...

Page 21: ...sudo cp a home user mountpoint sync sudo umount home user mountpoint The file system content is now on the media 3 3 Applications and Testing 3 3 1 Ethernet Test A simple ping test You can increase t...

Page 22: ...1 media ls la media Now you can copy a video to media and play it This will perform a simple USB test 3 3 3 SD Plug the SD card and find out where the card is mapped After typing dmesg at you will see...

Page 23: ...ifferences and can follow a standard procedure to compile 3 4 2 Setting up work environment Install the Virtual Machine VMware PlayerTM is recommended for this operation A step by step installation Pr...

Page 24: ...decrease of computer s performances CPUs All the available CPU cores of the host PC should be assigned to VM execution especially for the first compiling which requires a lot of time After the first p...

Page 25: ...25 Chapter 4 System Recovery This chapter introduces how to recover Linux operating system if it is damaged accordingly...

Page 26: ...Ubuntu12 SD Card Image for ICM 2010 download from Google Driver just click on it and it will start download immediately Once download has finished you ll have a xz file ex ea2mx6dl ubuntu12 full img...

Page 27: ...mage which described in Chap 4 1 The downloaded file is in the xz file format and needs to be uncompressed xz utility http tukaani org xz can be used if no suitable application is installed on your co...

Page 28: ...ormatted in FAT32 From the Apple menu choose About This Mac then click on More info if you are using Mac OS X 10 8 x Mountain Lion or newer then click on System Report Click on USB or Card Reader if u...

Page 29: ...d e g disk4 not disk4s1 diskutil unmountDisk dev disk from diskutil e g diskutil unmountDisk dev disk4 sudo dd bs 1m if image img of dev disk from diskutil e g sudo dd bs 1m if 2015 02 16 raspbian whe...

Page 30: ...ple rdisk3 not rdisk3s1 Similarly you might have another SD drive name number like rdisk2 or rdisk4 you can check again by using the df h command both before and after you insert your SD card reader i...

Page 31: ...and the disk will re mount when complete However if you wish to view the progress you can use ctrl T this generates SIGINFO the status argument of your tty and will display information on the process...

Reviews: