免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 978 | 回复: 0
打印 上一主题 下一主题

常用的bootargs参数设置备忘录 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-06-25 21:19 |只看该作者 |倒序浏览
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
#
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/97105/showart_1977574.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP