PPC NvRam Support???

3 messages, 3 authors, 2003-02-25 · open the first message on its own page

PPC NvRam Support???

From: Tom Guilliams <hidden>
Date: 2003-02-25 21:58:18

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/

Re: PPC NvRam Support???

From: Gary Thomas <hidden>
Date: 2003-02-25 22:10:40

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: [off-list ref]  |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: PPC NvRam Support???

From: Tom Rini <hidden>
Date: 2003-02-25 23:14:15

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help