Dear Jerry Van Baren,<br><br>Thanks for your kind and quick response.<br><br>I read the thread and it is going to be very useful to me. Can we use DMA to load image from flash to ram ?<br><br>Currently I am using following command to load kernel image from flash to ram,<br>
<br>bootcmd=nand read.jffs2 0x30007FC0 0x80000 0x153000;bootm 0x30007FC0<br><br>Can someone suggest me better way to quicker the process?<br><br>Thank you,<br>Ankur.<br><br><div class="gmail_quote">On Wed, Feb 27, 2008 at 8:09 AM, Jerry Van Baren &lt;<a href="mailto:gvb.uboot@gmail.com">gvb.uboot@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">conn intel wrote:<br>
&gt; Dear Friends,<br>
&gt;<br>
&gt; I am using u-boot and it is first loading into the ram from flash and<br>
&gt; then starts booting. The problem is its taking a lot of time in loading<br>
&gt; the image from flash to ram and then starts booting from it. Following<br>
&gt; is the output for printenv variables. I am new to u-boot and thus not<br>
&gt; much aware of it. On other board there is redboot installed and it loads<br>
&gt; kernel in just flash and starts booting the kernel.<br>
&gt;<br>
&gt; Kindly let me know if you need any information.<br>
&gt;<br>
&gt; Thank you,<br>
&gt; Ankur.<br>
&gt;<br>
&gt; # printenv<br>
&gt; bootargs=root=/dev/mtdblock2 rw init=/linuxrc console=ttyS0,115200<br>
&gt; mem=32M rootfstype=jffs2<br>
&gt; bootcmd=nand read.jffs2 0x30007FC0 0x80000 0x300000;bootm 0x30007FC0<br>
<br>
</div>Hi Ankur,<br>
<br>
I have no experience with NAND/jffs2, but the following thread probably<br>
applies:<br>
&lt;<a href="http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/32434" target="_blank">http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/32434</a>&gt;<br>
<br>
Summary: jffs2 is slow. &nbsp;The thread has discussion of various options to<br>
speed up boot time.<br>
<br>
Best regards,<br>
gvb<br>
</blockquote></div><br>