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 protected]/,@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
[email protected]/,@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#
常用的bootargs引數設定備忘錄
常用的bootargs引數設定備忘錄 set bootargs root dev ram0 rw console ttysac0,115200 mem 64m ramdisk 32768 initrd 0x30800000,20m init linuxrc setenv bootcmd tftpbo...
jvm常用引數設定
1 初始堆大小 預設值 物理記憶體的1 64 1gb 預設 minheapfreeratio引數可以調整 空餘堆記憶體小於40 時,jvm就會增大堆直到 xmx的最大限制。設定命令 xms 2 最大堆大小 預設值 物理記憶體的1 4 1gb 預設 maxheapfreeratio引數可以調整 空餘堆...
vim常用引數設定
set guifont monaco h10 適合ruby開發的字型 字型大小 set tabstop 4 設定tab鍵的寬度 set shiftwidth 4 換行時行間交錯使用4個空格 set autoindent 自動對齊 set backspace 2 設定退格鍵可用 set cindent...