Comments (5)
If the device tree overlay is loaded, /etc/modules(-load.d)
entries shouldn't be required, since the overlays trigger the driver load.
So indeed it seems this overlay is broken with the new kernel packages. We'll need to have a look at and in case report it here: https://github.com/raspberrypi/linux/issues
from dietpi.
Yep, the overlays for these not working is the only thing that makes sense to me for what's causing the issue here.
I grabbed some additional info on this (in case it helps folks track it down) since I reflashed the microSD card with a fresh DietPi image. When I don't run the migration script, this is what I get for dmesg | grep pps
:
[ 0.060548] pps_core: LinuxPPS API ver. 1 registered
[ 0.060558] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 2.049581] pps pps0: new PPS source [email protected]
[ 2.049660] pps pps0: Registered IRQ 37 as PPS source
And those PPS source lines are missing afterwards. Similarly, running dmesg | grep rtc
before I run the script gets me:
[ 2.938576] rtc-rv3028 1-0052: registered as rtc0
[ 2.939998] rtc-rv3028 1-0052: setting system clock to 2023-12-25T06:18:05 UTC (1703485085)
But it doesn't find any lines afterwards. Similarly, running i2cdetect -y 1
afterwards gets me this:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- 42 -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- 52 -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
That shows something (the RTC) is detected at 0x52, but the driver isn't loaded because the overlay hasn't been applied. When it's loaded (before running the migration script), that shows UU
instead of 52
there.
from dietpi.
How does it behaves on latest RPi OS 64 bit? Important to ensure all apt packages updated to latest version.
from dietpi.
How does it behaves on latest RPi OS 64 bit? Important to ensure all apt packages updated to latest version.
That's a good question. Interestingly enough, it works there. I just flashed a microSD card with the current minimal 64-bit RPi OS available in the imaging program, upgraded all the packages on it, and ran through installing/configuring it for my GPS hat, and it does detect the PPS device and RTC as I'd expect when getting things configured (using /boot/firmware/config.txt
instead of /boot/config.txt
).
root@ntp:~# uname -a
Linux ntp 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
root@ntp:~# ls /dev/pps0
/dev/pps0
root@ntp:~# ls /dev/rtc0
/dev/rtc0
So, just in case it was an issue with my previous installation, I just tried reflashing the current DietPi Bookworm image, unmarked the rpi-eeprom package so I could upgrade it, upgraded that package, ran the migration script, and then went through setting things up the same way I did on RPi OS, and I'm getting the same results as before. The PPS and RTC overlays aren't being applied and /dev/pps0
and /dev/rtc0
aren't being created.
from dietpi.
There's followup at #6676 (comment) and #6676 (comment) if anybody finds this later and is looking for context. Seems to be a case of the old kernel package removing some of the overlay files when it gets purged.
from dietpi.
Related Issues (20)
- System gets stuck when initiating a reboot (x86_64/EFI/Bookworm) HOT 14
- enable GPU with dietpi os on raspberry pi 4 to improve performance HOT 1
- Iteration v9.6 (2024-07-06)
- Wrong RAM calculation in dietpi banner HOT 5
- Rock 3A fails to bring up network on DietPi 9.5 HOT 17
- DietPi_NanoPiR6C-ARMv8-Bookworm(and Bullseye) Images not working at all HOT 4
- adguard only runs on ipv6 on proxmox HOT 2
- Unable to update Dietpi HOT 11
- TP-Link Archer T2U Nano HOT 9
- Diet-Pi Update failed HOT 5
- Job for mariadb.service failed HOT 11
- [Warning] Can't create test file '/var/lib/mysql/DietPi.lower-test HOT 11
- a2enmod command not found HOT 5
- Unable to update DietPi HOT 15
- Network | WiFi extender option HOT 7
- Node-red reinstall issue HOT 9
- Amlogic S802 support
- DietPi-Drive_Manager | Add option to scan for network shares
- installing coolify HOT 8
- Cant install Netdata HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dietpi.