linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
To: linuxppc-embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Accessing nvram rom the linux users space
Date: Wed, 13 Nov 2002 10:53:47 +0100	[thread overview]
Message-ID: <3DD2212B.3070902@esd-electronics.com> (raw)
In-Reply-To: 3DD15BF9.6050500@rmsweldingsystems.com


Hi Mike,

you probably can check out if the "MTD Test driver using RAM" might
help you. This MTD driver uses memory mapped SRAM (or in your case NVRAM).

But all filesystem bring a huge overhead. With 32K of NVRAM you will not
have much usable place for you data in the files left.

You should consider using part of your flash for storing data in
MTD block devices with filesystems (e.g. JFFS2).

I think the mmap example for the NVRAM that I send to you is a good and efficent
solution for the NVRAM.


Matthias


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

  parent reply	other threads:[~2002-11-13  9:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-12 18:29 Mike Moleschi

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=3DD2212B.3070902@esd-electronics.com \
    --to=matthias.fuchs@esd-electronics.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 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).