background image

36 

 

3.3.5.

 

RTC & Watchdog 

 

RTC & Watchdog Information 

A real-time clock (RTC) keeps track of the current time, and ICM-3011 will synchronize 

hardware clock to system clock when boot.

 

Watchdog timer, during normal operation, the computer regularly resets the watchdog 

timer to prevent it from elapsing, or "timing out". If, due to a hardware fault or program 

error, the computer fails to reset the watchdog, the timer will elapse and generate a 

timeout signal.

 

 

 

RTC & Watchdog Specification 

 

Name

 

Value

 

RTC Frequency Tolerance

 

±

  23 ppm

 

Watchdog

 

0.5 ~ 128 seconds (unit: 0.5s)

 

* Equivalent to 1 minute of monthly deviation.

 

 

 

RTC & Watchdog Device Node 

 

Device

 

Device node

 

RTC

 

/dev/rtc0

 

Watchdog

 

/dev/watchdog

 

 

 

RTC & Watchdog Example 

Example Code:

 

https://github.com/embux/Example/tree/master/watchdog

 

 

Example Commands:

 

#1: show RTC time.

 

root@ICM-3011:~# hwclock 

Tue Aug  7 03:47:34 2018  0.000000 seconds

 

 

#2: Set the System Time from the Hardware Clock.

 

root@ICM-3011:~# hwclock -s 

 

#3: Set the Hardware Clock to the current System Time.

 

root@ICM-3011:~# hwclock -w 

 

Summary of Contents for EBC-3A1 Series

Page 1: ...1 EBC 3A1 Series 3 5 SBC with NXP i MX6 Processor ARM Cortex A9 Architecture User Manual Ver 5st ...

Page 2: ... notice and does not represent a commitment on the part of NEXCOM NEXCOM provides this document as is without warranty of any kind either expressed or implied including but not limited to its particular purpose NEXCOM reserves the right to make improvements and or changes to this manual or to the products and or the programs described in this manual at any time Information provided in this manual ...

Page 3: ...turning 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 the device and receiver Connect the device into an outlet on a circuit different from that to which receiver is connected Consult the dealer or an experienced radio TV technician for help CE Marking T...

Page 4: ...1st Jan 2016 Initial released 2nd Mar 2016 Hardware User Guide modified 3rd Mar 2016 Software User Guide System Recovery modified 4rd Aug 2018 Tidy up full document and add new sections 5rd Aug 2019 Modify JCOMA to JCOMD to dev ttyXRUSB0 dev ttyXRUSB3 ...

Page 5: ...tch Setting 16 2 2 1 Boot from eMMC Default 16 2 2 2 Boot from SD 16 2 2 3 Boot for Serial ROM Upgrade Image 16 2 3 Connector 17 2 3 1 Connector List 17 2 3 2 Connector Setting 18 JAUDIO 18 JBLK 18 JCOM1 18 JCOM4 19 JCOMA 19 JCOMB 19 JCOMC 19 JCOMD 20 JDC IN 20 JNEXCOM MCU 20 JFP 21 JGPIO i MX6 21 JI2C 21 JLVDS1 21 JLVDS2 22 JMISC 22 JRS 485 22 JSPI 22 JSPKR_L 23 JSPKR_R 23 JUSB 23 RS 485 23 ...

Page 6: ...Kernel Image Version 29 3 2 5 Editor Utility 29 VI Editor 29 NANO Editor 29 3 3 Interface Introduce 31 3 3 1 RS232 31 RS232 Interface 31 RS232 Specification 31 RS232 Device Node 31 RS232 Sample Code 31 3 3 2 RS485 32 RS485 Information 32 RS485 Specification 32 RS485 Device Node 32 RS485 Sample Code 32 3 3 3 CAN bus Controller Area Network 33 CAN bus Information 33 CAN bus Specification 33 CAN bus ...

