<div dir="ltr">Dear Abu<div style>On our board we have a dedicated register to measure the ticks, right from the "POWER key press".</div><div style>This register is incremented 32567 times every second.</div><div style>
<br></div><div style>We directly read the register with physical address(MMU is not turned on bootloader, during uncompress_kernel MMU& is on but still one on one mapping) values to know the current timing from boot up.</div>
<div style><br></div><div style>I profiled at the places where zImage copying happens & decompress_kernel functions(misc.c) & "restart:" label in head.S. and got the above results.</div><div style><br></div>
<div style>Regards</div><div style>Sandeep.</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 7, 2013 at 1:52 AM, Abu Rasheda <span dir="ltr"><<a href="mailto:rcpilot2010@gmail.com" target="_blank">rcpilot2010@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 class="im">On Wed, Feb 6, 2013 at 3:53 AM, sandeep kumar <span dir="ltr"><<a href="mailto:coolsandyforyou@gmail.com" target="_blank">coolsandyforyou@gmail.com</a>></span> wrote:<br>
</div><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>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>Kernel relocation --- 1msec</div>
<div>Kernel uncompression -- 700msec</div><div>Total time taken --- 900msec approx</div><div><br></div><div>For Image:</div><div>Copy from eMMC to RAM(bootloader) & other stuff in bootloader -- 1400msec</div>
<div><br></div><div>So in case of Uncompressed kernel image.. even though it doesnt need kernel uncompression, it is taking 500msec more in bootloader. </div><div><br></div><div><br></div><div>
Thanks</div><div>Sandeep</div></div></div></div></blockquote><div><br></div></div><div>How did you measure these times ? </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
<div class="gmail_extra"><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><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><font color="#888888"><br>
<br></font></span></div><span><font color="#888888"><div>Dave Hylands<span><font color="#888888"><br></font></span></div></font></span></div><span><font color="#888888">
</font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>With regards,<br>Sandeep Kumar Anantapalli,<br>
</font></span></div>
<br></div>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>With regards,<br>Sandeep Kumar Anantapalli,<br>
</div>