Any way to do time keeping during kernel uncompression[ARM architecture]

Dave Hylands dhylands at gmail.com
Wed Jan 30 20:55:08 EST 2013


Hey sandeep,


On Wed, Jan 30, 2013 at 5:30 PM, sandeep kumar <coolsandyforyou at gmail.com>
wrote:
>
> Hi All
> On ARM, Just for learning i am working on booting with uncompressed
kernel.
>
> I am meddling with arch/arm/boot/compressed/head.S, and understand the
relocation/decompression stuff through putting some logs.
>
> I want to check how much time it takes for kernel to relocate itself and
how much time it takes to decompress etc.,
>
> Is there any possibility of seeing the current time stamp here, like a
register which keeps on counting immediately after boot..

You're essentially running at the bootloader level here. You haven't
started the kernel so the only timers that you have are whatever your
bootloader has setup, or whatever you want to setup yourself (bare-metal
programming here).

--
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130130/ef905570/attachment.html 


More information about the Kernelnewbies mailing list