[U-Boot-Users] u-boot O2 issue

Hi all,
I am working on TI's arm926ejs based processor 'DM350'.
I compiled my ported u-boot (1.1.4) and kernel (2.6.18) with open source gcc 4.1.1 tool-chain (downloaded from buildroot).
If I disable O2 flag while compiling the u-boot, I am able to boot the kernel properly.
If I enable O2 flag at the time of u-boot compilation, my kernel hangs after giving message "uncompressing the kernel........".
I suspect some issue with kernel command line passed from u-boot to kernel.
Let me know if anyone of you have come accross this kinf of issue.
Thanks.
Bhavin Patel Einfochips, A'bad, India. bhavin.patel@einfochips.com

Bhavin Patel wrote:
Hi all,
I am working on TI's arm926ejs based processor 'DM350'.
I compiled my ported u-boot (1.1.4) and kernel (2.6.18) with open source gcc 4.1.1 tool-chain (downloaded from buildroot).
If I disable O2 flag while compiling the u-boot, I am able to boot the kernel properly.
If I enable O2 flag at the time of u-boot compilation, my kernel hangs after giving message "uncompressing the kernel........".
I suspect some issue with kernel command line passed from u-boot to kernel.
I rather suspect a toolchain bug here, because I've seen other problems with the toolchain of buildroot.
Let me know if anyone of you have come accross this kinf of issue.
sorry never seen this issue you described in this context.
participants (2)
-
Bhavin Patel
-
Jean-Paul Saman