Messages in this thread | | | Subject | Re: non volatile ram disk | From | Erez Doron <> | Date | 21 Jan 2002 16:10:06 +0200 |
| |
the exact log i get:
Creating 3 MTD partitions on "SA1100 flash": 0x00000000-0x00040000 : "bootldr" mtd: Giving out device 0 to bootldr 0x00040000-0x02000000 : "root" mtd: Giving out device 1 to root 0xc2000000-0xc4000000 : "rd" mtd: partition "rd" is out of reach -- disabled
notes: 1. the flash is at physical adress 0-0x1ffffff (32mb) 2. the ram is at physical adress 0xc0000000-0xc3ffffff i tried to map an mtd device to the second part of the ram, but got "partition is out of reach"
any idea ?
On Mon, 2002-01-21 at 15:42, Erez Doron wrote: > 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/
- 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/
| |