Advantech ROM-5720 handleiding
Handleiding
Je bekijkt pagina 29 van 46

21 ROM-5720 User Manual
Chapter 4 Software Functionality
4.1.7 USB test
USB disk test (2.0/3.0)
After insert usb disk to 2.0 or 3.0 port
Test (eg. if usb disk is /dev/sda)
4.1.8 RTC Test
Disable RTC sync service
Set system time to current, then write to RTC
Set one incorrect time, then read time from RTC to verify
Restore the RTC time to system time
root@imx8mqrom5720a1 : ~# 1susb -t
/: Bus 04. Port 1: Dev 1, Class=root_hub, Dricer=xhci-hcd/1p, 5000M
/: Bus 03. Port 1: Dev 1, Class=root_hub, Dricer=xhci-hcd/1p, 480M
I__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
I__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/2p, 480M
I__ Port 1: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage,
480M
/: Bus 02. Port 1: Dev 1, Class=root_hub, Dricer=xhci-hcd/1p, 5000M
I__ Port 1: Dev 2, If 0, Class= Mass Storage, Driver=usb-storage,
5000M
/: Bus 01. Port 1: Dev 1, Class=root_hub, Dricer=xhci-hcd/1p, 480M
# dd if=/dev/urandom of=data bs=1024 count=1
# dd if=/dev/sda of=backup bs=1024 count=1 skip=4096
# dd if=data of=/dev/sda bs=1024 count=1 seek=4096
# dd if=/dev/sda of=data1 bs=1024 count=1 skip=4096
# diff data data1
# dd if=./backup of=/dev/sda bs=1024 count=1 seek=4096
root@imx8mqrom5720a1 : ~# systemctl stop systemd-timesyncd
root@imx8mqrom5720a1 : ~# systemctl stop ntpdate . service
root@imx8mqrom5720a1 : ~# date 021710452016 && hwclock -w && date
Wed Feb 17 10 : 45 : 00 UTC 2016
Wed Feb 17 10 : 45 : 00 UTC 2016
root@imx8mqrom5720a1 : ~# date 010100002000 && hwclock -r && date
Sat Jan 1 00 : 00 : 00 UTC 2000
Wed Feb 17 10 : 46 : 25 2016 0 . 000000 seconds
Sat Jan 1 00 : 00 : 00 UTC 2000
root@imx8mqrom5720a1 : ~#
root@imx8mqrom5720a1 : ~# hwclock -s && date
Web Feb 17 10 ?46 ?43 UTC 2016
Bekijk gratis de handleiding van Advantech ROM-5720, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.
Productinformatie
Merk | Advantech |
Model | ROM-5720 |
Categorie | Niet gecategoriseerd |
Taal | Nederlands |
Grootte | 5875 MB |