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: Ethernet MAC address is all zeros


On Thu, 2004-05-27 at 15:42, Paul Randall wrote:
> Hi All,
> 
> I have recently encountered a problem with the eCos network 
> initialization.  During initialization, I get the message:
> 
> [cyg_net_init] Init: cyg_net_init_devs(0x00000000)
> Init device 'fec_eth'
> Request for config value '' - wrong type
> 
> and when the bootp record comes up, I see:
> 
>        hw_addr: 00:00:00:00:00:00
> 
> This used to work, so I am guessing RedBoot has been changed since the 
> version I have (July 11, 2003) which causes eCos to fail when trying to 
> read the MAC address.  Do I have to rebuild RedBoot with the latest 
> sources to fix this problem?

Yes.  [Sadly] I introduced such a dependency earlier this year when
I added support for 'fconfig' access from eCos.

> 
> Paul Randall
> Delta Digital Video
> 
> +Ethernet eth0: MAC address 00:0f:5b:00:00:02
> IP: 206.234.219.59/255.255.255.224, Gateway: 206.234.219.36
> Default server: 206.234.219.58, DNS server IP: 0.0.0.0
>                                                                                
>  
> RedBoot(tm) bootstrap and debug environment [ROMRAM]
> Non-certified release, version UNKNOWN - built 16:42:31, Jul 11 2003
>                                                                                
>  
> Platform: A&M VIPER (PowerPC 860)
> Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
>                                                                                
>  
> RAM: 0x00000000-0x00800000, 0x0003dac8-0x007e1000 available
> FLASH: 0xfe000000 - 0xfe400000, 64 blocks of 0x00010000 bytes each.
> == Executing boot script in 1.000 seconds - enter ^C to abort
> RedBoot> fis load mod2120
> RedBoot> go
> [cyg_net_init] Init: mbinit(0x00000000)
> [cyg_net_init] Init: cyg_net_init_devs(0x00000000)
> Init device 'fec_eth'
> Request for config value '' - wrong type

******** This tells you what happened - your driver couldn't get the ESA
from the RedBoot 'fconfig' database.

> [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(0x0009835c)
> New domain internet at 0x00000000
> [cyg_net_init] Init: cyg_net_add_domain(0x00097dd4)
> New domain route at 0x00000000
> [cyg_net_init] Init: call_route_init(0x00000000)
> [cyg_net_init] Done
>                                                                                
>  
> BOOTP[eth0] op: REPLY
>        htype: Ethernet
>         hlen: 6
>         hops: 0
>          xid: 0x0
>         secs: 0
>      d : finished
>   flags: 0x0
>        hw_addr: 00:00:00:00:00:00
>      client IP: 206.234.219.59
>          my IP: 206.234.219.59
>      server IP: 0.0.0.0
>     gateway IP: 206.234.219.36
>   options:
>         subnet mask: 255.255.255.224
>        IP broadcast: 0.0.0.0
>             gateway: 206.234.219.36
> IP Address : 206.234.219.59
> Netmask    : 255.255.255.224
> Starting HTTP Server
> Network Configured
> Routing tables
> Destination     Gateway         Mask            Flags    Interface
> 0.0.0.0         206.234.219.36  0.0.0.0         UG       eth0
> 206.234.219.32  206.234.219.32  255.255.255.224 U        eth0
> Interface statistics
> eth0    IP: 206.234.219.59, Broadcast: 0.0.0.0, Netmask: 255.255.255.224
>         UP BROADCAST RUNNING MULTICAST MTU: 1500, Metric: 0
>         Rx - Packets: 0, Bytes: 0, Tx - Packets: 0, Bytes: 0
> Route - dst: 0.0.0.0, mask: 0.0.0.0, gateway: 206.234.219.36
-- 
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]