Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

uClinux .data segment in SDRAM?

For a number of reasons, I'd like to run my kernel in SRAM but allocate data memory (i.e. socket buffers) in SDRAM. This seems possible with a NIOS 'Hello World' application, or the like, but these options aren't readily apparent when creating a kernel project in Eclipse. Is there a config file I can tweak, or other steps to be performed to accomplish putting .DATA in SDRAM? I've considered actually rewriting appropriate allocation routines in the kernel, but that feels very dangerous. Any help would be appreciated.

Thanks in advance,

Ryan

22 Replies