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

kris.m krishna.mogalipuvvu at gmail.com
Wed Jun 22 12:24:54 CEST 2011


Hi, 

I am trying to enable tftpboot on pandaboard and followed the steps and
applied Simon and Gilles patches. 
But not able to get ethernet detected. I am using trace32 debugger to
directly init the RAM and othe peripherals and load u-boot. 

Is it compulsory to run X-Loader. If so, Please let me know the location
from where I can download the correct version of X-Loader suitable for this. 

I am using u-boot 2011.03 and applied patches on it. 

Find below the u-boot message: 

Out:   serial
Err:   serial
Net:   No ethernet found.
Hit any key to stop autoboot:  0
MMC: block number 0x1 exceeds max(0x0)
** Can't read from device 0 **

** Unable to use mmc 0:1 for fatload **
MMC: block number 0x1 exceeds max(0x0)
** Can't read from device 0 **

** Unable to use mmc 0:1 for fatload **
Panda # set usbethaddr 16:84:16:84:16:88
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
cannot reset port 1!?
The request port(2) is not configured
1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
       scanning bus for ethernet devices... 0 Ethernet Device(s) found
Panda #


Pleae guide me to proceed further. 

Regards

Kris





Peter Meerwald-2 wrote:
> 
> 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)
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 
> 

-- 
View this message in context: http://old.nabble.com/-U-Boot--omap4-EHCI-support-and-SMSC95xx-support-on-panda-tp31711947p31902053.html
Sent from the Uboot - Users mailing list archive at Nabble.com.



More information about the U-Boot mailing list