This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# U-boot mtest usage | |
mtest <start> <end> <pattern> <iterations> | |
Ex: | |
mtest 0x82000000 0x83000000 0xaa55aa55 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Select the i2c bus | |
i2c dev <bus> | |
i2c dev 0 | |
# Probe the device | |
i2c probe <chip> | |
i2c probe 0x60 | |
# Read from the device | |
i2c read <chip> <chip address> <length> <memory address> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Edit /etc/systemd/journal.conf and set the following options to prevent the creation of .journal files and to forward messages to syslog: | |
Storage=none | |
ForwardToSyslog=yes | |
# Check if syslog.service is a sym-link to /dev/null and remove it if so | |
$ ls -l /lib/systemd/system/syslog.service | |
$ rm /lib/systemd/system/syslog.service | |
# Unmask the syslog service so that it can be started | |
$ systemctl unmask syslog.service |
OlderNewer