linux-mips
[Top] [All Lists]

Reserving a part of the system ram.

To: linux-mips@linux-mips.org
Subject: Reserving a part of the system ram.
From: Ronny Meeus <ronny.meeus@gmail.com>
Date: Sat, 9 Feb 2013 14:23:03 +0100
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=CX4qdacUOc/rXRhAKOCa+4p7eRGfwYh4Z5L+jaDFp80=; b=UnGUvwRwEGY+oEJIkJvnCfZtLWgNt73aOBlBKRySeAP+Oyk6FjQlkolpR0MU+T+O2s Fg2IcTskrdp85Sovx2NYXbCTWiH/Ha2Wad/R8DsIRdAoic76QBXARhTnaATlqD65W6xI m+whf9J7hA65bBe6W8DRM7fHSJRbzODJkh0+qbCZ02BFPYe+t7BNkud/z1hP8FNKk+hR kXXVEG0CvFlLeUFwA/e118eODzkytB+BpJX/qoYJr5shYLovzblYAT2AgyLvnIAus2Ol iXBBDoO6zJOWwq0DDhjNqi+Cj2TtbKkFm+PnGnPbB6FTLZuT/7mt/h6Ljo8Wk1LKQlD7 o87w==
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Sender: linux-mips-bounce@linux-mips.org
Hello

I have a board that has 4Gb of RAM which can completely be used by
Linux, except for a 64Mb block located just below the 2G boundary.
This block will be used to implement a kind of persistent storage.

On PPC we do this with a memreserve in the device tree but this does
not seem to work on MIPS.
Another option I found is the memmap kernel parameter, which  can also
be used the reserve a piece of memory that is reserved (something like
memmap=size$addres would do the trick, but no luck, this is also not
supported.

This is the Linux version I'm using for my project:
Linux version 2.6.32.27-Cavium-Octeon

What is the correct way to make this work?

Thanks,
Ronny

<Prev in Thread] Current Thread [Next in Thread>