[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using embedded linux in diskless environment



Hi,
 
I am trying to use embedded linux on a ARM based platform. We have 32 MB SDRAM. But there is no disk. So it is diskless environment. We are using RAMDISK. The images is copied to SDRAM from the flash memory.
 
We could boot linux, however while running any simplest "user program" we are geting "out of memory" message. After doing some debugging we found that "Shrink Cache" called swapout and eventually pages are never freedup. I am wondering about usefulness of swapout since the system is diskless. So is there any way to tell MM that :
 
1. I donot have any Disk so donot try to swapout something
2. Or is there any initialization setting I should set to make sure that the program will work within limits of existing physical memeory (I think I have enough memory to run a simple program) ?
3. How SWAP works effectively in case of ramdisk ?
 
I will appreciate some views/comments which may guide me further.
 
Nilesh Dange
Director Technology
Nital Computer Systems Pvt Ltd. Pune India
Phone : 91-20-4226038 Ext 229