All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Brunelle <rbrunelle@envitech.com>
To: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
Cc: linux-mtd@lists.infradead.org
Subject: Re: BBRAM
Date: Tue, 19 Nov 2002 14:40:19 -0500	[thread overview]
Message-ID: <3DDA93A3.1070001@envitech.com> (raw)
In-Reply-To: 20021119185337.GB4756@wohnheim.fh-wedel.de

Thanks for you hints.

Two more questions:

-How the parameters to SLRAM are passed?
-Is there any provision for pageable memory?


Richard Brunelle


Jörn Engel wrote:

>On Tue, 19 November 2002 13:12:56 -0500, Richard Brunelle wrote:
>  
>
>>Hi, I have a question concerning a BBRAM from ST, the M48Z512A.
>>
>>I'm using the BBRAM mapped at 0xE0000 on a single board computer from 
>>VersaLogic. This BBRAM is pageable through access of a special register 
>>on the single board computer. I want to map the BBRAM as part of the 
>>file system.
>>
>>As I understand MTD is appropriate for this purpose, am I right?
>>
>>If yes, what are the options in the kernel configuration I need to 
>>enable to let the system access the device?
>>
>>My guess is CONFIG_MTD_MTDRAM with the appropriate position set to 
>>0xE0000. In this case, what type of device should I see in /dev/?
>>    
>>
>
>I've been quite happy with the slram driver. The following options
>should be enough:
>CONFIG_MTD
>CONFIG_MTD_CHAR
>CONFIG_MTD_BLOCK
>CONFIG_MTD_SLRAM
>
>In the case of a monolithic kernel, you have to append something like
>this:
>slram=BBRAM,0xE0000,+0x8000
>First parameter is the device name, second is the device start, third
>is the device end or device length (length starts with +).
>
>You have to make sure that the vm doesn't claim the same memory,
>though. Maybe you also need something like mem=8M.
>
>David, there is some Documentation floating around, but not in
>/usr/src/linux/Documentation, where most people would expect it. What
>would I have to do to change that? Commit to cvs? Bitkeeper tree?
>Patch to you/Linus/Marcelo?
>
>Jörn
>
>  
>

  reply	other threads:[~2002-11-19 19:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-19 18:12 BBRAM Richard Brunelle
2002-11-19 18:53 ` BBRAM Jörn Engel
2002-11-19 19:40   ` Richard Brunelle [this message]
2002-11-19 21:13     ` BBRAM Jörn Engel
2002-11-20  2:01       ` (no subject) Taeil Um
2002-11-20  7:20         ` David Woodhouse
2002-11-21  8:40           ` Taeil Um

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=3DDA93A3.1070001@envitech.com \
    --to=rbrunelle@envitech.com \
    --cc=joern@wohnheim.fh-wedel.de \
    --cc=linux-mtd@lists.infradead.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.