This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: redboot and Ethernet


On Thu, 2004-08-05 at 10:33, pb.jack wrote:
> Hi,
> I'm confuse by the behaves of redboot and ecos, I'm running "Twin Head"
> from RAM and see some Ethernet initialize procedure as I start the test
> program, is this a normal procedure? I suppose the Ethernet initialize
> shall be finish just after power-on.
> The following is what I got from the Hyper Terminal:
> 
> RedBoot> go 0x20000
>  PhyStatus is LINK FDX 100MBit (0x7)
>  [cyg_net_init] Init: loopattach(0x00000000)
>  [cyg_net_init] Init: ifinit(0x00000000)
>  [cyg_net_init] Init: domaininit(0x00000000)
>  [cyg_net_init] Init: cyg_net_add_domain(0x000574d0)
>  New domain internet at 0x00000000
>  [cyg_net_init] Init: cyg_net_add_domain(0x00056f84)
>  New domain route at 0x00000000
>  [cyg_net_init] Init: call_route_init(0x00000000)
>  [cyg_net_init] Done
>  Entering twothreads' cyg_user_start() function
>  Beginning execution; thread data is 0
>  Beginning execution; thread data is 1
>  Thread 0: and now a delay of 239 clock ticks
>  Thread 1: and now a delay of 230 clock ticks
> 

Yes, this is the default behaviour.  If you have a network 
configuration, then the basic network stack is initialized prior 
to running any application threads, whether your application actually
uses networking or not.

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]