Tiny2451-Install Linux source code

This  section  will  introduce  how  to  uncompress  all  the  source  code  that  users  may need and install some application utilities including: 

  • Linux kernel source code 
  • Qtopia-2.2.0 source code (for x86 and arm) 
  • arm-qt-extended-4.4.3(for x86 and arm) 
  • QtE-4.8.5 (for ARM) 
  • Busybox-1.17 source code 
  • Sample programs code
  • Target file system directory 
  • File system image maker
  • Linux logo maker: logo_maker 

All  source  code  and  utilities  should  be  uncompressed  and  compiled  with arm-linux-gcc-4.4.3 

1. Uncompress Source Code 

Firstly, create a working directory: /opt/FriendlyARM/mini2451/linux, run the follow command:

mkdir –p /opt/FriendlyARM/mini2451/linux

all the source code in the following steps will be uncompressed in this work directory 

(1) Get Linux source code ready 
  In Fedora9, create a temporary director “/tmp/linux” by running the following command 

#mkdir /tmp /linux

 Copy all the files in the linux directory in the shipped CD to “/tmp” 

(2) Uncompress the Linux kernel source code 
  In the work directory /opt/FriendlyARM/mini2451/linux, run the commands below: 

#cd /opt/FriendlyARM/mini2451/linux
#tar xvzf /tmp/Linux/linux-3.6-20130826.tar.gz 

A linux-3.6 directory will be created it includes a complete copy of linux kernel source code. 

20130826 is the date when FriendlyARM released the new version, the file name in the shipped CD may be different. 

(4) Uncompress and install Qtopia source code 

In the work directory /opt/FriendlyARM/mini2451/linux, run the commands below: 

#cd /opt/FriendlyARM/mini2451/linux
# tar xvzf /tmp/Linux/x86-qtopia-20100420.tar.gz 
# tar xvzf  /tmp/Linux/arm-qtopia-20100108.tar.gz 

An x86-qtopia directory and an arm-qtopia directory will be created, and their source code will be uncompressed into these two directories.    

(5) Uncompress and install QtE-4.8.5 source code 

In the work directory /opt/FriendlyARM/mini2451/linux, run the commands below: 

#cd /opt/FriendlyARM/mini2451/linux  
#tar xvzf  /tmp/Linux/arm-qte-4.8.5-20130922.tar.gz 

  An arm-qte-4.8.5 will be created, and their source code will be uncompressed into it

(5) Uncompress and install busybox source code 

 The Busybox is a compact Linux tool kit. Here we used busybox-1.20.2. Users can download its latest version from http://www.busybox.net 

In the work directory /opt/FriendlyARM/mini2451/linux, run the commands below: 

#cd /opt/FriendlyARM/mini2451/linux
#tar xvzf  /tmp/Linux/ busybox-1.20.2-Mini2451.tgz  

A busybox-17directory will be created, and its source code will extracted into this directory. 

for the sake of users, we have made a default configuration file: fa.config. 

(6) Uncompress and install Linux sample programs 

In the work directory /opt/FriendlyARM/mini2451/linux, run the commands below: 

#cd /opt/FriendlyARM/mini2451/linux
#ar xvzf  /tmp/Linux/examples-20100108.tgz  

An examples directory will be created, all the source code will be extracted into this directory. 
Note: all these sample programs are developed by FriendlyARM. 

 2. Create Target File System   

Please execute the following commands: 

#cd /opt/FriendlyARM/mini2451/linux  
#tar xvzf  /tmp/Linux/rootfs_qtopia_qt4 -20130918.tar.gz  

A rootfs_qtopia_qt4 will be created.  

This package includes qtopia-2.2.0, busybox and some command line utilities. It has the following excellent features:  

  • auto detection of touch screen and launching the calibration utility if necessary. If no touch screen is connected system will enable the mouse. 
  • auto detection of command or high speed SD cards (up to maximum memory of 32G) and flash drives 
  • auto detection of USB mouse or touch screen 
  • include Qtopia-2.2.0 and QtE-4.8.5 

  Tel: +86-755-29638421  |    Sales Email: market@armdevs.com |  Support Email: support@armdevs.com | Gtalk: armdevs@gmail.com  
www.armbest.com | Copyright @2013 - CoreWind Technology Co.,Limited
customer service software technical support
Live Chat by Comm100