ROM-6881 How to use SATA

From ESS-WIKI
Jump to: navigation, search

Test scripts automaticall copy a file in eMMC to SATA disk, check whether the file is different in eMMC and SATA disk.

Preparation:

  • Insert SATA disk for SOM-DB2510 Connector SATA1 and STAP1
  • Remove all USB disk.

Note!

  • Make sure the device is power off before insert SATA disk, otherwise the device and/or SATA disk may be damaged.
  • Make sure SATA disk is partitioned and formatted.

Taking sda1 as an example, confirm that SATA has been mounted in the/run/media path

# /tools/test/adv/storage/storage_test.sh sda1