
Embest Technology
Copyright © 2012-2013 Embest Technology SBC6845 User Manual
iii
iii
iii
iii
2.4.21 Transferring Files by Using SecureCRT ....................................................... 28
2.4.22 Transferring Files over Network ..................................................................... 29
2.4.23 Linux QT Demonstration ................................................................................. 31
Chapter
Chapter
Chapter
Chapter 3
3
3
3 Development
Development
Development
Development Environment
Environment
Environment
Environment and
and
and
and System
System
System
System Compilation
Compilation
Compilation
Compilation ...................................
...................................
...................................
................................... 32
32
32
32
3.1 Building a Cross Compilation Environment ............................................................... 32
3.2 System Compilation ...................................................................................................... 33
3.2.1 Uncompressing Files ......................................................................................... 33
3.2.2 Making Bootstrap ................................................................................................ 34
3.2.3 Making U-boot ..................................................................................................... 34
3.2.4 Making Kernel ..................................................................................................... 34
3.2.5 Making Filesystem Image ................................................................................. 35
Chapter
Chapter
Chapter
Chapter 4
4
4
4 System
System
System
System Customization
Customization
Customization
Customization ..........................................................................................
..........................................................................................
..........................................................................................
.......................................................................................... 36
36
36
36
4.1 Kernel Customization .................................................................................................... 36
4.2 Filesystem Customization ............................................................................................ 37
4.3 Simple Driver Modules in Kernel ................................................................................. 37
4.3.1 Using Makefile to Associate Drivers with Kernel ........................................... 40
4.3.2 Compiling and Downloading Drivers ............................................................... 40
4.4 Brief Introduction to Applications ................................................................................. 41
4.4.1 Compiling and Running Applications ............................................................... 42
4.4.2 Common Functions ............................................................................................ 42
4.5 Linux Multi-Thread Programming ................................................................................ 43
4.6 Linux Network Programming ........................................................................................ 45
4.6.1 Compiling Server and Client ............................................................................. 48
Chapter
Chapter
Chapter
Chapter 5
5
5
5 Updating
Updating
Updating
Updating Linux
Linux
Linux
Linux System
System
System
System .........................................................................................
.........................................................................................
.........................................................................................
......................................................................................... 49
49
49
49
5.1 Image Mapping and Burning ........................................................................................ 49
5.2 Burning System Image Manually ................................................................................ 50
5.2.1 Preparations ........................................................................................................ 50
5.2.2 Burning Bootstrap File ....................................................................................... 53
5.2.3 Burning U-boot File ............................................................................................ 54
5.2.4 Burning Logo File ............................................................................................... 55
5.2.5 Burning uImage File ........................................................................................... 56
5.2.6 Burning Linux System ........................................................................................ 57
5.3 Burning System Image Automatically ......................................................................... 60