move the rpitools repo to boxtools/rpi

as we will need anyway boxtools also for rpis
This commit is contained in:
2025-04-04 16:23:00 +02:00
parent 6908908d13
commit d7162993ad
8 changed files with 849 additions and 0 deletions

7
rpi/configrtc.sh Executable file
View 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