[U-Boot] Problem while using u-boot for Omap 2430 sdp

Dear Sir / Madam, I have tried using u-boot code for Omap 2430 sdp. after using command, make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
I am able to create boot image u-boot.bin and it also Run in Nor flash of board.
But when i instered on puts(); statement or printf(); statement in icache_enable() function of cpu\arm1136\cpu.c file, Though it gets compile well and it create u-boot.bin image file, It doesnt get execute on Omap 2430 board.
Currently i am debugging this issue but anyone of you know it in advance then please direct me for the same.
Thanks and in advacne for any of your helf.
Vijay V. Kolhal. Lnt Infotech Ltd., Mahape, New Mumbai,
Email :- vijay.kolhal@lntinfotech.com vvk2200@gmail.com Cell No. :- 9920048840
Larsen & Toubro Infotech Ltd. www.Lntinfotech.com
This Document is classified as:
L&T Infotech Proprietary L&T Infotech Confidential L&T Infotech Internal Use Only L&T Infotech General Business
This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
______________________________________________________________________

Vijay Kolhal said the following on 01/02/2009 06:45 AM:
But when i instered on puts(); statement or printf(); statement in icache_enable() function of cpu\arm1136\cpu.c file, Though it gets compile well and it create u-boot.bin image file, It doesnt get execute on Omap 2430 board.
There lies your problem.. icache_enable is called in the boot up sequence before serial initialization or clocks are configured, attempting a puts/printf crashes the system.
Regards, Nishanth Menon
participants (2)
-
Nishanth Menon
-
Vijay Kolhal