Forum Discussion
Altera_Forum
Honored Contributor
21 years agouClinux .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...
Altera_Forum
Honored Contributor
21 years agogo to arch/nios2nommu/kernel/setup.c, after the call of init_bootmem_node , put a free_bootmem for your SDRAM. This will label your SDRAM as free memory.
wentao Microtronix Datacom Ltd.