Dasharo Compatibility: SD Card Reader
Test cases common documentation
Test setup
- Proceed with the Generic test setup: firmware.
- Proceed with the Generic test setup: OS installer.
- Proceed with the Generic test setup: OS installation.
- Proceed with the Generic test setup: OS boot from disk.
- Insert an SD card into the SD Card reader.
SDC001.001 SD Card reader detection (Ubuntu)
Test description
This test aims to verify that the SD Card reader is enumerated correctly and can be detected from the operating system.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Open a terminal window and execute the following command:
lspci | grep RTS522A
Expected result
The output from the command should contain the line:
2d:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
SDC001.002 SD Card reader detection (Windows)
Test description
This test aims to verify that the SD Card reader is enumerated correctly and can be detected from the operating system.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Windows
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Open PowerShell as administrator.
-
Run below command and note result:
Get-PnpDevice -Status "OK" -Class "MTD"
Expected result
The output of the command should contain basic information about mounted SD card reader.
Output example:
Status Class FriendlyName
------ ----- ------------
OK MTD Realtek PCIE CardReader
SDC002.001 SD Card read/write (Ubuntu)
Test description
This test aims to verify that the SD Card reader is initialized correctly and can be used from the operating system.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Open a terminal window and execute the following commands as root:
dd if=/dev/urandom of=/tmp/in.bin bs=4K count=100
dd if=/tmp/in.bin of=/dev/mmcblk0 bs=4K count=100
dd if=/dev/mmcblk0 of=/tmp/out.bin bs=4K count=100
sha256sum /tmp/in.bin /tmp/out.bin
Expected result
The output from the last command should contain 2 identical checksums:
2083776668ed0c8095a9ac42188153c02f360e116c14b36d2ef5c98665d75dcb /tmp/in.bin
2083776668ed0c8095a9ac42188153c02f360e116c14b36d2ef5c98665d75dcb /tmp/out.bin
SDC002.002 SD Card read/write (Windows)
Test description
This test aims to verify that the SD Card reader is initialized correctly and can be used from the operating system.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Windows
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Determine the localization of the mounted SD card.
- Open PowerShell as administrator.
-
Run below commands and note results:
New-Item -Path "${drive_lacation}:\" -Name "testfile.txt" -ItemType "file" -Value "This is a test string." Get-Content -Path "${drive_lacation}:\testfile.txt"
Expected result
Last command should return This is a test string.