This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Redboot network setup
- To: 'Robin Farine' <acnrf at dial dot eunet dot ch>, Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Subject: RE: [ECOS] Redboot network setup
- From: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Date: Wed, 19 Sep 2001 21:35:47 -0700
- Cc: 'Jonathan Larmour' <jlarmour at redhat dot com>, "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
> -----Original Message-----
> From: Robin Farine [mailto:acnrf@dial.eunet.ch]
> Subject: Re: [ECOS] Redboot network setup
>
>
> Shouldn't the error case call eth_drv_msg_put(ð_msg_free, msg)?
>
> + if(msg->len > len || msg->len < 14){
> + diag_printf("ETHERNET PACKET ERROR:
> msg->len <0 or > len\n");
> + eth_drv_msg_put(ð_msg_free, msg);
> + return 0;
> + }
>
> Robin
Yes probably, i'm not sure, it seems to works better ...somewhat
But anyway I'm still not able to use gdb through TCP/IP. It connects, then I
have a few ETHERNET PACKET ERROR on the serial console. I Try to load but:
(gdb) load
Loading section .rom_vectors, size 0x40 lma 0x20000
Error: Remote communication error: Connection reset by peer.
I'm not sure what's going on, but may be there is some problem in the
Integrator HAL i'm using.
--
Fabrice Gautier
Software Engineer, Sigma Designs
Fabrice_Gautier@sdesigns.com