This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

uncompressed kernel boot time

Hi TI,

I'm working on DRA7XX evm. I'm following below link to setup my work environment.

http://www.omappedia.org/wiki/6AJ.1.2_Release_Notes.

Now I'm creating the uImage with uncompressed kernel image "arch/arm/boot/Image"  as follows.

1.  gzip arch/arm/boot/Image ==> It will create the Image.gz

2. mkimage -A arm -O linux -C gzip  -T kernel -a 0x80008000 -e 0x80008000 -n 'Linux-3.8.13' -d arch/arm/boot/Image.gz arch/arm/boot/uImage  ==> which will create the uImage.

when I boot this uImage in u-boot with bootm command, It will decompress in  the u-boot and it will run the uncompressed image.

The logs are as follows.

[14.159988 0.005029]    Using Device Tree in place at 81f80000, end 81f8ac2c
[14.165923 0.005935]
[14.165951 0.000028] Starting kernel ...
[14.167919 0.001968]
[15.256927 1.089008] [    0.000000] Booting Linux on physical CPU 0x0
[15.261913 0.004986] [    0.000000] Linux version 3.8.13-dirty (ramappa@Ramappa-HP-xw4600-Workstation) (gcc version 4.7 (GCC) ) #7 SMP PREEMPT Tue Jan 28 15:26:48 IST 2014
[15.275913 0.014000] [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c53c7d

In u-boot itself we have done decompression and running the uncompressed kernel Image.

but still it is taking 1.089(highlighted time in log) after starting the kernel.

Why it is taking this much time, for uncompressed kernel.

During this time what it is doing.

I tried to check in the code, It is all in assembly  and even I'm not getting it properly. (one thing is sure, it is not doing any decompression, checked in  (arch/arm/boot/compressed/head.S)).

Kindly give some good information or links on this.

Thanks in advance for you help.

Thanks

Ramappa