All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] rtdm, rtc and printk driver.
@ 2007-02-23 13:26 Nicolas BLANCHARD
  2007-02-23 13:47 ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas BLANCHARD @ 2007-02-23 13:26 UTC (permalink / raw)
  To: xenomai


[-- Attachment #1.1: Type: text/plain, Size: 511 bytes --]

Hello,
 
I've write a little rtdm driver to r/w RealTimeClock on rtc146818
chipset.
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
use (just code).
to compil, you must change kernel sources directory (KERNELSOURCEDIR
flag).
 
It Based on code of Jan Kiszka found in http://www.captain.at/
 
I hope it could be interesting.
All feedback are welcome.
 
(linux 2.6.19.2, xeno 2.3, hal 1.6-03)
 
blanchard nicolas 

[-- Attachment #1.2: HTML --]
[-- Type: text/html, Size: 1071 bytes --]

[-- Attachment #2: rtc146818.tar.gz --]
[-- Type: application/octet-stream, Size: 4399 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-core] rtdm, rtc and printk driver.
  2007-02-23 13:26 Nicolas BLANCHARD
@ 2007-02-23 13:47 ` Jan Kiszka
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2007-02-23 13:47 UTC (permalink / raw)
  To: Nicolas BLANCHARD; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 812 bytes --]

Nicolas BLANCHARD wrote:
> 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
specific embedded boards? (Means: can I actually play with your driver? :) )

> 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
> use (just code).
> to compil, you must change kernel sources directory (KERNELSOURCEDIR
> 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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-core] rtdm, rtc and printk driver.
@ 2007-02-23 14:55 Nicolas BLANCHARD
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas BLANCHARD @ 2007-02-23 14:55 UTC (permalink / raw)
  To: xenomai, jan.kiszka

[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]


>>>> Jan Kiszka <jan.kiszka@domain.hid> 23.02 14:47 >>>
>Nicolas BLANCHARD wrote:
>> 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
>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.
 
>
>> 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
>> use (just code).
>> to compil, you must change kernel sources directory
(KERNELSOURCEDIR
>> 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


[-- Attachment #2: HTML --]
[-- Type: text/html, Size: 1777 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-23 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-23 14:55 [Xenomai-core] rtdm, rtc and printk driver Nicolas BLANCHARD
  -- strict thread matches above, loose matches on Subject: below --
2007-02-23 13:26 Nicolas BLANCHARD
2007-02-23 13:47 ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.