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

Reply via email to