Advantech RSB-3720 User Manual page 48

Nxp i.mx8m plus cortex®-a53 2.5" sbc with uio40-express
Hide thumbs Also See for RSB-3720:
Table of Contents

Advertisement

I2c set and get
root@imx8mprsb3720a1:~# i2cset -f -y 0 0x0a 0 0xff00 w
root@imx8mprsb3720a1:~# i2cget -f -y 0 0x0a 0 w
0x11a0
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)
# 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
RTC test
Disable rtc sync service
root@imx8mprsb3720a1:~# systemctl disable ntpd.service
Removed /etc/systemd/system/multi-user.target.wants/ntpd.service.
root@imx8mprsb3720a1:~# systemctl stop systemd-timesyncd
root@imx8mprsb3720a1:~# systemctl stop ntpdate.service
set system time to current, then write to RTC

Advertisement

Table of Contents
loading

Table of Contents