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 <<a href="mailto:gvb.uboot@gmail.com">gvb.uboot@gmail.com</a>> 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>
> Dear Friends,<br>
><br>
> I am using u-boot and it is first loading into the ram from flash and<br>
> then starts booting. The problem is its taking a lot of time in loading<br>
> the image from flash to ram and then starts booting from it. Following<br>
> is the output for printenv variables. I am new to u-boot and thus not<br>
> much aware of it. On other board there is redboot installed and it loads<br>
> kernel in just flash and starts booting the kernel.<br>
><br>
> Kindly let me know if you need any information.<br>
><br>
> Thank you,<br>
> Ankur.<br>
><br>
> # printenv<br>
> bootargs=root=/dev/mtdblock2 rw init=/linuxrc console=ttyS0,115200<br>
> mem=32M rootfstype=jffs2<br>
> 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>
<<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>><br>
<br>
Summary: jffs2 is slow. The thread has discussion of various options to<br>
speed up boot time.<br>
<br>
Best regards,<br>
gvb<br>
</blockquote></div><br>