2008-01-15 05:56:56     partitioning ram

Document created by Aaronwu Employee on Aug 5, 2013
Version 1Show Document
  • View in full screen mode

2008-01-15 05:56:56     partitioning ram

Paolo Chiesa (ITALY)

Message: 49584   

 

Hi,

 

     I have a blackfin BF537-STAMP board with uClinux 1.1 RC3 distibution.

 

I need to allocate a precise part of RAM to store some data not to be touched by Linux.

 

I want to define a start address and size of this partition.

 

How can I realize it?

 

Thank you for help,

 

PAOLO

TranslateQuoteReplyEditDelete

 

 

2008-01-15 06:17:47     Re: partitioning ram

Mike Frysinger (UNITED STATES)

Message: 49591    currently, you cannot do this.  the closest you can get is documented here:

http://docs.blackfin.uclinux.org/doku.php?id=kernel_space_memory_allocation#silly_nommu_memory_tricks

QuoteReplyEditDelete

 

 

2008-01-29 05:22:58     Re: partitioning ram

Yi Li (CHINA)

Message: 50268    Hi Paolo,

 

Just FYI that we have implemented "memmap=" kernel option which can meet your requirement of:

 

"I need to allocate a precise part of RAM to store some data not to be touched by Linux.

I want to define a start address and size of this partition."

 

Documentation/kernel-parameters.txt:

 

        memmap=nn[KMG]@ss[KMG]

                        [KNL] Force usage of a specific region of memory

                        Region of memory to be used, from ss to ss+nn.

 

        memmap=nn[KMG]$ss[KMG]

                        [KNL,ACPI] Mark specific memory as reserved.

                        Region of memory to be used, from ss to ss+nn.

 

-Yi

Attachments

    Outcomes