Page 7: ...39 SPI bus Device Node 39 SPI bus Example 39 3 3 8 Audio 40 Audio Information 40 Audio Example 41 3 3 9 Display 42 Display Information 42 Display Command 42 3 4 Service Introduce 43 3 4 1 SSH SFTP Service 43 Service Information 43 SSH SFTP Configure file 43 Remote connection 43 3 4 2 Web Service 44 Service Information 44 Webserver Directory Path 45 Webserver Configure file 45 3 4 3 RC LOCAL 46 RC ...

Page 8: ...es 56 4 1 3 Downloading board images 57 4 2 Download the SD image 60 4 3 Write an SD MMC Card using Linux Ubuntu 60 4 4 Write an SD MMC Card using Windows 61 4 4 1 Introduction 61 4 4 2 Preparations 61 4 4 3 Create SD Card 61 4 5 Write an SD MMC Card using MAC OS X 62 4 5 1 Graphical interface 62 4 5 2 Command line 62 4 5 3 Alternative method 63 5 BSP 66 66 5 1 Yocto 1 6 2 66 5 2 Linux Kernel 66 5...

Page 9: ...9 ...

Page 10: ...10 Chapter 1 Product Overview This chapter provides background information of EBC 3A1 ...

Page 11: ...ption 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 EBC 3A1 is a fast time to market platform for customers to develop their applications and products easily 1 2 Specification System Hardware CPU CPU NXP i MX6 Cortex A9 Dual Lite Memory Technology DDR3 800 Capacity Onboard 1GB Storage F...

Page 12: ...ries 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 Mainboard MCU to accessory i e OLED module connection purpose 2 bit GPIO 5x2 header pitch 2 0mm JFP System Software Operating System Yocto Daisy 1 6 2 Android Lollipop 5 0 2 WinCE Windows Embedded Compact 7 ...

Page 13: ...13 1 3 Block Diagram ...

Page 14: ... chapter introduces the startup procedures of EBC 3A1 device integration It also introduces the setting of switches indicators and shows the mechanical drawings Be sure to read all safety precautions before you begin installation procedure ...

Page 15: ...r Locations Top side Rear side JFP JCOM1 JMISC JUSB JGPIO JCOM4 JCOMA JCOMB JCOMC JCOMD Internal RD connector JDC IN JBLK SIM MPCIE2 SD JLVDS1 JLVDS2 MPCIE1 SDIO JSPI JI2C JSPKR_L JSPKR_R JAUDIO MUSB DC IN USB LAN JRS 485 HDMI LINE_OUT MIC_IN RS 485 RESET DIPSW ...

Page 16: ...Boot from eMMC Default DIPSW 1 2 3 4 5 6 7 8 9 10 eMMC ON OFF OFF ON ON OFF OFF ON ON ON Table 1 DIPSW default setting 2 2 2 Boot from SD DIPSW 1 2 3 4 5 6 7 8 9 10 SD ON OFF OFF ON OFF OFF OFF ON ON OFF Table 2 DIPSW boot from SD 2 2 3 Boot for Serial ROM Upgrade Image DIPSW 1 2 3 4 5 6 7 8 9 10 PG OFF ON X X X X X X X X Table 3 DIPSW upgrade image ...

Page 17: ... header pitch 2 0mm JI2C I2C connector 4 x 1 header pitch 2 54mm JLVDS1 LVDS channel 1 connector DF13 20DP 1 25V JLVDS2 LVDS channel 2 connector DF13 20DP 1 25V JMISC Miscellaneous connector 5 x 2 header pitch 2 0mm JRS 485 RS 485 pin header 2 x 1 header pitch 2 0mm JSPI SPI pin header 6 x 1 header pitch 2 54mm JSPKR_L Speaker Out connector 2 x 1 connector pitch 2 0mm JSPKR_R Speaker Out connector...

Page 18: ...Pin VIN 1 VIN 2 VIN 3 Backlight EN 3 3V 4 Backlight CTL 3 3V 5 GND 6 GND 7 GND 8 Remark Match connector JST PHR 08 P2 0 or Equivalent VIN pins connect to DC IN power input directly For example if DC In is attached to a 12V adaptor then the VIN output voltage will be 12V JCOM1 Description Pin Pin Description N C 1 2 RS 232_RX1 RS 232_TX1 3 4 N C GND 5 6 N C RS 232_RTS1 7 8 RS 232_CTS1 N C 9 10 N C ...

