Appendix
33
C.
eMMC Test
Note:
This operation may damage the data stored in eMMC flash. Before
starting the test, make sure there is no critical data in the eMMC flash
being used.
•
Read, write, and check
MOUNT_POINT_STR="/var"
#create data file
dd if=/dev/urandom of=/tmp/data1 bs=1024k count=10
#write data to emmc
dd if=/tmp/data1 of=$MOUNT_POINT_STR/data2 bs=1024k count=10
#read data2, and compare with data1
cmp $MOUNT_POINT_STR/data2 /tmp/data1
•
eMMC speed test
MOUNT_POINT_STR="/var"
#get emmc write speed"
time dd if=/dev/urandom of=$MOUNT_POINT_STR/test bs=1024k count=10
# clean caches
echo 3 > /proc/sys/vm/drop_caches
#get emmc read speed"
time dd if=$MOUNT_POINT_STR/test of=/dev/null bs=1024k count=10
Содержание YMBAO100
Страница 7: ...viii This page is intentionally left blank...
Страница 14: ...General Information 7 1 1 7 Dimensions Unit mm...
Страница 15: ...8 YMBAO100 Reference Heat Sink...
Страница 19: ...12 2 3 Jumper Connector Locations on YMBAO100 Board diagram of YMBAO100...
Страница 38: ...31 Appendix This section provides the information of reference code...