lkml.org 
[lkml]   [2002]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: non volatile ram disk
From
Date
hi

thanks for replying,

I already tried to map an MTD to physical memory, but got an error and
an mtd with size 0

dou you know why ?

regards
erez

On Mon, 2002-01-21 at 15:41, Peter Wächtler wrote:
> Erez Doron schrieb:
> >
> > hi
> >
> > I'm looking for a way to make a ramdisk which is not erased on reboot
> > this is for use with ipaq/linux.
> >
> > i tought of booting with mem=32m and map a block device to the rest of
> > the 32M ram i have.
> >
> > the probelm is that giving mem=32m to the kernel will cause the kernel
> > to map only the first 32m of physical memory to virtual one, so using
> > __pa(ptr) on the top 32m causes a kernel oops.
> >
> > any idea ?
> >
>
> a MTD is the way to go, which uses the "reserved" mem area.
> I assume that the RAM is battery backed
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.078 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site