Using two types of memory on a board

I'm programming an embedded system using a custom board that has two types of memory on the board, 2MB of SRAM and 128 MB of SDRAM.

My operating system and application have broken the 2MB limit and so I need to start using the SDRAM too. I have some large data structures that if I could just get those into SDRAM it would probably solve the problem.

I know the address for both types of memory. How do I get my data structures to be store in the SDRAM?

You need to change the linker script. The linker script is a file that defines the memory layout used for the program.
According to the documentation (see: memory organization) (http://www.gaisler.com/cms/index.php?option=com_content&id=15&Itemid=112&limit=9&limitstart=171),

You need to change the linker script. The linker script is a file that defines the memory layout used for the program.
According to the documentation (see: memory organization), the default linker script defines a .text segment starting at address 0x40000000.
According to this post, you can change the linker script directly from your project directory, by using the "-X" and "-T" options in bcc.
I do not have any way to check if this works.

I appreciate the help.
With your suggestions the linker would relocate the text but it would still not run. Eventually I figured out that on this architecture you also have to set the stack pointer to the top of the SDRAM for this to work. Also I found that there is a more direct way to get the linker to relocate. Instead of modifying the linker script you can just use -Wl -Ttext 0x60000000 in the call to the linker script.
With those issues and a meaningful response taking two days, I didn't feel this deserved an "A".

this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works.
the topics in the following article covered are,
1) dell hardware raidlevel (Perc)
2) adding HDD
3) how t…

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…