ubuntu:pi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:pi [2021-02-01 18:00] – remove cloud-init netplan config gabriel | ubuntu:pi [2021-02-08 16:27] (current) – [Configuring RTC on Ubuntu 20.04 LTS] formatting gabriel | ||
---|---|---|---|
Line 119: | Line 119: | ||
Quick reference for Raspberry Pi hardware tools on Ubuntu. | Quick reference for Raspberry Pi hardware tools on Ubuntu. | ||
+ | |||
+ | ==== Configuring RTC on Ubuntu 20.04 LTS ==== | ||
+ | |||
+ | < | ||
+ | # Install the I2C tools to access the bus and configure your RTC | ||
+ | apt install i2c-tools | ||
+ | |||
+ | # Enable your RTC in the Pi boot config | ||
+ | RTCMODEL=ds3231 | ||
+ | echo " | ||
+ | |||
+ | # show I2C bus config | ||
+ | # - 68 = hardware detected | ||
+ | # - UU = dtoverlay configured correctly and driver is loaded | ||
+ | i2cdetect -y 1 | ||
+ | </ | ||
+ | |||
+ | // | ||
===== Reference ===== | ===== Reference ===== |
ubuntu/pi.txt · Last modified: 2021-02-08 16:27 by gabriel