Page 19: ...XA 3 4 RS 232_DTRA GND 5 6 RS 232_DSRA RS 232_RTSA 7 8 RS 232_CTSA RS 232_RIA 9 10 N C JCOMB Description Pin Pin Description RS 232_DCDB 1 2 RS 232_RXB RS 232_TXB 3 4 RS 232_DTRB GND 5 6 RS 232_DSRB RS 232_RTSB 7 8 RS 232_CTSB RS 232_RIB 9 10 N C JCOMC Description Pin Pin Description RS 232_DCDC 1 2 RS 232_RXC RS 232_TXC 3 4 RS 232_DTRC GND 5 6 RS 232_DSRC RS 232_RTSC 7 8 RS 232_CTSC RS 232_RIC 9 ...

Page 20: ..._GPIO1 8 7 MCU_SS MCU_GPIO2 10 9 MCU_CLK MCU_GPIO3 12 11 MCU_MOSI MCU_GPIO4 14 13 MCU_MISO MCU_GPIO5 16 15 GND MCU_GPIO6 18 17 MCU_I2C CLK N C 20 19 MCU_I2C DAT Remark Match connector DF13 20DS 1 25C GPIO pin control by MCU level 3 3V MCU_SS SPI Slave Select active low output from master MCU_CLK SPI Serial Clock output from master MCU_MOSI SPI Master Output Slave Input output from master MCU_MISO ...

Page 21: ...GPIO_00 1 2 GPIO_04 GPIO_01 3 4 GPIO_05 GPIO_02 5 6 GPIO_06 GPIO_03 7 8 GPIO_07 GND 9 10 GND JI2C Description Pin 3 3V 1 I2C_SCL 2 I2C_SDA 3 GND 4 JLVDS1 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_TX0 GND 16 15 GND LVDS0_TX3 18 17 LVDS0_TX2 LVDS0_TX3 20 19 LVDS...

Page 22: ...6 15 GND LVDS1_TX3 18 17 LVDS1_TX2 LVDS1_TX3 20 19 LVDS1_TX2 Match connector DF13 20DS 1 25C JMISC Description Pin Pin Description NEXCOM X Port RS 485 DATA 1 2 RS 485 DATA3 NEXCOM X Port RS 485 DATA 3 4 RS 485 DATA3 GND 5 6 N A CAN_1_H 7 8 CAN_2_H CAN_1_L 9 10 CAN_2_L JRS 485 Description Pin RS 485 DATA2 1 RS 485 DATA2 2 JSPI Description Pin 3 3V 1 SPI2_MOSI 2 SPI2_MISO 3 SPI2_CS0 4 SPI2_CLK 5 GN...

Page 23: ...0 or Equivalent JSPKR_R Description Pin SPKR_R 1 SPKR_R 2 Match connector JST PHR 02 P2 0 or Equivalent JUSB Description Pin Pin Description USB_5V 1 2 USB_5V USB_DN8 3 4 USB_DN7 USB_DP8 5 6 USB_DP7 GND 7 8 GND GND 9 10 N C RS 485 Description Pin RS 485 DATA2 1 RS 485 DATA2 2 ...

Page 24: ...24 2 4 Mechanical Drawing ...

Page 25: ...25 Chapter 3 Software User Guide This chapter details the Linux operation on EBC 3A1 ...

Page 26: ...stall Toolchain 1 Please Download the toolchain from Link 2 Create a opt toolchain folder under your Linux environment 3 Unzip gcc linaro arm 4 7 linux tar gz into opt toolchain 4 Add toolchain path in your PATH environment variable 5 Try to compile Embux example code embux ubuntu mkdir p opt toolchian embux ubuntu opt toolchian ls gcc linaro arm 4 7 linux tar gz embux ubuntu opt toolchian tar zxf...

