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 agoIf let me guess, I will go to arch/nios2nommu/kernel/setup.c, at the end of setup_arch(). There give all the memory to init_bootmem_node. I am not sure if this is the reason of your problem, but you should be able to find out by stepping through the booting procedures...