Skip to contentSkip to conversation

rtdm, rtc and printk driver.

Xenomai-core Nicolas BLANCHARD 1 participant 1 message Feb 23, 2007

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Jan Kiszka <[email protected]> 23.02 14:47 >>>

Quoted 4 lines · Nicolas BLANCHARD

Hello,

I've write a little rtdm driver to r/w RealTimeClock on rtc146818 chipset.

/me not having done much with rtc (hmm, a lot of years back on PCs, I think): can this chip be found in normal PC hardware? Or is it only

on

Quoted 1 line

specific embedded boards? (Means: can I actually play with your

driver? :) )

Motorola 146818 circuit is a 6800 peripheral CMOS device, it's often used with processors 6800 and 8085.
I think it's used on a lot of x86 board.

Quoted 5 lines
Quoted 5 lines

I also use this driver to write kernel message from user-space (printk).

In attachment you can find an archive with the driver and an example

of

Quoted 2 lines
Quoted 2 lines

use (just code).
to compil, you must change kernel sources directory

(KERNELSOURCEDIR

Quoted 11 lines
Quoted 7 lines

flag).

It Based on code of Jan Kiszka found in http://www.captain.at/

I hope it could be interesting.
All feedback are welcome.

You will get it. Thanks for sharing your code!

Jan

Nicolas Blanchard