Page 27: ...ty Debug Console Device Node RS232 Port Device node Pinout Define Section JCOM1 dev ttymxc0 2 3 2 1 3 Boot Message Starting Telephony daemon Starting GPS Global Positioning System daemon gpsd Starting php fpm done Starting Linux NFC daemon Starting web server apache2 Running eGTouchD Starting OProfileUI server Stopping Bootlog daemon bootlogd Poky Yocto Project Reference Distro 1 6 2 ICM 3011 dev ...

Page 28: ...dit to change network setting root ICM 3011 cat etc network interfaces etc network interfaces configuration file for ifup 8 ifdown 8 The loopback interface auto lo iface lo inet loopback Wired or wireless interfaces auto eth0 iface eth0 inet dhcp iface eth0 inet static address 192 168 1 1 netmask 255 255 255 0 Wireless interfaces auto wlan0 iface wlan0 inet dhcp wireless_mode managed wireless_essi...

Page 29: ...el version root ICM 3011 uname a Linux ICM 3011 3 10 53 1109 SMP PREEMPT Tue Jul 31 23 36 30 PDT 2018 armv7l GNU Linux 3 2 5 Editor Utility VI Editor Vi is a very old command line editor which is available on most UNIX systems root ICM 3011 ls l bin vi lrwxrwxrwx 1 root root 19 Aug 1 06 40 bin vi bin busybox nosuid NANO Editor GNU Nano is at the easy to use end of command line editors root ICM 301...

Page 30: ...blk0p6 1KB N A mmcblk0p7 1KB N A mmcblk0p8 1KB N A mmcblk0p9 512MB VFAT User Space PATH media mmcblk0p9 mmcblk0p10 90MB VFAT Boot Images Kernel DTB Boot Env PATH boot or media mmcblk0p10 Note 1 After modifying any files in main system please execute sync command 2 Highly recommend that run time data database logger and so on works at mmcblk0p2 and mmcblk0p9 partitions Avoid unsafe power off the ma...

Page 31: ...R Input Data Terminal Ready DTR Output Data Carrier Detect DCD Input Ring Indicator RI Input Common Ground GND Common RS232 Specification Name Value Baud Rate Up to 500Kbps Data Bits 5 6 7 8 bits Parity None Even Odd Mark Space Stop Bits 1 1 5 2 bits RS232 Device Node Connector Device node Pinout Define Section JCOM4 dev ttymxc3 2 3 2 1 4 JCOMA dev ttyXRUSB0 2 3 2 1 5 JCOMB dev ttyXRUSB1 2 3 2 1 6...

Page 32: ...485 Specification Name Value Baud Rate Up to 500Kbps Data Bits 5 6 7 8 bits Parity None Even Odd Mark Space Stop Bits 1 1 5 2 bits RS485 Device Node Connector Device node Pinout Define Section RS 485 JRS 485 dev ttymxc1 2 3 2 1 22 JMISC dev ttymxc2 2 3 2 1 16 RS485 Sample Code http github com embux Example tree master J485_test Data Data ICM 3011 RS485 Device RS485 Device Data Data Data Data ...

Page 33: ...s focus is on redundancy at the hardware level and time based prioritized communication at the protocol level The connection diagram please refer below daisy chain CAN bus Specification Name Value Bit Rate up to 1 M Baud Data Length 0 8 bytes CAN bus Device Node Connector Device node Pinout Define Section JMISC CAN1 can0 2 3 2 1 16 JMISC CAN2 can1 2 3 2 1 16 CAN bus Sample Code http github com emb...

Page 34: ...output this value may be written any nonzero value is treated as high otherwise as low GPIO Specification Name Value Voltage Level 0 3 3v GPIO Device Node Connector Device node Pinout Define Section GPIO_00 JGPIO sys class gpio gpio0 2 3 2 1 12 GPIO_01 JGPIO sys class gpio gpio1 2 3 2 1 12 GPIO_02 JGPIO sys class gpio gpio2 2 3 2 1 12 GPIO_03 JGPIO sys class gpio gpio3 2 3 2 1 12 GPIO_04 JGPIO sys...

