Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12590 Discussions

How can I increase the user memory ?

Altera_Forum
Honored Contributor II
968 Views

hi all: 

 

My nios2 board use 16m sdram. but I check the free memory with command "free",I find the total memory = 8796. 

# free 

total used free shared buffers 

Mem: 8796 3072 5724 0 8 

 

 

Why the user memory so small?  

 

How can I increase the user memory if I do not increase the SDRM capability? 

 

Can I modify kenerl source code or "menuconfig kernel" to increase the user meomory? 

 

Thank a lot!
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
308 Views

are you sure that your sdram is 16M? 

check the datasheet of your sdram maybe that is 16MBit.
0 Kudos
Altera_Forum
Honored Contributor II
308 Views

Are you using busybox for shell and services? They will take up a lot of memory when the busybox gets bigger.. 

You may try the later uClinux-dist approach with SASH and standalone services.
0 Kudos
Reply