[U-Boot] omap4 EHCI support and SMSC95xx support on panda

Peter Meerwald pmeerw at cosy.sbg.ac.at
Thu May 26 22:52:58 CEST 2011


Hello,

I am trying to get tftp working on the pandaboard; I am testing Simon's v6 
patch series and Gilles EHCI patches

doc/README.sub claims that the SMSC driver supports usbethaddr, I do not 
see this

smsc95xx_init_mac_address() fails to get the hwaddr from eeprom and then 
it should do 
    if (eth_getenv_enetaddr_by_index("usbeth", 0, eth->enetaddr)) {
        debug("MAC address read from usbethaddr\n");
        return 0;
    }
which is missing?


this is what I get after fixing the usbethaddr issue -- any ideas?

U-Boot 2011.06-rc1-00004-g1822426-dirty (May 26 2011 - 22:36:28)

CPU  : OMAP4430
Board: OMAP4 Panda                                                              
I2C:   ready                                                                    
DRAM:  512 MiB                                                                  
MMC:   OMAP SD/MMC: 0                                                           
Using default environment                                                       
                                                                                
In:    serial                                                                   
Out:   serial                                                                   
Err:   serial                                                                   
Net:   No ethernet found.                                                       
Hit any key to stop autoboot:  0                                                
Panda # set usbethaddr 0:0:1:2:3:4                                              
Panda # usb start                                                               
(Re)start USB...                                                                
USB:   Register 1313 NbrPorts 3                                                 
USB EHCI 1.00                                                                   
scanning bus for devices... The request port(2) is not configured               
The request port(2) is not configured                                           
3 USB Device(s) found                                                           
       scanning bus for ethernet devices...                                     
                                                                                
USB Ethernet device detected                                                    
Endpoints In 1 Out 2 Int 3                                                      
** smsc95xx_eth_get_info()                                                      
1 Ethernet Device(s) found                                                      
Panda # ping 192.168.1.1                                                        
** smsc95xx_halt()                                                              
** smsc95xx_init()                                                              
No EEPROM present                                                               
MAC address read from usbethaddr                                                
** smsc95xx_write_hwaddr()                                                      
MAC 00:00:01:02:03:04                                                           
Read Value from HW_CFG : 0x00000000                                             
Read Value from HW_CFG after writing HW_CFG_BIR_: 0x00001000                    
rx_urb_size=18944                                                               
Read Value from BURST_CAP after writing: 0x00000025                             
Read Value from BULK_IN_DLY after writing: 0x00002000                           
Read Value from HW_CFG: 0x00001000                                              
Read Value from HW_CFG after writing: 0x00001022                                
ID_REV = 0xec000002                                                             
COE_CR = 0x00000000                                                             
phy initialised succesfully                                                     
Waiting for Ethernet connection... done.                                        
Using sms0 device                                                               
** smsc95xx_send(), len 42, buf 0x9febf80c                                      
Tx: len = 50, actual = 50, err = 0                                              
** smsc95xx_recv()                                                              
Rx: len = 2048, actual = 68, err = 0                                            
** smsc95xx_send(), len 42, buf 0x9febf7cc                                      
Tx: len = 50, actual = 50, err = 0                                              
** smsc95xx_recv()                                                              
EHCI timed out on TD - token=0x88008d80                                         
Rx: len = 2048, actual = 50, err = -1                                           
Rx: failed to receive                                                           
** smsc95xx_halt()                                                              
ping failed; host 192.168.1.1 is not alive                                      
Panda # 



sorry if I got something wrong, I hope I am looking at the right 
patches...

regards, p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)


More information about the U-Boot mailing list