public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] serial download of uImage
@ 2004-02-09  0:29 himbA
  2004-02-09  8:36 ` Stephan Linz
  2004-02-09 10:36 ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: himbA @ 2004-02-09  0:29 UTC (permalink / raw)
  To: u-boot

Hi
I'm a newbie to u-boot and pretty much to embedded systems.
I have a pxa255 board running 2.4.19 kernel with appropriate patches for 
ARM and xscale and u-boot 1.0.1 as bootloader already installed by 
somebody else (I just got the stuff).
Now, ethernet link is not working yet, due to some issues with SMSC 
LAN91c111 driver for linux, so I would like to use serial link to 
download new kernel image. I've built the kernel and I have uImage ready 
to go. I also have kermit setup according to DULG wiki. I can connect to 
serial port of my board just fine, issue 'loadb offset' and then hit 
ctrl-\c, issue 'send uImage'. this the  response i get:
*************************
SEND-class command failed.
 Packets sent: 2
 Retransmissions: 11
 Timeouts: 7
 Damaged packets: 5
 Fatal Kermit Protocol Error: Too many retries

Is there a cure for this?

Let me also mention thet I'm using USB-rs232 adapter on /dev/ttyUSB0
#l /dev/ttyUSB0
crw-rw----    1 root     uucp     188,   0 2004-02-09 00:14 /dev/ttyUSB0

I'm member of uucp.

Also is it possible to use SMSC LAN91c111 from u-boot to get 
dhcp+tftp+nfs boot working?


regards, himba

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] serial download of uImage
  2004-02-09  0:29 [U-Boot-Users] serial download of uImage himbA
@ 2004-02-09  8:36 ` Stephan Linz
  2004-02-10 13:42   ` himbA
  2004-02-09 10:36 ` Wolfgang Denk
  1 sibling, 1 reply; 5+ messages in thread
From: Stephan Linz @ 2004-02-09  8:36 UTC (permalink / raw)
  To: u-boot

Am Montag,  9. Februar 2004 01:29 schrieb himbA:
> Hi
> I'm a newbie to u-boot and pretty much to embedded systems.
> I have a pxa255 board running 2.4.19 kernel with appropriate patches for
> ARM and xscale and u-boot 1.0.1 as bootloader already installed by

You should use the latest U-Boot version from CVS (1.0.2 or so), bacause 
around 1.0.1 there was an signed/unsigned problem inside U-Boot's LAN91c111 
driver --> result: ethernet doesn't work with full MAC range. In current CVS 
state this problem is fixed already.

> somebody else (I just got the stuff).
> Now, ethernet link is not working yet, due to some issues with SMSC
> LAN91c111 driver for linux, so I would like to use serial link to

What do you mean? Is the ethernet not workung under Linux or U-Boot ?

> --snip--

-- 
Best Regards
Stephan Linz

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] serial download of uImage
  2004-02-09  0:29 [U-Boot-Users] serial download of uImage himbA
  2004-02-09  8:36 ` Stephan Linz
@ 2004-02-09 10:36 ` Wolfgang Denk
  2004-02-10 13:44   ` himbA
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2004-02-09 10:36 UTC (permalink / raw)
  To: u-boot

In message <4026D475.3080809@email.si> you wrote:
>
> I'm a newbie to u-boot and pretty much to embedded systems.
> I have a pxa255 board running 2.4.19 kernel with appropriate patches for 
> ARM and xscale and u-boot 1.0.1 as bootloader already installed by 
> somebody else (I just got the stuff).
> Now, ethernet link is not working yet, due to some issues with SMSC 

As Stefan Linz pointed out it may make sense to try a  newer  version
of U-Boot (top of CVS) whichincludes fixes for the ethernet driver.

> LAN91c111 driver for linux, so I would like to use serial link to 
> download new kernel image. I've built the kernel and I have uImage ready 
> to go. I also have kermit setup according to DULG wiki. I can connect to 
> serial port of my board just fine, issue 'loadb offset' and then hit 
> ctrl-\c, issue 'send uImage'. this the  response i get:

First, did you configure kermit as described in
http://www.denx.de/twiki/bin/view/DULG/SystemSetup#Section_4.3.  ??

Second, try "send /bin uImage" to make sure to use _binary_ transfer mode.

> Also is it possible to use SMSC LAN91c111 from u-boot to get 
> dhcp+tftp+nfs boot working?

Sure. Everything is possible :-) But I have no  idea  how  much  work
will be needed to get this working on your board.

Best regards,

Wolfgang Denk

-- 
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
I haven't lost my mind -- it's backed up on tape somewhere.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] serial download of uImage
  2004-02-09  8:36 ` Stephan Linz
