当前位置:网站首页>1. Mx6ul core module use serial TF card read / write test (V)
1. Mx6ul core module use serial TF card read / write test (V)
2022-07-26 02:01:00 【szembed】
The following is already in Iot-6ULX/EVB-6ULX The verification on the platform passed ,Iot-6ULX/EVB-6ULX Introduce the following :


TF During the card reading and writing test , The test results are based on the TF Different cards , There will be differences .
At present, the system does not support automatic attachment of external devices , So before the test , You need to TF The card is attached to the system . After the system starts , Insert TF card , The system can recognize TF Card equipment mmcblk0:

System identification TF Card information
mount mmcblk0 Of p1 Partition :
[email protected] ~# mount -t vfat /dev/mmcblk0p1 /mnt/ // take mmcblk0 Of p1 Partition mount to mnt Catalog
[email protected] ~# df
Carrying equipment

mount TF card
As you can see from the diagram ,mmcblk0p1 It has been successfully mounted to mnt Under the table of contents , Can be in mnt Under the catalogue, right TF The card is tested for reading and writing .
4.1 TF Card write speed test
Enter into mnt Catalog :
[email protected] ~# cd /mnt // Enter mnt Catalog
[email protected] mnt# pwd // View the current directory

Get into mnt Catalog
Use dd Command to root Write data to directory , And generate largefile file , File size is 80 MiB, Test write speed .
[email protected] mnt#
dd if=/dev/zero of=./largefile bs=8k count=10240 conv=fdatasync

TF Card write speed test
From the information displayed on the terminal , The size of the file written is 80MiB, Speed is 9.6MB/s.
4.2 TF Card reading speed measurement
explain : because Linux Kernel mechanism of , Generally, there is no need to release the used cache. these cache Content can increase the reading and writing speed of files .
The test process is to be able to test from TF The exact speed of reading data from the card , So you need to clear the cache first .
Execute the following instructions , Clear cache :
[email protected] mnt# sh -c "sync && echo 3 > /proc/sys/vm/drop_caches" // Clear page cache , Catalog entries and inode

Clear cache
Again using dd The instruction reads with dd Instructions written largefile file , Test the reading speed :
[email protected] ~# dd if=./largefile of=/dev/null bs=8k

TF Card reading speed test
From the information displayed on the terminal , The read file size is 80MiB, Speed is 19.9MB/s.
After the test is completed , Delete the test file with instructions :
[email protected] ~# ls -alh largefile // see largefile file
[email protected] ~# rm largefile // remove largefile file

Delete test file
After the test is completed , Need to put TF Card unloading :
[email protected] mnt# cd // Enter the user home directory
[email protected] ~# umount /mnt // uninstall mnt Mounted in the directory TF card
[email protected] ~# df // Check disk usage , View mounted devices

uninstall TF card
You can see from the information displayed on the terminal ,mmcblk0p1 Successfully uninstalled .
边栏推荐
- 【2020】【论文笔记】磁控溅射法生长Bi2Te3/CoFeB双层异质结——
- Leetcode algorithm 147. insert and sort the linked list
- opengauss如何手工安装(非OM方式)
- Cross Site Request Forgery (CSRF): impact, examples, and Prevention
- flink sql 如何配置打印insert实参日志呢
- Mark and lightbulbs (thinking)
- 达梦数据库表导入导出按钮灰色,导入不了dmp文件
- C# 迭代器的实现
- TI AM335x工控模块网络跟文件系统NFS的实现
- vite 本地运行首次进入页面加载慢问题
猜你喜欢

SQL手工盲注、报错注入
![Web3.0 blog DAPP development practice [2022]](/img/18/f386246ff6ffbd0a42df57c3cd9170.png)
Web3.0 blog DAPP development practice [2022]

Worthington papain - production of glycopeptides from purified proteoglycans (attached Literature)

excel中怎么显示数字/英文时间

C# 迭代器的实现

After reading this article, you should thoroughly understand how to do interface testing
SQL injection tutorial: learn through examples

还在用==0 null equal 判断空值吗,对isEmpty 和 isBlank有多少了解呢

Worthington产气荚膜梭菌神经氨酸酶的特征及测定

【2019】【论文笔记】基于超材料可调谐THz宽频吸收——
随机推荐
Infinite fraction path (BFS pruning)
I.MX6UL核心模块使用连载-RTC测试 (十二)
Republishing foundation and configuration
[independent station construction] Shopify seller: learn these points and double the sales volume of online stores!
vite 本地运行首次进入页面加载慢问题
Remember a laravel problem script @php artist package:discover handling the post autoload dump event returned with
SVN version control branch and merge function use
Turn: do the right thing efficiently
Redis集群搭建(基于6.x)
登堂入室soc之编程基础环境变量设置
【深入浅出玩转FPGA学习11----Testbench书写技巧2】
Digital transformation behind the reshaping growth of catering chain stores
# Dest0g3 520迎新赛(更新中)
Summary after reading "poor dad and rich dad"
Worthington核酸酶、微球菌相关研究及测定方案
阿里云Redis开发规范
DialogRPT-Dialog Ranking Pretrained Transformers
MySQL locking table problem
[Android development IOS series] Language: swift vs kotlin
SVN版本控制分支、合并功能使用