* PPC NvRam Support???
@ 2003-02-25 21:58 Tom Guilliams
2003-02-25 22:10 ` Gary Thomas
2003-02-25 23:14 ` Tom Rini
0 siblings, 2 replies; 4+ messages in thread
From: Tom Guilliams @ 2003-02-25 21:58 UTC (permalink / raw)
To: Linux PPC Embedded List
I'm looking for NVRAM support (/dev/nvram) for the M48T37V 32K x 8
Timekeeper SRAM chip. Not only that, but drivers/char/nvram.c in the
2.4 development tree doesn't seem to support PPC at all. I must be
missing something or going about this the wrong way. There appears to
be RTC support for that chipset but no NVRAM. Can anyone shed some
light on PPC NVRAM support? Thanks in advance for any help.
- Tom
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PPC NvRam Support???
2003-02-25 21:58 PPC NvRam Support??? Tom Guilliams
@ 2003-02-25 22:10 ` Gary Thomas
2003-02-25 23:14 ` Tom Rini
1 sibling, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2003-02-25 22:10 UTC (permalink / raw)
To: tguilliams; +Cc: Linux PPC Embedded List
On Tue, 2003-02-25 at 14:58, Tom Guilliams wrote:
>
> I'm looking for NVRAM support (/dev/nvram) for the M48T37V 32K x 8
> Timekeeper SRAM chip. Not only that, but drivers/char/nvram.c in the
> 2.4 development tree doesn't seem to support PPC at all. I must be
> missing something or going about this the wrong way. There appears to
> be RTC support for that chipset but no NVRAM. Can anyone shed some
> light on PPC NVRAM support? Thanks in advance for any help.
Try looking in arch/ppc/kernel - that's where the RTC/NVRAM support
is (in the 2.4 kernels at least)
--
------------------------------------------------------------
Gary Thomas |
MLB Associates | Consulting for the
+1 (970) 229-1963 | Embedded world
http://www.mlbassoc.com/ |
email: <gary@mlbassoc.com> |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PPC NvRam Support???
2003-02-25 21:58 PPC NvRam Support??? Tom Guilliams
2003-02-25 22:10 ` Gary Thomas
@ 2003-02-25 23:14 ` Tom Rini
1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2003-02-25 23:14 UTC (permalink / raw)
To: Tom Guilliams; +Cc: Linux PPC Embedded List
On Tue, Feb 25, 2003 at 01:58:18PM -0800, Tom Guilliams wrote:
> I'm looking for NVRAM support (/dev/nvram) for the M48T37V 32K x 8
> Timekeeper SRAM chip. Not only that, but drivers/char/nvram.c in the
> 2.4 development tree doesn't seem to support PPC at all. I must be
> missing something or going about this the wrong way. There appears to
> be RTC support for that chipset but no NVRAM. Can anyone shed some
> light on PPC NVRAM support? Thanks in advance for any help.
Well, what are you trying to do exactly? The drivers/char/nvram.c
driver should be able be made to work on a 'pc' style nvram with a
little work. NVRAM support is currently funky because powermacs cannot
use the drivers/char/nvram.c driver, but did use CONFIG_NVRAM. You
could try just removing the PPC check in drivers/char/Makefile and see
what happens.
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: PPC NvRam Support???
@ 2003-02-25 22:11 Tom Guilliams
0 siblings, 0 replies; 4+ messages in thread
From: Tom Guilliams @ 2003-02-25 22:11 UTC (permalink / raw)
To: 'Gary Thomas', Tom Guilliams; +Cc: 'Linux PPC Embedded List'
Right-o. I found a discussion thread regarding trying to put a filesystem
on NVRAM - not what I'm trying to do. I'll look more closely at the kernel.
What I would like to do is have support for the /dev/nvram node. That's
what I was referring to when I stated there was no PPC support in the
nvram.c file. Thanks for your suggestion.
Tom
-----Original Message-----
From: Gary Thomas [mailto:gary@mlbassoc.com]
Sent: Tuesday, February 25, 2003 2:11 PM
To: tguilliams@sbs.com
Cc: Linux PPC Embedded List
Subject: Re: PPC NvRam Support???
On Tue, 2003-02-25 at 14:58, Tom Guilliams wrote:
>
> I'm looking for NVRAM support (/dev/nvram) for the M48T37V 32K x 8
> Timekeeper SRAM chip. Not only that, but drivers/char/nvram.c in the
> 2.4 development tree doesn't seem to support PPC at all. I must be
> missing something or going about this the wrong way. There appears to
> be RTC support for that chipset but no NVRAM. Can anyone shed some
> light on PPC NVRAM support? Thanks in advance for any help.
Try looking in arch/ppc/kernel - that's where the RTC/NVRAM support is (in
the 2.4 kernels at least)
--
------------------------------------------------------------
Gary Thomas |
MLB Associates | Consulting for the
+1 (970) 229-1963 | Embedded world
http://www.mlbassoc.com/ |
email: <gary@mlbassoc.com> |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-02-25 23:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-25 21:58 PPC NvRam Support??? Tom Guilliams
2003-02-25 22:10 ` Gary Thomas
2003-02-25 23:14 ` Tom Rini
-- strict thread matches above, loose matches on Subject: below --
2003-02-25 22:11 Tom Guilliams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).