Frank Wei

ETH problem of ColdFire M5445EVB

Discussion created by Frank Wei on Apr 24, 2008
Latest reply on May 4, 2008 by Frank Wei
Hi,
We just bought a ColdFire M5445EVB board for our new project. I have a question about the ETH interface. Basically M5445EVB board has two ETH ports ETH0 and ETH1. When boot the board, only the ETH0 as the default is initialized the ETH1 is never initialized by the linux.

My question is how to active ETH1?

I've also captured the some info when the board boots up:

U-Boot 1.2.0 (Dec 13 2007 - 19:16:19)                                    

CPU:   Freescale MCF54455 (Mask:48 Version:1)                                            
       CPU CLK 266 Mhz BUS CLK 133 Mhz FLB CLK 33 Mhz                                                    
       INP CLK 33 Mhz VCO CLK 533 Mhz                                    
Board: Freescale M54455 EVB                          
I2C:   ready           
DRAM:  256 MB            
FLASH: 16.5 MB             
In:    serial            
Out:   serial            
Err:   serial            
Net:   FEC0 [PRIME], FEC1                        
IDE:   Bus 0: not available                          
-> bootm 0         
## Booting image at 00000000 ...                               
   Image Name:   Linux Kernel Image                                  
   Created:      2007-12-14   2:21:11 UTC                                        
   Image Type:   M68K Linux Kernel Image (uncompressed)                                                     
   Data Size:    2940928 Bytes =  2.8 MB                                       
   Load Address: 40020000                        
   Entry Point:  40020000                        
   Verifying Checksum ... OK                           
OK 
Bumping USB Priority                   
Linux version 2.6.23 (kmahan@pixie) (gcc version 4.2.0 20070318 (prerelease) (So                                                                               
urcery G++ Lite 4.2-35)) #1 Thu Dec 13 19:20:47 MST 2007                                                       
starting up linux startmem 0xc02ee000, endmem 0xcfffffff,               size 253                                                                               
MB 
console [ttyS0] enabled                      
Built 1 zonelists in Zone order.  Total pages: 32624                                                   
Kernel command line: root=/dev/mtdblock1 rw rootfstype=jffs2 ip=none mtdp                                                                       
ysmap-flash.0:5M(kernel)ro,-(jffs2)                                  
PID hash table entries: 1024 (order: 10, 4096 bytes)                                                   
Console: colour dummy device 80x25                                 
Dentry cache hash table entries: 32768 (order: 4, 131072 bytes)                                                              
Inode-cache hash table entries: 16384 (order: 3, 65536 bytes)                                                            
Memory: 257384k/257632k available (2008k kernel code, 2416k data, 80k init)                                                                          
Mount-cache hash table entries: 1024                                   
NET: Registered protocol family 16                                 
MCF5445x INIT_DEVICES                    
usb: OTG Host registered                       
usb: OTG Gadget registered                         
SCSI subsystem initialized                         
usbcore: registered new interface driver usbfs                                             
usbcore: registered new interface driver hub                                           
usbcore: registered new device driver usb                                        
NET: Registered protocol family 2                                
IP route cache hash table entries: 2048 (order: 0, 8192 bytes)                                                             
TCP established hash table entries: 8192 (order: 3, 65536 bytes)                                                               
TCP bind hash table entries: 8192 (order: 2, 32768 bytes)                                                        
TCP: Hash tables configured (established 8192 bind 8192)                                                       
TCP reno registered                  
NTFS driver 2.1.28 [Flags: R/W].                               
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.                                                   
io scheduler noop registered                           
io scheduler anticipatory registered                                   
io scheduler deadline registered                               
io scheduler cfq registered (default)                                    
ColdFire internal UART serial driver version 1.00                                                
ttyS0 at 0xfc060000 (irq = 90) is a builtin ColdFire UART                                                        
ttyS1 at 0xfc064000 (irq = 91) is a builtin ColdFire UART                                                        
ttyS2 at 0xfc068000 (irq = 92) is a builtin ColdFire UART                                                        
RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize                                                                     
loop: module loaded                  
FEC ENET Version 0.2                   
fec: PHY @ 0x0, ID 0x20005ca2 -- DP83849                                       
eth0: ethernet 00:04:9f:00:8e:ef                               
physmap platform flash device: 01000000 at 00000000                                                  
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank                                                        
 Intel/Sharp Extended Query Table at 0x0031                                          
Using buffer write method                        
cfi_cmdset_0001: Erase suspend on write enabled                                              
2 cmdlinepart partitions found on MTD device physmap-flash.0                                                           
Creating 2 MTD partitions on "physmap-flash.0":                                              
0x00000000-0x00500000 : "kernel"                               
mtd: Giving out device 0 to kernel                                 
0x00500000-0x01000000 : "jffs2"                              
mtd: Giving out device 1 to jffs2                                
ColdFire-eDMA: initialized successfully                                      
SPI: Coldfire master initialized                               
ssi_audio: Probed successfully                             
Initializing USB Mass Storage driver...                                      
usbcore: registered new interface driver usb-storage                                                   
USB Mass Storage support registered.                                   
mice: PS/2 mouse device common for all mice                                          
DES & 3DES ColdFire CAU driver v0.01 registered.                                               
AES ColdFire CAU driver v0.01 registered.                                        
MD5 ColdFire CAU driver v0.01 registered.                                        
SHA1 ColdFire CAU driver v0.01 registered.                                         
usbcore: registered new interface driver usbhid                                              
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver                                                      
TCP cubic registered                   
NET: Registered protocol family 1                                
NET: Registered protocol family 17                                 
NET: Registered protocol family 15                                 
VFS: Mounted root (jffs2 filesystem).                                    
free_initmem: __init_begin = 0xc02d8000  __init_end = 0xc02ec000                                                               
Setting the hostname to freescale                                
Mounting /proc and /sys                      
Mounting filesystems                   
mount: Mounting  on swap        swap    defaults          0       0 failed: No s                                                                               
uch file or directory                    
Starting syslogd and klogd                         
Setting up networking on l                       
Setting up networking on eth0:                             
udhcpc (v0.9.9-pre) started                          
eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.                                                               
Sending discover...                  
Sending discover...                  
Sending discover...                  
No lease, forking to background.                               
Starting inetd:              
Starting the boa webserver:                          
 _____                             _                                   
|  ___| __ ___  ___  ___  ___ __ _| | ___                                      
| |_ | '__/ _ \/ _ \/ __|/ __/ _` | |/ _ \
|  _|| | |  __/  __/\__ \ (_| (_| | |  __/
|_|  |_|  \___|\___||___/\___\__,_|_|\___|
 __  __ ____  _  _   _  _  ____ ____  _______     ______
|  \/  | ___|| || | | || || ___| ___|| ____\ \   / / __ )
| |\/| |___ \| || |_| || ||___ \___ \|  _|  \ \ / /|  _ \
| |  | |___) |__   _|__   _|__) |__) | |___  \ V / | |_) |
|_|  |_|____/   |_|    |_||____/____/|_____|  \_/  |____/
 ____  _____ __  __  ___
|  _ \| ____|  \/  |/ _ \
| | | |  _| | |\/| | | | |
| |_| | |___| |  | | |_| |
|____/|_____|_|  |_|\___/

To access the web server please use IP address below:

To play an MP3 file:
  1. get list of MP3 files by
     ls /home/*.mp3
  2. to play:
     mp3play <file-name>


/ #
Many thanks,



Message Edited by forums-frank on 2008-04-24 05:31 AM

Outcomes