hwclock
There's been some discussion on IRC about not always having to set the clock when in userspace. I had a quick look at it, and it shouldn't be too hard. We just need a parisc version of hwclock which calls the PDC_TOD functions.
It should be reasonably easy to get this going, so if someone's looking for an unintrusive and simple task, have a look at it.
hwclock is part of the ever-terrible utils-linux package, and you should be able to use hwclock-ppc.c as a starting point.
- Alex
Signature · 4 lines
Alex deVries, Principal Solutions Architect, The Puffins at Linuxcare 613.562.2759 tel [email protected], http://www.linuxcare.com/ Linuxcare, Support for the revolution.
Quoted 4 lines · Alex deVries
There's been some discussion on IRC about not always having to set the clock when in userspace. I had a quick look at it, and it shouldn't be too hard. We just need a parisc version of hwclock which calls the
PDC_TODfunctions.
CONFIG_GENRTC in fact does use PDC_TOD.
Randolph Chung had hwclock working for PXC-L/L2 machines and I tested it on my c3k (32-bit) a few weeks back.
If it's broken, then it's a "recent" change.
grant
Quoted 10 lines · Grant Grundler
Quoted 4 lines · Alex deVries
There's been some discussion on IRC about not always having to set the clock when in userspace. I had a quick look at it, and it shouldn't be too hard. We just need a parisc version of hwclock which calls the
PDC_TODfunctions.
CONFIG_GENRTCin fact does usePDC_TOD.
Randolph Chung had hwclock working for PXC-L/L2 machines and I tested it on my c3k (32-bit) a few weeks back.
If it's broken, then it's a "recent" change.
Works for me on B180L (once I created /dev/rtc). Kernel source as of CVS 12 hours ago.
Richard