From: Mike Moleschi <moleschi@rmsweldingsystems.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Accessing nvram rom the linux users space
Date: Tue, 12 Nov 2002 11:29:03 -0700 [thread overview]
Message-ID: <3DD1486F.50408@rmsweldingsystems.com> (raw)
I am using a PPC board running a version of Hard Hat linux, and
currently using version of the 2.4.20 kernel. On the board there
are several places for storage: 32MB of SRAM, 4MB of flash-EPROM,
32kB of NVRAM, and 16k-bit serial EEPROM. The SRAM, flash and NVRAM
are memory mapped. The NVRAM is actually battery backed up RAM
that includes a RTC in the last 8 bytes of addressed memory. Right
now there is nothing stored in the NVRAM (PPC Boot is stored in
part of the flash, and the PPC environment variable are in the
serial EEPROM.) NVRAM is mapped from 0xF0200000 to 0xF0207FFF.
I would like to be able to uses the NVRAM from the linux users
space. Ideally it would just be an extention of my filesystem,
where I could place one or two small files on it. This would
let me store information that needs to be kept through a loss of
power.
So basically I think what I am trying to figure out, is how do I
mount the NVRAM as a disk.
--
Mike Moleschi
moleschi@rmsweldingsystems.com
RMS Welding Systems
1409 - 4th Street, Nisku, Alberta CANADA T9E 7M9
Tel: (780)955-3907 Fax: (780)955-3996
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next reply other threads:[~2002-11-12 18:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-12 18:29 Mike Moleschi [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-12 18:39 Accessing nvram rom the linux users space Wright, David
2002-11-12 19:52 ` Mike Moleschi
2002-11-12 20:21 ` Kenneth Johansson
2002-11-13 9:53 ` Matthias Fuchs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DD1486F.50408@rmsweldingsystems.com \
--to=moleschi@rmsweldingsystems.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.