3.6
USB
USB disk test (USB 2.0)
1.
Issue the following command (lsusb -t) after inserting a USB disk into the USB
2.0 port to check if the USB device is listed.
2.
Test (eg. if usb disk is /dev/sda)
# dd if=/dev/urandom of=data bs=1 count=1024
# dd if=/dev/sda of=backup bs=1 count=1024 skip=4096
# dd if=data of=/dev/sda bs=1 seek=4096
# dd if=/dev/sda of=data1 bs=1 count=1024 skip=4096
# diff data data1
# dd if=backup of=/dev/sda bs=1 seek=4096
3.7
RTC
1.
Set system time to current, then write to RTC
root@imx8ulprom2620a1:~# date 021010452023 && hwclock -w && date Feb 17
2.
Set one incorrect time, then read time from RTC to verify
root@imx8ulprom2620a1:~# date 010100002000 && hwclock -r && date 00:00:00
3.
Restore the RTC time to system time
root@imx8ulprom2620a1:~# hwclock -s && date
3.8
eMMC/SD
3.8.1
Device Routes
eMMC: /dev/mmcblk0 SD: /dev/mmcblk2
3.8.1.1
Test (eg. emmc)
1.
Test command:
# dd if=/dev/urandom of=data bs=1 count=1024
# dd if=/dev/mmcblk0 of=backup bs=1 count=1024 skip=4096
# dd if=data of=/dev/mmcblk0 bs=1 seek=4096
# dd if=/dev/mmcblk0 of=data1 bs=1 count=1024 skip=4096
# diff data data1
# dd if=backup of=/dev/mmcblk0 bs=1 seek=4096
19
ROM-2620 User Manual