Results 1 to 1 of 1
Hi all, I am working on SH4 architecture. I observed one strange thing. Each time i build my kernel image (uImage) the last 10% of the uImage content is changing. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-20-2008 #1
- Join Date
- Oct 2008
Kernel image different each time i compile kernel
I am working on SH4 architecture. I observed one strange thing. Each time i build my kernel image (uImage) the last 10% of the uImage content is changing. I compared uImages using diff command and with Beyond Compare tool, which i did using binary as well as rule based comparison with time stamp comparison disabled. I observed that every time when i build the kernel image the lower 10% of the uImage differ from the previously build uImage (build with in 20 min before the last one). Can any one help me to know the reason behind this behavior? I want to know more about the format of uImage and what exactly the lower 10% contains? i searched in various sites and referred the documentation of U-boot. But i dint get the reason for this behavior. I did the same comparison with vmlinux and vmlinux.bin and i observed that each time i build these vmlinux and vimlinux.bin they differ from the previous images (which i build 20 min before the last one ) by a max of 10 lines.
When i opened two vimlinux images (which i build with in a time gap of 20 min)using the readelf command. I observed that there is no difference at all in the readelf output.
I tried the same thing with i386 kernel, here also i observed that each time i build the kernel , vmlinux and bzImage are different compared to the previously build images. I hope some time related things are happening while building the kernel. Can any one explain me why this is happening?
Please help me to understand this.