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++
12612 Discussions

How to make a ramdisk of a second SDRAM device?

Altera_Forum
Honored Contributor II
934 Views

Hello, 

 

I have a second SDRAM device connected to my SOPC (other than the system RAM) which I would like to make into a ramdisk for read/write access. 

The size of this device is 64 MBytes.  

I would like to copy a file from an NFS file system residing in a UNIX box into this new location (a directory in the new ramdisk) without the 4096 truncation. 

Would anyone know how to do this? (make the ramdisk and lift the 4096 limit) 

 

Please help me (I am coming closer to my delivery date) 

 

Thank you, 

 

Carlos
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
214 Views

 

--- Quote Start ---  

originally posted by carlos@Apr 13 2006, 04:43 AM 

hello, 

 

i have a second sdram device connected to my sopc (other than the system ram) which i would like to make into a ramdisk for read/write access. 

the size of this device is 64 mbytes.   

i would like to copy a file from an nfs file system residing in a unix box into this new location (a directory in the new ramdisk) without the 4096 truncation. 

would anyone know how to do this? (make the ramdisk and lift the 4096 limit) 

 

please help me (i am coming closer to my delivery date) 

 

thank you, 

 

carlos 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14289) 

--- quote end ---  

 

--- Quote End ---  

 

Maybe you can write a map file to use MTD RAM. 

Or add the secondary sdram in kerenl mm init, so kernel can use it as normal ram, you have ramfs and don&#39;t need a ramdrive.
0 Kudos
Reply