配置minicom:
# minicom -s
Serial port setup
A - Serial Device : /dev/ttyS0
E - Bps/Par/Bits : 115200 8N1
F - Hardware Flow Control : No
G - Software Flow Control : No
Save setup as dfl
USB-Serial:
# cp 50-ftdi.rules /etc/udev/rules.d/
SD卡烧写:
# write_sd /dev/sdb u-boot-movi.bin
tftp服务:
# vim /etc/xinetd.d/tftp
disable = no
# service iptables stop
# chkconfig iptables off
# /etc/init.d/xinetd restart
烧写u-boot:
# tftp 50003000 u-boot-nand.bin
# nand erase 0 30000
# nand write 50003000 0 30000
烧写uImage:
# tftp 50003000 uImage
# nand erase 40000 200000
# nand write 50003000 40000 200000
启动nfs服务:
# vim /etc/exports
/nfsroot *(rw)
# /etc/init.d/nfs restart
# tar -xvf rootfs-qt-2.2.0.tar.bz2 -C /nfsroot
设置启动参数:
set
bootargs noinitrd console=ttySAC0,115200 root=/dev/nfs
nfsroot=192.168.1.10:/nfsroot ip=192.168.1.20:192.168.1.10:255.255.255.0
set bootcmd "nand read 50008000 40000 200000;bootm 50008000"
安装交叉编译器:
# tar -xvf arm-none-linux-gnueabi-arm-2008q3-72-for-linux.tar.bz2 -C /
# vim /root/.bash_profile
PATH=$PATH:$HOME/bin:/usr/local/arm/arm-none-linux-gnueabi/bin
export PATH
# source /root/.bash_profile