1. 启动板子
2. Hit any key to stop autoboot and enter into u-boot env. 进入u-boot环境
3. tftp 81000000 ${kernelimage} #you can also use nfs command in uboot: nfs 81000000 /path/to/${kernelimage};
4. protect off 1:3-127
5. erase 1:3-127
6. cp.b 81000000 20060000 ${filesize} # filesize is hex number
7. norargs=setenv bootargs init=${init_process} root=/dev/uba1
8. boot_nor=run norargs addeth addip addtty;bootm 20060000
9. boocmd=boot_nor
Steps to create rootfs in USB stick and use it as root:
1. format your USB stick to ext3 file system on your host:
sudo mkfs.ext3 /dev/sda1
2. copy rootfs into USB stick
sudo mount /dev/sda1 /mnt
cd /mnt
sudo tar jxvf /path/to/mindspeed_c1000-standard-glibc_std-dist.tar.bz2
cd ../; sudo umount mnt
3. plug USB stick into c1k board
Note: to use USB stick as rootfs device, a kernel option need be enabled:
Device Drivers --->
Block devices --->
Low Performance USB Block driver