一、U-BOOT:
1. flash 启动 :
1). setenv othbootargs noinitrd console=ttyS0,115200 rootfstype=jffs2 mtdparts=orion_nand:0x100000@0x0(uboot),0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw
2). setenv bootargs root=/dev/mtdblock3 console=ttyMCS rootfstype=squashfs
2. nfs 启动:
1). setenv bootargs root=/dev/nfs nfsroot=192.168.11.13:/home/longjindong/image_nas,rsize=1024,wsize=1024 ip=192.168.11.12:192.168.11.100:192.168.11.254:255.255.255.0:msc8140.arm9.net:eth0:off
2). setenv bootargs root=/dev/nfs console=ttyMCS nfsroot=192.168.11.100:/home/longjindong/moschip/mos8142/filesystem/nfs-boot,rsize=1024,wsize=1024 ip=192.168.11.12:192.168.11.100:192.168.11.1:255.255.255.0
二、VIVI:
1. flah 启动:
param set linux_cmd_line "root=/dev/mtdblock2 init=/linuxrc console=ttySAC0"
2. NFS 启动:
param set linux_cmd_line "console=ttySAC0 root=/dev/nfs nfsroot=192.168.0.77:/home/xiaolong/root_nfs ip=192.168.0.230"
阅读(1564) | 评论(0) | 转发(0) |