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

2 Nand Flash Read and write test
test Nand Flash/eMMC Reading and writing speed , Mainly used dd Instructions . Instructions :
dd Used to copy , Copy a file in a block of a specified size . from if(input file) File read out , writes of(output file) Specified file ,bs Is the size of each write block ,count Is the number of read-write blocks ."if=/dev/zero" Do not produce IO, That is, data can be output continuously , So it can be used to test pure write speed .
2.1 Nand Flash Write speed test
Nand Flash The root file system contains multiple directories , We need to select one of these directories to test . You can execute the following instructions to view the directories contained in the root directory .
[email protected] ~# cd / // Go to the root directory
roo[email protected] /# pwd // View the current directory
[email protected] /# ls // Displays the files and directories in the current directory

Contents under the root directory
As you can see from the above figure , The root directory contains several subdirectories . among ,root The directory is the default directory when the system logs in ( Home directory ). During the test , We enter root Test under the directory .
[email protected] /# cd /root // Enter root Catalog
[email protected] ~# pwd // View the current directory

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

Nand Flash Write speed test
From the information displayed on the terminal , The size of the file written is 80MiB, Speed is 36.2MB/s.
1.2.2 Nand Flash Read speed test
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 Nand Flash Accurate speed of reading data in , So you need to clear the cache first .
Execute the following instructions , Clear cache :
[email protected] ~# 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

Nand Flash Read speed test
From the information displayed on the terminal , The read file size is 80MiB, Speed is 33.6MB/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
边栏推荐
- 1205 Lock wait timeout exceeded; try restarting transaction处理
- 【PyQt5打包为exe】
- [C language brush leetcode] 443. Compressed string (m)
- 3. Upload the avatar to qiniu cloud and display it
- [2020] [paper notes] growth of bi2te3/cofeb double-layer heterojunction by magnetron sputtering——
- DialogRPT-Dialog Ranking Pretrained Transformers
- [C language brush leetcode] 1604. Warn people who use the same employee card more than or equal to three times within an hour (m)
- Are you still using ==0 null equal to judge null values? How much do you know about isempty and isblank
- How to choose cloud note tool? What can I do with cloud notes?
- obsidian移动端PC段同步
猜你喜欢

I.MX6UL核心模块使用连载-Iot-6ULX核心模块简要介绍 (一)

DialogRPT-Dialog Ranking Pretrained Transformers

Navica工具把远程MySQL导入到本地MySQL数据库

obsidian移动端PC段同步

P3166 number triangle (tolerance and exclusion +gcd)

The slow loading of the first entry page of vite local operation

How to choose cloud note tool? What can I do with cloud notes?

PHP Alipay transfer to Alipay account

Ti AM335X工控模块矩阵键盘电路的设计与驱动移植

Video game quiz? I think it's useless. It's better to do these well!
随机推荐
Worthington产气荚膜梭菌神经氨酸酶的特征及测定
G. Count the trains (thought set + two points)
HTC手机官解、S-ON/S-OFF与超级CID的关系
I.MX6UL核心模块使用连载-查看系统信息 (二)
I.MX6UL核心模块使用连载-CAN、蜂鸣器测试 (十一)
Worthington nuclease and Micrococcus related research and determination scheme
QT program beautification of the use of style sheets, QT uses pictures as the background and transparency of controls, QT custom button styles
Navica工具把远程MySQL导入到本地MySQL数据库
1. Mx6ul core module use serial TF card read / write test (V)
Quick start of adding, deleting, modifying and checking business
[paper reading] coat: CO scale conv attentional image transformers
SQL手工盲注、报错注入
Slow query log in MySQL
1. Mx6ul core module use serial -rs485 test (x)
登堂入室soc之编程基础环境变量设置
I.MX6UL核心模块使用连载-RS485测试 (十)
[2019] [paper notes] tunable THz broadband absorption based on metamaterials——
The slow loading of the first entry page of vite local operation
SQLyog数据导入导出图文教程
Ti am335x industrial control module uses the Debian system of beaglebone (BBB)