set bootargs root=/dev/ram0 rw console=ttySAC0,115200 mem=64M ramdisk=32768 initrd=0x30800000,20M init=/linuxrc
setenv bootcmd tftpboot 0x33000000 uImage-rtc\; tftpboot 0x30800000 initrd_fs-nfs.img\; bootm 33000000
set serverip 192.168.167.150
kgdb debug :
setenv bootargs root=/dev/ram0 rw console=ttySAC0,115200 mem=64M ramdisk=32768 initrd=0x30800000,20M init=/linuxrc kgdbwait 8250kgdb=0,115200
setenv bootargs root=/dev/ram0 rw console=ttyKGDB,115200 mem=64M ramdisk=32768 initrd=0x30800000,20M init=/linuxrc kgdbwait 8250kgdb=0,115200
setenv bootargs root=/dev/ram0 rw console=ttySAC0,115200 mem=64M ramdisk=32768 initrd=0x30800000,20M init=/linuxrc ip=192.168.167.100 kgdbwait
[email=kgdboe=@192.168.167.150/,@192.168.167.100/]kgdboe=@192.168.167.150/,@192.168.167.100/[/email]
kgdb-oe ok
setenv bootargs root=/dev/ram0 rw console=ttySAC0,115200 mem=64M ramdisk=32768 initrd=0x30800000,20M init=/linuxrc kgdbwait
[email=kgdboe=@192.168.167.100/,@192.168.167.150/]kgdboe=@192.168.167.100/,@192.168.167.150/[/email]
root=/dev/ram0 rw console=ttySAC0,115200 mem=64M ramdisk=32768 initrd=0x30800000,20M init=/linuxrc
jk2410 nfs ok
setenv bootargs noinitrd init=/linuxrc root=/dev/nfs nfsroot=192.168.167.150:/work/nfs ip=192.168.167.15:192.168.167.150:192.168.167.254:255.255.255.0:jk2410:eth0:off console=ttySAC0,115200 mem=64M ramdisk=32768
setenv bootargs noinitrd init=/linuxrc root=/dev/nfs nfsroot=192.168.167.162:/home/leibian/qtopia_arm/nfs ip=192.168.167.15:192.168.167.162:192.168.167.254:255.255.255.0:jk2410:eth0:off console=ttySAC0,115200 mem=64M ramdisk=32768
omap5912 nfs ok
setenv bootargs noinitrd init=/linuxrc root=/dev/nfs nfsroot=192.168.167.168:/work/0015/inird-v5t-sunny/ramdisk-v5t,nolock ip=192.168.167.15:192.168.167.168:192.168.167.254:255.255.255.0:omap5912:eth0:off console=ttyS0,115200n8 mem=30M ramdisk=32768
note: ,nolock后面不要加rsize=1024,wsize=1024,timeo=15 ,一旦加了以后,console的信息就乱掉了。
而且不能ip=dhcp ,因为我们公司根本就没有dhcp server ,就要 ip=192.168.167.15:192.168.167.168:192.168.167.254:255.255.255.0:omap5912:eth0:off
先擦后写
nand erase 400000 400000
nand erase 800000 800000
nand write 33000000 400000 170000
nand write 30800000 800000 1c0000
jffs2 ok
setenv bootargs noinitrd root=/dev/mtdblock4 rootfstype=jffs2 rw console=ttySAC0,115200 mem=64M init=/linuxrc
cramfs
setenv bootargs noinitrd root=/dev/mtdblock3 rootfstype=cramfs console=ttySAC0,115200 mem=64M init=/linuxrc
一般的nfs mount :
mount -t nfs 192.168.167.150:/work/nfs /nfs -o nolock,rsize=1024,wsize=1024,timeo=15
#
# /tmpfs/bonnie\+\+ -s0 -d /jffs2/
Create files in sequential order...
done.
Stat files in sequential order...done.
Delete files in sequential order...
done.
Create files in random order...
done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.03 ------Sequential Create------ --------Random Create--------
(none) -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 135 97 9752 97 144 95 134 94 26006 100 147 96
(none),,,,,,,,,,,,,,16,135,97,9752,97,144,95,134,94,26006,100,147,96
阅读(6113) | 评论(0) | 转发(1) |