2011年1月21日 星期五

數位項框設定及使用

UBoot>tftp a1100000 uImage
UBoot>protect off 100000 47FFFF
UBoot>erase 100000 47FFFF
UBoot>cp.b a1100000 100000 200000
--
UBoot>tftp a1480000 rootfs.jffs2
UBoot>protect off 480000 137FFFF
UBoot>erase 480000 137FFFF
UBoot>cp.b a1480000 480000 F00000
--
setenv bootcmd run linux
setenv bootdelay 1
--
run linux
--
vi /etc/init.d/rcS
/d2mced & #刪掉
window #刪掉
--
vi /etc/profile
rm -f /task_id_0/*
rm -f /task_id_1/*
/d2mced &
window
--
mkdir 0album
tftp host -g get -r filename

tftp 192.168.0.10 -g get -r img001.jpg
tftp 192.168.0.10 -g get -r img002.jpg
tftp 192.168.0.10 -g get -r img003.jpg
tftp 192.168.0.10 -g get -r img004.jpg
tftp 192.168.0.10 -g get -r img005.jpg
tftp 192.168.0.10 -g get -r img006.jpg
tftp 192.168.0.10 -g get -r img007.jpg
tftp 192.168.0.10 -g get -r img008.jpg
tftp 192.168.0.10 -g get -r img009.jpg
tftp 192.168.0.10 -g get -r img010.jpg
tftp 192.168.0.10 -g get -r img011.jpg
tftp 192.168.0.10 -g get -r img012.jpg
tftp 192.168.0.10 -g get -r img013.jpg
tftp 192.168.0.10 -g get -r img014.jpg
tftp 192.168.0.10 -g get -r img015.jpg
tftp 192.168.0.10 -g get -r img016.jpg
tftp 192.168.0.10 -g get -r img017.jpg
tftp 192.168.0.10 -g get -r img018.jpg

tftp 192.168.0.10 -g get -r pic001.jpg
tftp 192.168.0.10 -g get -r pic002.jpg
tftp 192.168.0.10 -g get -r pic003.jpg
tftp 192.168.0.10 -g get -r pic004.jpg
tftp 192.168.0.10 -g get -r pic005.jpg
tftp 192.168.0.10 -g get -r pic006.jpg
tftp 192.168.0.10 -g get -r pic007.jpg
tftp 192.168.0.10 -g get -r pic008.jpg
--
bootargs=root=/dev/mtdblock3 rw rootfstype=jffs2 console=ttyS0,9600n8 mem=64M ip=192.168.0.101:192.168.0.10:192.168.0.1:255.255.255.0::eth0:off ether=00:16:08:40:13:72
bootargs=root=/dev/mtdblock3 rw rootfstype=jffs2 console=ttyS0,9600n8 mem=64M ip=192.168.0.102:192.168.0.10:192.168.0.1:255.255.255.0::eth0:off ether=00:11:22:33:44:55
bootargs=root=/dev/mtdblock3 rw rootfstype=jffs2 console=ttyS0,9600n8 mem=64M ip=192.168.0.101:192.168.0.10:192.168.0.1:255.255.255.0::eth0:off ether=00:16:f8:40:18:35

沒有留言:

張貼留言