在系统启动前将CF卡插入,系统自动加载设备,进入系统后浏览
# ls /dev/ide/host0/bus0/target0/lun0/ /dev/ide/host0/bus0/target0/lun0: p1
# ls /dev/ide/host0/bus0/target0/lun0/
/dev/ide/host0/bus0/target0/lun0: p1
disc part1
则CF卡加载成功!
进入系统后重新加载CF卡:
# mount -t vfAT**>> yaffs: getBlockInfo block 0 is not valid //加载设备
rootfs on / type rootfs (rw)
/dev/root on / type yaffs (rw)
none on /dev type devfs (rw)
ramfs on /etc type ramfs (rw)
/dev/ide/host0/bus0/target0/lun0/part1 on /etc/tmp type vfat (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
# LS
LS: No such file or directory
# ls
**>> yaffs: getBlockInfo block 0 is not valid
bin fpga1.rbf linuette parameter.ini usr
dev getnet linuxrc play var
etc keyd lost+found proc
file.ini keydriver.c main.rbf sbin
fpga.rbf lib mnt tmp
# ls /dev/ide/host0/bus0/target0/lun0/ /dev/ide/host0/bus0/target0/lun0: p1
# ls /dev/ide/host0/bus0/target0/lun0/
/dev/ide/host0/bus0/target0/lun0: p1
disc part1
//SD卡加载成功,
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
系统启动后插上U盘,如何加载U盘:
# mount -t vfat /dev/scsi/host0/bus0/target0/lun0/
/dev/scsi/host0/bus0/target0/lun0/disc /dev/scsi/host0/bus0/target0/lun
0/part1
# mount -t vfat /dev/scsi/host0/bus0/target0/lun0/part1 /tmp
# cd /tmp //进入U盘目录
# ls //浏览U盘文件
Doc1.doc elinuxrc play zImage
adc.o getnet rav2008 zhtzh.rbf
# cp abc.o / //将abc.o拷贝到系统根目录下
阅读(681) | 评论(0) | 转发(0) |