Documente Academic
Documente Profesional
Documente Cultură
Support
Paul Yang
Application Engineer
Applied Computing Group
Advantech Co. LTD.
Agenda
How come we choose Linux?
Fundamental
Linux installation
Linux Driver installation
Linux Testing
Live-demo (PPC-153T)
How come we choose Linux??
1.Stability
2. Availability
3. Server Capability
4. GNU License
5. Customizable GUI
Fundamental
GNU Debian
Fundamental
H/W Compatible
Going to Linux distributor website to
download the H/W compatible list,
http://hardware.redhat.com/hcl/
A Linux installation
Not provided as a standard package
Customizable
Component Based
Components can be
added optionally
Fundamental
Linux Kernel Chart:
Fundamental
Modules mean.?
Character Device
Ex: /dev/console; /dev/ttys0
Block Device
Ex: /dev/hda1
Network Interface
Ex: /dev/eth0
Fundamental
The Linux System Directories
1. RPM (Redhat)
which platform Un-compile source
version
code
Ex: zsh-3.05-15.i386.rpm ; zsh-3.05-15.src.rpm
Release count
Ex: tkpgp_1.11-2.deb
Fundamental
General Linux command for installation
1. GZIP
#gunzip r xxxx.gz recursive
2. BZIP2
#bzip2 d xxxx.bz2
3.COMPRESS
#compress -d xxxx.z
4. UNZIP
#unzip -d xxxx.zip
Fundamental
General Linux command for installation
5. RPM
#rpm -ivh xxxx.rpm install
#rpm -Uvh xxxx.rpm upgrade
#rpm -ql xxxx.rpm question
#rpm -e xxxx.rpm erase
#rpm --rebuild xxxx.src.rpm install for SRC
6. Tar
#tar zxvf xxxx.tar.gz
#./configure create Makefile
#make compile and link
#make install install to corresponding folder
Fundamental
General Linux command for installation
7. lsmod
#lsmod
8. Insmod
#insmod <path> 8139too.o
9.Rmmod
#rmmod <path> 8139too.o
10. Modprobe
# modprobe c list all modules
# modprobe c | grep scsi list the modules used by SCSI
# modprobe 8139too.o load modules
Linux Installation (Redhat)
Disk Space Requirements
Use CD-Rom boot
Installation UI
Text mode
Graph mode
Disk partition
Support software RAID
Install components
Disk Space Requirements
Personal Desktop
1.5GB~1.8GB
Workstation
2.0GB~2.3GB
Server
1.3GB~2.1GB
Custom
400MB~4.5GB
Disk partition
Linux operation mode
0 Halt (Dont set initdefault to this)
1 Single user mode
2 Multiuser. without NFS (same as 3, if you
dont have networking)
3 Full multiuser mode
4 Unused
5 X windows
6 Reboot (Dont set initdefault to this)
Operation mode setting
In text mode
Use startx into X windows
Modify /etc/inittab
In X windows mode
Modify /etc/inittab
Use hot key Ctrl + Alt + F1~F7
Linux Driver installation
How to install? (Intel 82545GM Gigabit Ethernet Controller )
Using the latest Linux version in order to avoid an awkward situation that
cant find out the driver
Using ghost to backup your Linux before you try to compile the kernel
http://service1.symantec.com/SUPPORT/ghost.nsf/docid/1999021909463125
==>Ghost compatibility with Linux
Linux Testing
Perform ping, ifconfig to monitor the status
(Network )
Test by devicemouse/keyboard/compact disk (USB, COM,
Parallel)
Perform cat /dev/ttyS0 then move your serial mouse
Perform cat /dev/sndstat or sndconfig to know the status
(Audio)
Linux support policy
Binary file package
Download the free evaluation support package
from Design-in Zone if they need Linux
version
Source code package
When customers wants to do their own
customization or modification, they can buy
the Linux Source Code CD. The ITP for each
model is USD $3000. Please use NRE-ESCO
to order or inquiry to RSM.
Live-demo (PPC-127)