到目前为止,SSDxx (https://blog.csdn.net/engross ment/article/details/83833287 )和SSD xx ) 3https://blog.csdn.net/net )
hdparm本身主要用于读取和设置硬盘参数(hd - hard disk,parm - parameter ),但在此使用附带的性能测试用法。
源代码,https://编译SourceForge.net/projects/hdparm/files/latest/download,如果无法访问,也可以在GitHub中搜索和下载
编译PC版本时,可以直接make生成hdparm可执行文件。 如果要交叉编译,则必须修改makefile,如下所示:
抄送?=arm-linux-gnueabihf-gccSTRIP?=运行=arm-linux-gnueabihf-strip,然后运行make。
将运行生成的hdparm放置在目标板上并运行