@ 2004-02-10 13:42   ` himbA
  0 siblings, 0 replies; 5+ messages in thread
From: himbA @ 2004-02-10 13:42 UTC (permalink / raw)
  To: u-boot

Stephan Linz wrote:

>Am Montag,  9. Februar 2004 01:29 schrieb himbA:
>  
>
>>Hi
>>I'm a newbie to u-boot and pretty much to embedded systems.
>>I have a pxa255 board running 2.4.19 kernel with appropriate patches for
>>ARM and xscale and u-boot 1.0.1 as bootloader already installed by
>>    
>>
>
>You should use the latest U-Boot version from CVS (1.0.2 or so), bacause 
>around 1.0.1 there was an signed/unsigned problem inside U-Boot's LAN91c111 
>driver --> result: ethernet doesn't work with full MAC range. In current CVS 
>state this problem is fixed already.
>
>  
>
will do so.

>>somebody else (I just got the stuff).
>>Now, ethernet link is not working yet, due to some issues with SMSC
>>LAN91c111 driver for linux, so I would like to use serial link to
>>    
>>
>
>What do you mean? Is the ethernet not workung under Linux or U-Boot ?
>
>  
>
it was not working under linux, u-boot recognised it later due to some 
modifications in my host firewall. I kinda forgot to enable access to 
third sub-net since I addedd new NIC to use for communicating with 
devel. board :).
now it is downloading images right of the tftp server with no sweat.

>>--snip--
>>    
>>
>
>  
>
thanx,

rgds,himba

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot-Users] serial download of uImage
  2004-02-09 10:36 ` Wolfgang Denk
@ 2004-02-10 13:44   ` himbA
  0 siblings, 0 replies; 5+ messages in thread
From: himbA @ 2004-02-10 13:44 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk wrote:

>In message <4026D475.3080809@email.si> you wrote:
>  
>
>>I'm a newbie to u-boot and pretty much to embedded systems.
>>I have a pxa255 board running 2.4.19 kernel with appropriate patches for 
>>ARM and xscale and u-boot 1.0.1 as bootloader already installed by 
>>somebody else (I just got the stuff).
>>Now, ethernet link is not working yet, due to some issues with SMSC 
>>    
>>
>
>As Stefan Linz pointed out it may make sense to try a  newer  version
>of U-Boot (top of CVS) whichincludes fixes for the ethernet driver.
>
>  
>
>>LAN91c111 driver for linux, so I would like to use serial link to 
>>download new kernel image. I've built the kernel and I have uImage ready 
>>to go. I also have kermit setup according to DULG wiki. I can connect to 
>>serial port of my board just fine, issue 'loadb offset' and then hit 
>>ctrl-\c, issue 'send uImage'. this the  response i get:
>>    
>>
>
>First, did you configure kermit as described in
>http://www.denx.de/twiki/bin/view/DULG/SystemSetup#Section_4.3.  ??
>
>  
>
yes.

>Second, try "send /bin uImage" to make sure to use _binary_ transfer mode.
>
>  
>
already tried that...

>>Also is it possible to use SMSC LAN91c111 from u-boot to get 
>>dhcp+tftp+nfs boot working?
>>    
>>
>
>Sure. Everything is possible :-) But I have no  idea  how  much  work
>will be needed to get this working on your board.
>
>Best regards,
>
>Wolfgang Denk
>
>  
>
i got a hint from a guy that setup running system, that serial interface 
is not configured to be used for serial download with u-boot, on that 
board :(
anyways, i'll have alook later, but since my eth interface is up and 
running i'm not in a hurry.

rgds.himba

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-02-10 13:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-09  0:29 [U-Boot-Users] serial download of uImage himbA
2004-02-09  8:36 ` Stephan Linz
2004-02-10 13:42   ` himbA
2004-02-09 10:36 ` Wolfgang Denk
2004-02-10 13:44   ` himbA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox