move the rpitools repo to boxtools/rpi
as we will need anyway boxtools also for rpis
This commit is contained in:
7
rpi/configrtc.sh
Executable file
7
rpi/configrtc.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
modprobe i2c-dev
|
||||
# Calibrate the clock (default: 0x47). See datasheet for MCP7940N
|
||||
i2cset -y 1 0x6f 0x08 0x47
|
||||
modprobe i2c:mcp7941x
|
||||
echo mcp7941x 0x6f > /sys/class/i2c-dev/i2c-1/device/new_device
|
||||
hwclock -s
|
Reference in New Issue
Block a user