Chinaunix首页 | 论坛 | 博客
  • 博客访问: 326343
  • 博文数量: 90
  • 博客积分: 4010
  • 博客等级: 上校
  • 技术积分: 694
  • 用 户 组: 普通用户
  • 注册时间: 2009-05-22 10:51
文章分类

全部博文(90)

文章存档

2011年(3)

2010年(35)

2009年(52)

我的朋友

分类: LINUX

2009-06-25 21:19:22

set bootargs root=/dev/ram0 rw console=ttySAC0,115200 mem=64M ramdisk=32768 initrd=0x30800000,20M init=/linuxrcsetenv 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 kgdboe=@192.168.167.150/,@192.168.167.100/
kgdb-oe ok
setenv bootargs root=/dev/ram0 rw console=ttySAC0,115200 mem=64M ramdisk=32768 initrd=0x30800000,20M init=/linuxrc kgdbwait kgdboe=@192.168.167.100/,@192.168.167.150/
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
#


阅读(1403) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~