public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Issue with VIA Rhine II ethernet Driver on I386 platform in latest code base.
@ 2005-07-12 10:34 Sriramkumar Raju
  2005-07-12 11:38 ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: Sriramkumar Raju @ 2005-07-12 10:34 UTC (permalink / raw)
  To: ecos-discuss

Hi,
     I had ported RedBoot to i386 platform having VIA Rhine II
Ethernet controller. It is working well with the code base that I got
from "http://safariexamples.informit.com/0130354732/".

I took the latest eCOS code base from
"http://ecos.sourceware.org/anoncvs.html" by executing the command
"cvs -z3 -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos co -P
ecos".
I did the porting of the VIA Rhine driver to the i386 platform in
latest code base. The system failed to boot. So i tried to debug it by
enabling the DEBUG in Rhine driver and some more diag_printf
statements. So after adding debug I got the system booting and got
DHCP ip address from the DHCP server. I am able to telnet to the
target.

I want to know what might be reason that makes my system to come up
once I add the debug message. Do I need to change the memory
configuration of my system while porting the driver to i386 platform?

Does any one faced similar problem. What I forgot to do while porting
VIA Rhine to i386 platform? Does any one know what is needs to be done
while porting any driver to RedBoot or ECOS platform on i386 target.

Kindly help me if anyone aware of this issue.

Regards,
Sriram.R

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] Issue with VIA Rhine II ethernet Driver on I386 platform in latest code base.
  2005-07-12 10:34 [ECOS] Issue with VIA Rhine II ethernet Driver on I386 platform in latest code base Sriramkumar Raju
@ 2005-07-12 11:38 ` Andrew Lunn
  2005-07-14  7:45   ` Sriramkumar Raju
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Lunn @ 2005-07-12 11:38 UTC (permalink / raw)
  To: Sriramkumar Raju; +Cc: ecos-discuss

On Tue, Jul 12, 2005 at 04:02:39PM +0530, Sriramkumar Raju wrote:
> Hi,
>      I had ported RedBoot to i386 platform having VIA Rhine II
> Ethernet controller. It is working well with the code base that I got
> from "http://safariexamples.informit.com/0130354732/".
> 
> I took the latest eCOS code base from
> "http://ecos.sourceware.org/anoncvs.html" by executing the command
> "cvs -z3 -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos co -P
> ecos".
> I did the porting of the VIA Rhine driver to the i386 platform in
> latest code base. The system failed to boot. So i tried to debug it by
> enabling the DEBUG in Rhine driver and some more diag_printf
> statements. So after adding debug I got the system booting and got
> DHCP ip address from the DHCP server. I am able to telnet to the
> target.
> 
> I want to know what might be reason that makes my system to come up
> once I add the debug message. Do I need to change the memory
> configuration of my system while porting the driver to i386 platform?

The debug messages might have changed the timing such that some
hardware dependant timing works with the debug messages and not
without them. What you can try to do is slowly remove the debug
messages and see which one is critcal. That might give you a clue as
to while bit of code is causing the problem.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] Issue with VIA Rhine II ethernet Driver on I386 platform in latest code base.
  2005-07-12 11:38 ` Andrew Lunn
@ 2005-07-14  7:45   ` Sriramkumar Raju
  0 siblings, 0 replies; 3+ messages in thread
From: Sriramkumar Raju @ 2005-07-14  7:45 UTC (permalink / raw)
  To: Sriramkumar Raju, ecos-discuss

Thanks Andrew it worked after adding some delay.

On 7/12/05, Andrew Lunn <andrew@lunn.ch> wrote:
> On Tue, Jul 12, 2005 at 04:02:39PM +0530, Sriramkumar Raju wrote:
> > Hi,
> >      I had ported RedBoot to i386 platform having VIA Rhine II
> > Ethernet controller. It is working well with the code base that I got
> > from "http://safariexamples.informit.com/0130354732/".
> >
> > I took the latest eCOS code base from
> > "http://ecos.sourceware.org/anoncvs.html" by executing the command
> > "cvs -z3 -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos co -P
> > ecos".
> > I did the porting of the VIA Rhine driver to the i386 platform in
> > latest code base. The system failed to boot. So i tried to debug it by
> > enabling the DEBUG in Rhine driver and some more diag_printf
> > statements. So after adding debug I got the system booting and got
> > DHCP ip address from the DHCP server. I am able to telnet to the
> > target.
> >
> > I want to know what might be reason that makes my system to come up
> > once I add the debug message. Do I need to change the memory
> > configuration of my system while porting the driver to i386 platform?
> 
> The debug messages might have changed the timing such that some
> hardware dependant timing works with the debug messages and not
> without them. What you can try to do is slowly remove the debug
> messages and see which one is critcal. That might give you a clue as
> to while bit of code is causing the problem.
> 
>         Andrew
>

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2005-07-14  7:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-12 10:34 [ECOS] Issue with VIA Rhine II ethernet Driver on I386 platform in latest code base Sriramkumar Raju
2005-07-12 11:38 ` Andrew Lunn
2005-07-14  7:45   ` Sriramkumar Raju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).