[uClinux-dev] FEC freezes on m5235evb from flash

Greg Ungerer gerg at snapgear.com
Tue Oct 18 20:27:47 EDT 2005


Hi Stefano,

Stefano Caioli wrote:
> Ok, i've done some trivial debug an i found that the problem is in
> file fec.c function fec_enet_init.
> The system freezes when trying the instruction:
> 
> fecp->fec_r_des_active = 0x01000000;
> 
> Hope this could help  a solution.

That setting is done in a number of places, which exact one
do you think is causing your problem?

Regards
Greg




> 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/
> 
> _______________________________________________
> 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
> 

-- 
------------------------------------------------------------------------
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



More information about the uClinux-dev mailing list