2008-06-16 04:42:04     Which SDRAM area is used by uClinux

2008-06-16 04:42:04     Which SDRAM area is used by uClinux

Stephen Sheldon (GERMANY)

Message: 57334   

Hi,

I would like to use uClinux with some application on CoreA, and on CoreB an ELF application. Both of them use SDRAM.

How can i figure out, which memory area is used by uClinux and which memory area is used by my uClinux application.

The reason why I need this, is that I need a memory area, that my ELF application can use securely.

Best regards

Stephen Sheldon

TranslateQuoteReplyEditDelete

2008-06-16 05:13:27     Re: Which SDRAM area is used by uClinux

Mike Frysinger (UNITED STATES)

Message: 57335   

Linux running on Core A uses all resources by default.  if you want to reserve a chunk of memory, you can do so on the kernel command line: http://docs.blackfin.uclinux.org/doku.php?id=kernel_space_memory_allocation#silly_nommu_memory_tricks

otherwise, Core B should never be claiming chunks of memory by itself.

every time Linux launches an application, the memory regions will be allocated on the fly.  there will be no static mapping for you to work with.  you can just use pointers in C to find out where some data lives and then pass that to Core B.

QuoteReplyEditDelete

2008-06-16 06:31:40     Re: Which SDRAM area is used by uClinux

Stephen Sheldon (GERMANY)

Message: 57340   

Thanks a lot. :-)

  • Created
Was this helpful?

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.