[U-Boot-Users] serial download of uImage

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

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--

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

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

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
participants (3)
-
himbA
-
Stephan Linz
-
Wolfgang Denk