<div dir="ltr"><div style>Dear All</div>FYI:<div>I got the below data in my board...<div>For Zimage:</div><div>Copy from eMMC to RAM(bootloader) & other stuff in bootloader -- 200msec<br><div style>Kernel relocation --- 1msec</div>
<div style>Kernel uncompression -- 700msec</div><div style>Total time taken --- 900msec approx</div><div style><br></div><div style>For Image:</div><div style>Copy from eMMC to RAM(bootloader) & other stuff in bootloader -- 1400msec</div>
<div style><br></div><div style>So in case of Uncompressed kernel image.. even though it doesnt need kernel uncompression, it is taking 500msec more in bootloader. </div><div style><br></div><div style><br></div><div style>
Thanks</div><div style>Sandeep</div><div style><br></div><div style><br></div><div style><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 31, 2013 at 12:46 PM, Dave Hylands <span dir="ltr"><<a href="mailto:dhylands@gmail.com" target="_blank">dhylands@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi Sandeep<div class="im"><br><br><br>On Wed, Jan 30, 2013 at 6:35 PM, sandeep kumar <<a href="mailto:coolsandyforyou@gmail.com" target="_blank">coolsandyforyou@gmail.com</a>> wrote:<br>
><br>> Hi Dave.<br>
> Ok<br>> Can you tell me which thing runs faster ?<br>> 1)Copy zImage(compressed kernel) from flash to Ram, jump to start, Relocate compress kernel, uncompress it...<br>> 2)Copy Image(uncompressed one) from flash to RAM and run it right away...<br>
><br>> My gut feeling says second one is better, thats what i m trying to prove here... :)<br><br></div></div>It depends on numerous factors:<br></div>1 - Your flash speed<br></div>2 - Your RAM speed<br></div>3 - Your CPU speed<br>
</div><div>4 - Whether you have code and/or data caches enabled<br></div><br></div>If you enable the caches, use DMA from NAND (so make your NAND as fast as possible), then option 1 usually blows away option 2, but your mileage may vary.<span class="HOEnZb"><font color="#888888"><br>
<br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Dave Hylands<br></div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>With regards,<br>Sandeep Kumar Anantapalli,<br>
</div>