Re: Question on RAMDISK

2010-07-06 Thread Steve Poulsen

On 07/05/2010 05:52 AM, rohan tabish wrote:

Hello everyone

I am using a ramdisk image to boot the system its takes around 7secs 
to copy the ramdisk image from the flash to the RAM and then takes 3.6 
seconds after kernal uncompressing to the linux prompt




Reduce your RAMDISK size.  Maybe use two partitions, one that is CRAMFS 
and another that is RAMDISK.


I want to know that how to reduce this time of 7seconds.

Also can anyone tell how to update the ramdisk image from the linux 
prompt.e.g if i have created a file and now iwant it at the next boot 
then how to make this file part of the old ramdisk image




How about booting the system quickly with CRAMFS, with a JFFS2 
filesystem that is smaller and a RAM disk to match the JFFS2.  At 
startup, you can mount the JFFS2 (hidden mount point) and RAM disk, copy 
the JFFS2 contents to RAM, then on shutdown, copy it back.




Regard's
RT



___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
   



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: Question on RAMDISK

2010-07-05 Thread Raffaele Recalcati
2010/7/5 rohan tabish rohan_ja...@yahoo.co.uk

 Hello everyone

 I am using a ramdisk image to boot the system its takes around 7secs to
 copy the ramdisk image from the flash to the RAM and then takes 3.6 seconds
 after kernal uncompressing to the linux prompt

 I want to know that how to reduce this time of 7seconds.



you can use, if not already done,  cp.l and not cp.b and divide the lenght
to copy by 4.




 Also can anyone tell how to update the ramdisk image from the linux
 prompt.e.g if i have created a file and now iwant it at the next boot then
 how to make this file part of the old ramdisk image

 Regard's
 RT


 ___
 Davinci-linux-open-source mailing list
 Davinci-linux-open-source@linux.davincidsp.com
 http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source




-- 
www.opensurf.it
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: question on RAMDISK

2010-02-02 Thread Ottavio Campana

Il 01/02/10 22.49, Naresh Kansara ha scritto:

Hello All,

I have two questions.

   1. Is there a limit of 32MB on Ramdisk? I tried to use 64MB size and
  I got some errors


I don't know, but maybe you're running out of memory


   2. Has anybody tried to use two RAMDISK? If yes how to use two ramdisk?


what I do is booting and mounting the rootfs on a ramdisk and 
successively I can mount in tmp a tmpfs volume.


___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE: question on RAMDISK

2010-02-02 Thread Naresh Kansara
Hi kirthika,

Thank you for your response. From Kernel my RAMDISK size is 4M..
configuring RAMDISK size to 32M through setenv command works, but size
to 64M Fails. Once I get the DVEVM prompt, I issue a command

 

setenv bootargs mem=120M console=ttyS0,115200n8 root=/dev/ram0 rw
init=/bin/ash initrd=0x8200,32M-- after following normal
bootcmd, boots correctly

 

But the following procedure fails with message 

setenv bootargs mem=120M console=ttyS0,115200n8 root=/dev/ram0 rw
init=/bin/ash initrd=0x8200,64M   -- After this I load the ramdisk
through

loadb 0x8200  command through Kermit. After that when I try to 

setenv bootcmd 'nboot 8070 0 206; bootm'

boot Command

But this fails with message 

Division by zero in kernel

Any help will be highly appreciated. I need bigger size ramdisk, if
there is way to partition in two ramdisk also will work.

Thanks and Regards,

Naresh

Naresh Kansara

Irvine Sensors Corporation

phone: (714)-435-8928

email: nkans...@irvine-sensors.com

---

From: kirthika varadarajan [mailto:kirthikai...@gmail.com] 
Sent: Monday, February 01, 2010 7:07 PM
To: Naresh Kansara
Subject: Re: question on RAMDISK

 


Hi

  Please check out kernel configuration.

  

  Give   make menuconfig

Go to Device Drivers - Block devices-
Default RAM Disk Size  

Check out the size here.

 

 

On Tue, Feb 2, 2010 at 3:19 AM, Naresh Kansara
nkans...@irvine-sensors.com wrote:

Hello All,

I have two questions.

1.  Is there a limit of 32MB on Ramdisk? I tried to use 64MB size
and I got some errors
2.  Has anybody tried to use two RAMDISK? If yes how to use two
ramdisk?

 

Thank you for your help.

Regards,

Naresh

 

 

Naresh Kansara

Irvine Sensors Corporation

phone: (714)-435-8928

email: nkans...@irvine-sensors.com

 


___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

 

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source