iii
Table of Contents
Disclaimers.....................................................................................................ii
Chapter 1 Introduction ................................................ 1
1.1 Specifications......................................................................................2
Chapter 2 Getting Started ........................................... 5
2.1 Connecting the IFB122 .......................................................................5
2.1.1 Serial Console............................................................................................. 7
2.1.2 SSH over Ethernet ...................................................................................... 9
2.2 How to Develop a Sample Program.................................................11
2.2.1 Install Yocto Toolchain................................................................................11
2.2.2 Setting Up the Cross-Development Environment..................................... 13
2.2.3 Write and Compile Sample Program......................................................... 13
2.3 How to Put and Run a Sample Program..........................................14
2.3.1 Via FTP ..................................................................................................... 14
2.3.2 Via USB Flash Drive.................................................................................. 16
2.3.3 Via TFTP ................................................................................................... 17
2.4 How to Recovery System .................................................................18
2.4.1 Via run_rescue System Script (under Linux System) ............................... 18
2.4.2 Via rescue.scr Script (under u-boot) ......................................................... 18
2.5 How to Update System .....................................................................19
2.5.1 Via USB Flash Drive.................................................................................. 19
2.6 How to use MFG tool to download image.......................................22
Chapter 3 The Embedded Linux ................................ 25
3.1 Embedded Linux Image Managing ..................................................25
3.1.1 System Version ......................................................................................... 25
3.1.2 System Time.............................................................................................. 25
3.1.3 Internal RTC Time..................................................................................... 25
3.1.4 External RTC Time.................................................................................... 26
3.1.5 Watchdog timer ......................................................................................... 26
3.1.6 Adjusting System Time.............................................................................. 26
3.1.7 LEDs Control............................................................................................. 27
3.2 Networking.........................................................................................27
3.2.1 FTP –File Transfer Protocol ..................................................................... 27
3.2.2 TFTP –Trivial File Transfer Protocol......................................................... 27
3.2.3 NFS –Network File System...................................................................... 28
3.2.4 How to use 3G or 4G module (Optional)................................................... 28
3.2.5 How to use Wi-Fi module (Optional)......................................................... 32