Page 35: ...t ICM 3011 echo out sys class gpio gpio00 direction root ICM 3011 echo 1 sys class gpio gpio00 value 2 GPIO_01 port sets to input root ICM 3011 echo in sys class gpio gpio01 direction root ICM 3011 cat sys class gpio gpio01 value 1 Note All GPIO ports are floating If user would like to use input mode please add external pull up or pull down voltage ...

Page 36: ...will elapse and generate a timeout signal RTC Watchdog Specification Name Value RTC Frequency Tolerance 5 23 ppm Watchdog 0 5 128 seconds unit 0 5s Equivalent to 1 minute of monthly deviation RTC Watchdog Device Node Device Device node RTC dev rtc0 Watchdog dev watchdog RTC Watchdog Example Example Code https github com embux Example tree master watchdog Example Commands 1 show RTC time root ICM 3...

Page 37: ...l data signal SDA and a clock signal SCL Already in use I2C ID Name Connect Device I2C1 WM8960 Audio ID 0x1A I2C2 PF0100 PMIC ID 0x08 TPD12S521 HDMI ID 0x50 I2C3 RX8010 RTC ID 0x32 I2C bus Specification Name Value I2C Clock Speed 100 400 kHz I2C pull up resistor 4 7k I2C bus Device Node Connector Device node Pinout Define Section JI2C I2C2 dev i2c 1 2 3 2 1 13 ...

Page 38: ...ss and worse I will probe file dev i2c 0 I will probe address range 0x03 0x77 Continue Y n y 0 1 2 3 4 5 6 7 8 9 a b c d e f 00 10 UU 20 30 40 50 60 70 2 Detect I2C2 ID root ICM 3011 i2cdetect 1 WARNING This program can confuse your I2C bus cause data loss and worse I will probe file dev i2c 1 I will probe address range 0x03 0x77 Continue Y n Y 0 1 2 3 4 5 6 7 8 9 a b c d e f 00 UU 10 20 30 40 50 ...

Page 39: ...mmunicate in full duplex mode using a master slave architecture with a single master The master device originates the frame for reading and writing Multiple slave devices are supported through selection with individual slave select SS lines SPI bus Specification Name Value Clock Frequency Up to 66MHz Per Word wide Up to 32 bits SPI bus Device Node Connector Device node Pinout Define Section JSPI d...

Page 40: ...e Devices card 0 wm8960audio wm8960 audio device 0 HiFi wm8960 hifi 0 Subdevices 1 1 Subdevice 0 subdevice 0 card 1 imxhdmisoc imx hdmi soc device 0 i MX HDMI Audio Tx hdmi hifi 0 Subdevices 1 1 Subdevice 0 subdevice 0 Alsa commands alsaconf the ALSA driver configurator script alsactl an utility for soundcard settings management aplay arecord an utility for the playback capture of wav voc au files...

Page 41: ...50 39 71 00dB 3 Set Headphone volume to 127 root ICM 3011 amixer set Headphone 127 Simple mixer control Headphone 0 Capabilities pvolume Playback channels Front Left Front Right Limits Playback 0 127 Mono Front Left Playback 127 100 6 00dB Front Right Playback 127 100 6 00dB 4 Test audio playback by speaker test via headphone jack root ICM 3011 speaker test device hw 0 0 rate 48000 channels 2 form...

Page 42: ...11 panel_settings help Usage panel_settings OPTION Switch display device and resolution r resolution x number x y number ex 640x480 m mode mode lvds or hdmi b bits bits 18 or 24 help Display this help and exit version Output version information and exit panel_settings Verison 1 0 1 HDMI 1920x1080 root ICM 3011 panel_settings m hdmi r 1920x1080 2 LVDS 640x480 root ICM 3011 panel_settings m lvds r 6...

Page 43: ...ktop embux ubuntu ssh root 192 168 1 1 The authenticity of host 192 168 1 1 192 168 1 1 can t be established RSA key fingerprint is 42 43 08 e2 df 61 87 a9 bc af 9d 57 01 89 4a 05 Are you sure you want to continue connecting yes no yes Warning Permanently added 192 168 1 1 RSA to the list of known hosts root ICM 3011 ls bin dev home lost found mnt proc sbin tmp usr www boot etc lib media opt run s...

