我是武男, 24歲, 大家都叫我阿男...有的人還會叫我白目研究生...

Linux NFS with PXA270 How To

Autor 白目研究生

研究所,嵌入式系統課程960926

Embedded System PXA270 Connect to Linux How To

Connect Interface:rs232(COM1),RJ-45(crossover)

Disable any firewall

# setup

Choise nfs service & config PC_IP:192.168.1.10
# ifconfig eth0 192.168.1.10

Install & create nfs_server rules
# nano -w /etc/exports
/tmp * (rw,sync) //ermit any any use “*”

Other rules
# vi /etc/hosts.allow
portmap : 127.0.0.1 : allow
portmap : 192.168.1.0/255.255.255.0 : allow
portmap : ALL : deny

Enable NFS Service
# /etc/init.d/nfs start

PXA270 Control by RJ-45 Steps
telnet 192.168.1.11
# ./nfs.sh

or config PXA270_IP:192.168.1.11
# ifconfig eth0 192.168.1.11

mount NFS directory
mount -o soft,rsize=1024,timeo=100 192.168.1.10:/tmp /mnt

Install cross-compiler
cd /tmp/test
tar -zxvf arm-linux.tar.gz -C /usr/local
nano -w /etc/profile

content in
pathmunge /usr/local/arm-linux/bin

source /etc/profile
echo $PATH

Config minicom and connect to PXA270 by rs232
monicom -s

Choise serial port config

/dev/ttyS0
null
null
152000
no
no

The exit to connect PXA270

Done!!

CommentComment