M.2 to 4x SATA Module

From Voipac Wiki
Revision as of 22:17, 11 February 2025 by Voipac (talk | contribs) (Replaced content with "Category:iMX8M Industrial Development Kit Category:iMX8M Industrial Peripherals <!-- --> <div style="float:right">__TOC__</div> == SATA == NOTE: Add descriptions...")
Jump to navigation Jump to search

SATA

NOTE: Add descriptions / pictures / visual guide how to connect the card to the board. Do not forget to mention requirement of additional power signals are required to be connected from one of the baseboard headers to the card.

Input: Plug sata disk to M2 extension board and power on
Output: Sata device is recognized

root@imx8mq-voipac:~# ls -la /dev/sda
brw-rw---- 1 root disk 8, 0 Feb 22 07:13 /dev/sda
# run speed test - write
root@imx8mq-voipac:~# time dd if=/dev/urandom of=/dev/sda bs=4096 status=progress count=200000
#NOTE: "of=/dev/sdb" is correct? + Consider using a printout from testing a better SATA disk - higher speeds were achieved.
812093440 bytes (812 MB, 774 MiB) copied, 29 s, 28.0 MB/s
200000+0 records in
200000+0 records out
819200000 bytes (819 MB, 781 MiB) copied, 34.1491 s, 24.0 MB/s
real    0m 34.15s
user    0m 0.30s
sys     0m 12.74s

# run speed test - read
root@imx8mq-voipac:~# time dd if=/dev/sda of=/tmp/test.bin bs=4096 status=progress count=100000
#NOTE: "if=/dev/sdb" is correct? + Consider using a printout from testing a better SATA disk - higher speeds were achieved.
364503040 bytes (365 MB, 348 MiB) copied, 4 s, 91.1 MB/s
100000+0 records in
100000+0 records out
409600000 bytes (410 MB, 391 MiB) copied, 4.5828 s, 89.4 MB/s
real    0m 4.79s
user    0m 0.06s
sys     0m 2.15s

We achieved aw write speed ~ 24MB/s and read speed ~90MB/s