Page 44: ...ice Service Information EBC 3A1 supports apache2 webserver with php Please open your browser and enter ICM 3011 IP address default 192 168 1 1 Demo for default html 192 168 1 1 Demo for default php 192 168 1 1 index php ...

Page 45: ...s l total 100 drwxr xr x 2 root root 4096 Aug 1 06 40 conf d drwxr xr x 2 root root 4096 Aug 1 06 40 extra rw r r 1 root root 19486 Jul 26 09 13 httpd conf rw r r 1 root root 13077 Jul 26 09 13 magic rw r r 1 root root 53011 Jul 26 09 13 mime types drwxr xr x 2 root root 4096 Aug 1 06 40 modules d httpd conf The main configuration mime types Most extensions are mapped according to instructions in ...

Page 46: ...3011 in to power headless and have it run a program without configuration or a manual start root ICM 3011 etc rc5 d cat etc rc local bin sh e rc local This script is executed at the end of each multiuser runlevel Make sure that the script will exit 0 on success or any other value on error In order to enable or disable this script just change the execution bits By default this script does nothing e...

Page 47: ...s runs an infinite loop or is likely not to exit you must be sure to fork the process by adding an ampersand to the end of the command Example 1 add home root loop program application when boot bin sh e rc local This script is executed at the end of each multiuser runlevel Make sure that the script will exit 0 on success or any other value on error In order to enable or disable this script just ch...

Page 48: ...n entries of the form dest dest name target path where src name and dest names are identifiers that should match a zA Z0 9 _ source url should be a URL that points to a directory containing a Familiar Packages file and target path should be a directory that exists on the target system src all ftp iwuser nexcomuser ftp nexcom com tw package yocto all src cortexa9hf vfp neon ftp iwuser nexcomuser ft...

Page 49: ...o public internet User can use ping command to verify for example root ICM 3011 ping www embux com PING www embux com 59 124 242 196 56 data bytes 64 bytes from 59 124 242 196 seq 0 ttl 61 time 0 495 ms 64 bytes from 59 124 242 196 seq 1 ttl 61 time 0 455 ms 64 bytes from 59 124 242 196 seq 2 ttl 61 time 0 353 ms C www embux com ping statistics 3 packets transmitted 3 packets received 0 packet los...

Page 50: ...root ICM 3011 mkdir media mtdblock0 root ICM 3011 mount dev mtdblock0 media mtdblock0 root ICM 3011 mount grep mtdblock0 dev mtdblock0 on media mtdblock0 type vfat rw relatime fmask 0022 dmask 0022 codepage 437 iocharset iso8859 1 shortname mixed errors remount ro root ICM 3011 df Filesystem 1K blocks Used Available Use Mounted on dev root 2958224 781628 2006612 29 devtmpfs 379220 72 379148 1 dev ...

Page 51: ...rver 103 18 128 60 offset 940 842922 sec root ICM 3011 date Mon Aug 6 06 45 00 UTC 2018 2 Synchronize time to RTC root ICM 3011 hwclock Mon Aug 6 06 30 35 2018 0 000000 seconds root ICM 3011 hwclock w root ICM 3011 hwclock Mon Aug 6 06 46 22 2018 0 000000 seconds Timezone Default Timezone is UTC if user would like to change timezone location please change etc localtime and reboot system for exampl...

Page 52: ...help mosquitto version 1 4 4 build date 2018 07 31 01 26 14 0700 mosquitto is an MQTT v3 1 broker Usage mosquitto c config_file d h p port c specify the broker config file d put the broker into the background after starting h display this help p start the broker listening on the specified port Not recommended in conjunction with the c option v verbose mode enable all logging types This overrides a...

Page 53: ... Languages Example Use different program languages to print Hello World in terminal console C Example Filename Hello c include stdio h int main void printf Hello World n return 0 C Example Filename Hello cpp include iostream using namespace std int main cout Hello World n return 0 Python Example Filename Hello py This program prints Hello world print Hello world ...

