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
本文详细介绍了如何将USB闪存盘格式化为ext3文件系统,并通过复制rootfs目录将其作为Linux系统的根文件系统使用。包括格式化过程、复制文件系统到USB、挂载并初始化USB作为根文件系统等步骤。

1879

被折叠的 条评论
为什么被折叠?



