[uClinux-dev] FEC freezes on m5235evb from flash

Stefano Caioli caioli at infstudio.it
Tue Oct 18 03:40:51 EDT 2005


Hi Greg,
When i boot from ram i get:

FEC ENET Version 0.2
eth0: ethernet 00:cf:52:35:cf:fec: PHY @ 0x1f, ID 0x00221619 -- KS8721BL
01
PPP generic driver version 2.4.2
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)

instead of:

FEC ENET Version 0.2

As you can see the part "eth0: ethernet......" is missing at all.
I suppose that somenting goes wrong in the fec.c under linux-2.6.x/drivers/net.
Perhaps someting about memory allocation. I'm trying to find out right now.
Any advice will be gratefully accepted.
Thanks.
Regards,


               Stefano








On Tue, 18 Oct 2005 16:44:20 +1000, Greg Ungerer wrote
> Hi Stefano,
> 
> Stefano Caioli wrote:
> > Hi all,
> > I'm trying to boot uClinux from flash, but on FEC init the system freezes.
> > If i execute the same image from ram it works.
> > Any suggestions?
> > Thanks.
> > 
> >              Stefano.
> > 
> > This is the output:
> > 
> > uClinux/COLDFIRE(m523x)
> > COLDFIRE port done by Greg Ungerer, gerg at snapgear.com
> > Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
> > Motorola M5235EVB support (C)2005 Syn-tech Systems, Inc. (Jate Sujjavanich)<7>O6Built 1
> > zonelists
> > Kernel command line: root=1f00
> > PID hash table entries: 128 (order: 7, 2048 bytes)
> > Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
> > Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
> > Memory available: 14616k/16384k RAM, 0k/0k ROM (866k kernel code, 147k data)
> > Mount-cache hash table entries: 512
> > NET: Registered protocol family 16
> > i8042.c: i8042 controller self test timeout.
> > ColdFire internal UART serial driver version 1.00
> > ttyS0 at 0x40000200 (irq = 77) is a builtin ColdFire UART
> > ttyS1 at 0x40000240 (irq = 78) is a builtin ColdFire UART
> > io scheduler noop registered
> > io scheduler cfq registered
> > RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> > FEC ENET Version 0.2
> 
> When you RAM boot what is the next kernel subsystem to print
> out messages?
> 
> If it is MTD then it may be that the MTD flash probe is killing
> your kernel running from flash...
> 
> Regards
> Greg
> 
> ------------------------------------------------------------------------
> Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg at snapgear.com
> SnapGear -- a CyberGuard Company            PHONE:       +61 7 3435 2888
> 825 Stanley St,                             FAX:         +61 7 3891 3630
> Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org


**********************************

InfStudio
Consulenza Informatica e Elettronica
Via Pisana 267A/r
50142 Firenze
http://www.infstudio.it/




More information about the uClinux-dev mailing list