Page 54: ...54 PHP Example Filename Hello php php Echo Hello World Bash Example Filename Hello sh bin sh echo Hello world exit 0 ...

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

Page 56: ... the different components of the EBC 3A1 board 4 1 2 Board images The list below describes the locations of the software images in android_L5 0 2 icm3011 tar xz on board partitions 1 u boot imx6dl img boot loader image file 2 recovery imx6dl img android recovery partition image file 3 system img android system partition image file 4 boot env boot loader and kernel command configuration file 5 uIma...

Page 57: ...ting System OS environment Perform the following steps to download the board images Step 1 Please contact us info embux com to get image Step 2 Set the correct boot mode and connect the OTG port to the PC on which the MFG Tool application will be run To set the correct boot mode refer to the chapter 2 2 2 After connecting to PC with the correct boot mode setting a HID compliant device will be show...

Page 58: ...urning process If you re start the burning process after you stop it the process will try to continue from the point where you stopped before but it is not guaranteed that it can continue successfully It is NOT recommended to do this Exit is used to exit this application Please note that you can exit the application only after you stop the burning process Step 4 Click Start button If you have a te...

Page 59: ...downloading the file system to the SD card This can be caused by insufficient space in the SD card due to a small partition size To fix this unzip the file Profiles CHIP_PROFILE OS Firmware mksdcard sh tar and then modify the script to increase the size of the partition and create more partitions according to your file system requirements After the modification is done tar the script again ...

Page 60: ... s partition for example dev sdc1 Unmount the partition so that you will be allowed to overwrite the disk embux ubuntu sudo unmount dev sdc1 Decompressed the xz file which download in sec 4 1 embux ubuntu xz d ubuntu12 full img xz In the terminal write the image to the card with this command using the disk device name from above Read the above step carefully to be sure you use the correct disk num...

Page 61: ...sed if no suitable application is installed on your computer Make sure that your target SD Card is big enough to contain this file 8G recommend Download and unzip Image Writer for Windows http sourceforge net projects win32diskimager files 4 4 3 Create SD Card Insert the SD Card into your computer and check which drive letter it got assigned Open Win32DiskImager exe Click the FileOpen Icon and sel...

Page 62: ... card in the upper right section of the window Click on it then search for the BSD name in the lower right section it will look something like diskn where n is a number for example disk4 Make sure you take a note of this number Unmount the partition so that you will be allowed to overwrite the disk to do this open Disk Utility and unmount it do not eject it or you will have to reconnect it Note th...

Page 63: ...tion so that you will be allowed to overwrite the disk sudo diskutil unmount dev disk3s1 Or open Disk Utility and unmount the partition of the SD card do not eject it or you will have to reconnect it Using the device name of the partition work out the raw device name for the entire disk by omitting the final s1 and replacing disk with rdisk This is very important as you will lose all data on the h...

Page 64: ... diskutil partitionDisk dev disk3 1 MBR Free Space noformat 100 That command will also set the permissions on the device to allow writing Now try the dd command again Note that dd will not feedback any information until there is an error or it is finished information will be shown and the disk will re mount when complete However if you wish to view the progress you can use ctrl T this generates SI...

Page 65: ...65 Chapter 5 BSP This chapter introduces how to get board BSP board support package ...

Page 66: ...nt to create the Yocto build environment Note download file name should be fsl yocto 3 10 53 1 1 0 tar gz 5 2 Linux Kernel 5 2 1 Source Code URL PATH https github com embux linux_kernel 5 2 2 Commands Loading Default Configure File make ARCH arm ebx_taurus_defconfig Configure Linux Source make ARCH arm menuconfig ...

Page 67: ...vice Tree make ARCH arm CROSS_COMPILE arm linux gnueabihf dtbs After compile completed dtb image is in Kernel PATH arch arm boot dts imx6dl embux icm3011 dtb Update Device Tree and Linux Kernel Please upload new image into boot folder Example 1 upload uImage file scp uImage root 192 168 1 1 boot 2 upload imx6dl embux icm3011 dtb scp imx6dl embux icm3011 dtb root 192 168 1 1 boot ...

Reviews: