Usb Host Testing - Embest SBC8600B Quick Start Manual

Hide thumbs Also See for SBC8600B:
Table of Contents

Advertisement

6.8.8 USB HOST Testing

1. After inserting the USB flash disk on the board, the system will
mount the disk under the directory /media automatically;
root@SBC8600:~# df -h
Filesystem
rootfs
/dev/root
none
tmpfs
tmpfs
tmpfs
/dev/sda1
root@SBC8600:~# ls /media/sda1/
MLO
u-boot.img uImage
2.
Unmount USB disk manually;
root@SBC8600:~# cd /home/root
root@SBC8600:~# umount /media/sda1/
3. Type command df. The absence of directory /media/sda1/
indicates that the USB disk is unmounted successfully;
root@SBC8600:~# df
Filesystem
rootfs
/dev/root
none
/dev/mmcblk0p1
media/mmcblk0p1
tmpfs
tmpfs
tmpfs
4.
Mount USB disk manually;
root@SBC8600:~# mount -t vfat /dev/sda1 /mnt/card/
root@SBC8600:~# df -h
Filesystem
rootfs
/dev/root
none
tmpfs
tmpfs
Size
Used Available Use% Mounted on
31.0M
19.7M
11.3M 64% /
31.0M
19.7M
11.3M 64% /
250.6M
684.0k
249.9M
250.6M
20.0k
250.6M
250.6M
0
250.6M
250.6M
3.0M
247.6M
99.2M
3.3M
95.9M
1k-blocks
Used Available Use% Mounted on
31729
20185
31729
20185
256624
684
255940
1939712
104316 1835396
256624
20
256624
0
256624
3104
Size
Used Available Use% Mounted on
31.0M
19.7M
11.3M 64% /
31.0M
19.7M
11.3M 64% /
250.6M
684.0k
249.9M
250.6M
20.0k
250.6M
250.6M
0
250.6M
0% /dev
0% /var/volatile
0% /dev/shm
1% /media/ram
3% /media/sda1
11544 64% /
11544 64% /
0% /dev
5%
256604
0% /var/volatile
256624
0% /dev/shm
253520
1% /media/ram
0% /dev
0% /var/volatile
0% /dev/shm
Page | 65

Advertisement

Table of Contents
loading

Table of Contents