<div>Hi All,</div>
<div> I am a new member to this mailing list.</div>
<div> </div>
<div> I am porting u-boot to a arm926ej board. I have a serial port which I am trying to use to download a binary image. But I am not able to do so. I am trying to use loadb and loads and both seems to be failing.</div>
<div> </div>
<div>Here is a typical sequence i followed</div>
<div> 1) Boot-up the board</div>
<div> 2) Connected to Hyperterminal (tried minicom, cu, kermit and dnw) with 8N1 and hw-flw control as "none".</div>
<div> 3) at u-boot command prompt gave following command</div>
<div> => loadb 0x60008000 115200</div>
<div> 4) From hyperterminal, Transfer->send file with protocol as kermit, selected the file and tried sending, but failed. Everytime hyperterminal poped up "error limit exceeded".</div>
<div> </div>
<div># loadb<br>## Ready for binary (kermit) download to 0x60008000 at 115200 bps..</div>
<div> </div>
<div> When tried looking the point where it is geting stuck, I saw u-boot waiting in the while loop looking for the 'START_CHAR' in the following section of code:</div>
<div> </div>
<div>k_recv(){</div>
<div>.....</div>
<div>....</div>
<div> for (;;) {<br> switch (getc ()) {<br> case START_CHAR: /* start packet */<br> goto START;<br> case ETX_CHAR: /* ^C waiting for packet */<br> return (0);<br> default:
<br> ;<br> }<br> }<br>....</div>
<div>...</div>
<div>}</div>
<div> </div>
<div> I am not sure how to use 'loadb' and 'loads'. Read a few docs about uses though, none explained what needs to be done in implementation part.</div>
<div> </div>
<div> Can anyone give me some pointer, as in, any board which has implemeted and using any of the commands? What might have gone wrong here??</div>
<div> </div>
<div>Or any other commands I can use for serial download of binary image?</div>
<div> </div>
<div>Thanks in advance</div>
<div>Banajit</div>
<div> </div>