This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: redboot and Ethernet
- From: Gary Thomas <gary at mlbassoc dot com>
- To: "pb.jack" <pb dot jack at powerbase dot com dot tw>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 05 Aug 2004 10:38:05 -0600
- Subject: Re: [ECOS] redboot and Ethernet
- Organization: MLB Associates
- References: <FD36A54D93F5AF4E816F6AFBD22B4734066860@master1.powerbase.com.tw>
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