<br><font size=2 face="sans-serif">1. Doing the changes in Linux tree suggested
in http://www.denx.de/wiki/view/DULG/LinuxHangsAfterUncompressingKernel
yields the same result. We already did those changes. </font>
<br>
<br><font size=2 face="sans-serif">2. Here is the procedure how I got the
o/p of printk even if I do not get anything at console.</font>
<br>
<br><font size=2 face="sans-serif">Run u-boot from Trace32</font>
<br><font size=2 face="sans-serif">bootm <addr> // Now
in our case Linux hangs after giving the o/p "## Transferring control
to Linux (at address 00000000) ..."</font>
<br><font size=2 face="sans-serif">stop u-boot //Do not hard reset the
target</font>
<br><font size=2 face="sans-serif">Again run U-Boot from Trace32</font>
<br><font size=2 face="sans-serif">md <addrss of log_buf> //
search for "log_buf" in System.map in Linux tree. You will get
this address.</font>
<br><font size=2 face="sans-serif"><br>
Batsayan Das<br>
Tata Consultancy Services Limited<br>
Mailto: batsayan.das@tcs.com<br>
Website: http://www.tcs.com</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Wolfgang Denk <wd@denx.de></b>
</font>
<br><font size=1 face="sans-serif">Sent by: wd@denx.de</font>
<p><font size=1 face="sans-serif">12/16/2005 03:41 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">batsayan.das@tcs.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">u-boot-users@lists.sourceforge.net,
linuxppc-embedded@ozlabs.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [U-Boot-Users] Help required to
bring up kernel from U-Boot</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>In message <OFB8CF31AB.E132BC0B-ON652570D9.001789DD-652570D9.001A8A99@tcs.com>
you wrote:<br>
><br>
> I copied uImage to location 0x04000000 and the Load Address=0x00000000
<br>
> and Entry point=0x00000000. The bootm 0x04000000 gives the o/p
<br>
> "Transferring Control to Linux" and then nothing comes.
Where is the <br>
> wrong?<br>
<br>
This is a FAQ. Please see http://www.denx.de/wiki/DULG/Faq<br>
<br>
> 1. What are the minimum information Linux needs from U-Boot to come
up <br>
> properly? In the Linux source tree we have put some printk statement
and <br>
> found that base address of SDRAM, size, etc are passed correctly to
Linux <br>
> by U-Boot. <br>
<br>
Be careful with printk() at inappropieate places (i.e. too early).<br>
<br>
But tell me - how where you able to see anthing
with printk if<br>
"nothing comes" as you write above ???<br>
<br>
> 2. Is the info passed from U-Boot is sufficient enough to make the
kernel <br>
> up?<br>
<br>
Yes, of course. It works on thousands of systems.<br>
<br>
> 3. If not, where should I concentrate in Linux tree?<br>
<br>
On your changes.<br>
<br>
And please keep this off the U-Boot list. It is off topic here.<br>
<br>
Best regards,<br>
<br>
Wolfgang Denk<br>
<br>
-- <br>
Software Engineering: Embedded and Realtime Systems, Embedded
Linux<br>
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de<br>
CONSUMER NOTICE: Because of the "Uncertainty
Principle," It Is<br>
Impossible for the Consumer to Find Out
at the Same Time Both<br>
Precisely Where This Product Is and How Fast It Is Moving.<br>
</tt></font>
<br><font size=1 color=white face="sans-serif">ForwardSourceID:NT000081B2
</font>
<br>
<table><tr><td bgcolor=#ffffff><font color=#000000>Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you<br>
</font></td></tr></table>