分类: LINUX
2010-07-21 17:43:45
cpu: s3c2410;
网卡: dm9000;
set bootcmd nand read 0x30008000 x030000 0x1d0000\;go 0x30008000
nfs 0x30008000 192.168.0.1:/tftpboot/linux
nand erase 0x3000000 0x4000000
nand write 0x30008000 0x3000000 0x4000000
setenv bootargs 'noinitrd root=/dev/mtdblock6 rw init=/linuxrc
console=ttySAC0,115200'
setenv bootargs 'noinitrd root=/dev/mtdblock3 rw init=/linuxrc
console=ttySAC0,115200 mem=64M ethaddr=00:C0:02:AA:BB:CC'
setenv bootargs 'console=ttySAC0,115200 root=/dev/nfs
nfsroot=192.168.0.2:/tftpboot/rootfs
ip=192.168.0.1:192.168.0.2:192.168.0.2:255.255.255.0:mini2440:eth0:off'
mount -t nfs -o nolock 172.21.29.52:/tftpboot/rootfs /rootfs