* [U-Boot] omap4 EHCI support and SMSC95xx support on panda
@ 2011-05-26 21:01 Peter Meerwald
2011-05-26 21:54 ` Simon Glass
2011-06-22 10:24 ` kris.m
0 siblings, 2 replies; 7+ messages in thread
From: Peter Meerwald @ 2011-05-26 21:01 UTC (permalink / raw)
To: u-boot
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)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] omap4 EHCI support and SMSC95xx support on panda
2011-05-26 21:01 [U-Boot] omap4 EHCI support and SMSC95xx support on panda Peter Meerwald
@ 2011-05-26 21:54 ` Simon Glass
2011-06-22 10:24 ` kris.m
1 sibling, 0 replies; 7+ messages in thread
From: Simon Glass @ 2011-05-26 21:54 UTC (permalink / raw)
To: u-boot
Hi,
It is a little tricky to know what you are applying as this is not in
the tree yet AFAIK.
I have a small change request so will make that and send out another
patch to the list which will hopefully be applied.
However...this doesn't look good:
EHCI timed out on TD - token=0x88008d80
It might be worth looking at why this is happening.
Regards,
Simon
On Thu, May 26, 2011 at 2:01 PM, Peter Meerwald <pmeerw@pmeerw.net> 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)
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] omap4 EHCI support and SMSC95xx support on panda
2011-05-26 21:01 [U-Boot] omap4 EHCI support and SMSC95xx support on panda Peter Meerwald
2011-05-26 21:54 ` Simon Glass
@ 2011-06-22 10:24 ` kris.m
2011-06-22 11:04 ` Gilles Chanteperdrix
1 sibling, 1 reply; 7+ messages in thread
From: kris.m @ 2011-06-22 10:24 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] omap4 EHCI support and SMSC95xx support on panda
2011-06-22 10:24 ` kris.m
@ 2011-06-22 11:04 ` Gilles Chanteperdrix
0 siblings, 0 replies; 7+ messages in thread
From: Gilles Chanteperdrix @ 2011-06-22 11:04 UTC (permalink / raw)
To: u-boot
On 06/22/2011 12:24 PM, kris.m wrote:
>
> 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.
The combination which works for me is x-loader branch omap4_dev, commit
c8855fa6b85bd44073bd1b25dbffa99f02cbeeed, with everything else as I
already explained. The git repository url at the time I cloned it is:
git://git.omapzoom.org/repo/x-loader.git
I found this url on the pandaboard wiki.
x-loader enables some plls, so, if you do not use x-loader, you should
enable the plls it enables.
Note that there is a project for using u-boot as a first stage loader
instead of x-loader.
--
Gilles.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] omap4 EHCI support and SMSC95xx support on panda
2011-05-27 6:20 ` Gilles Chanteperdrix
@ 2011-05-27 22:30 ` Peter Meerwald
0 siblings, 0 replies; 7+ messages in thread
From: Peter Meerwald @ 2011-05-27 22:30 UTC (permalink / raw)
To: u-boot
> >From the traces you show, I am not sure this is what you are missing,
> though. The other "detail", is that I used the latest version of
> X-loader git, it may enable some clocks that previous versions did not
> enable. I would like to rebase the patches on the SPL patches posted
where is the latest x-loader git?
I've tried several x-loader repos but it is not clear which one I
recommended
p.
--
Peter Meerwald
+43-664-2444418 (mobile)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] omap4 EHCI support and SMSC95xx support on panda
2011-05-26 20:52 Peter Meerwald
@ 2011-05-27 6:20 ` Gilles Chanteperdrix
2011-05-27 22:30 ` Peter Meerwald
0 siblings, 1 reply; 7+ messages in thread
From: Gilles Chanteperdrix @ 2011-05-27 6:20 UTC (permalink / raw)
To: u-boot
On 05/26/2011 10:52 PM, Peter Meerwald 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?
Hi Peter,
A few details I forgot to post it on this list: in order to get EHCI
working on Panda, I had to add the following patch on top of Simon's
patches:
diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c
index 4d8dde0..97f2729 100644
--- a/drivers/usb/eth/smsc95xx.c
+++ b/drivers/usb/eth/smsc95xx.c
@@ -873,6 +873,7 @@ int smsc95xx_eth_get_info(struct usb_device *dev,
struct ueth_data *ss,
eth->send = smsc95xx_send;
eth->recv = smsc95xx_recv;
eth->halt = smsc95xx_halt;
+ eth->write_hwaddr = smsc95xx_write_hwaddr;
eth->priv = ss;
return 1;
}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot] omap4 EHCI support and SMSC95xx support on panda
@ 2011-05-26 20:52 Peter Meerwald
2011-05-27 6:20 ` Gilles Chanteperdrix
0 siblings, 1 reply; 7+ messages in thread
From: Peter Meerwald @ 2011-05-26 20:52 UTC (permalink / raw)
To: u-boot
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)
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-06-22 11:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-26 21:01 [U-Boot] omap4 EHCI support and SMSC95xx support on panda Peter Meerwald
2011-05-26 21:54 ` Simon Glass
2011-06-22 10:24 ` kris.m
2011-06-22 11:04 ` Gilles Chanteperdrix
-- strict thread matches above, loose matches on Subject: below --
2011-05-26 20:52 Peter Meerwald
2011-05-27 6:20 ` Gilles Chanteperdrix
2011-05-27 22:30 ` Peter Meerwald
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.