Chinaunix首页 | 论坛 | 博客
  • 博客访问: 629345
  • 博文数量: 120
  • 博客积分: 2284
  • 博客等级: 大尉
  • 技术积分: 1330
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-25 10:49
个人简介

http://guliqun1983.blog.163.com/blog/static/501116852011730535314/

文章分类
文章存档

2013年(23)

2012年(23)

2011年(74)

分类: LINUX

2011-11-11 14:59:17

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
阅读(6138) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~