[U-Boot] Ethernet not working on OMAP3 board with

Hi,
I was testing the latest tip of u-boot and v2009.06-rc1, I find that the Ethernet is not working.
Is there some fix available for this issue ? The 2009.03 was working fine.
Regards Mani ------------------------------------------------------------------- Manikandan Pillai BCG-PSP Project Lead (Type "pspproducts" in you web browser for PSP info) http://dbdwss01.india.ti.com/pspproducts/ PSP downloads at : http://software.ti.com/swcoe/intranet/reports/pds/PSP_releases.php Office : +91-80-25048069 -------------------------------------------------------------------

Dear Mani,
I was testing the latest tip of u-boot and v2009.06-rc1, I find that the Ethernet is not working.
i assume you are using a board with SMSC911x ethernet chip? If so, this discussion may help you: http://lists.denx.de/pipermail/u-boot/2009-April/050687.html
SMSC911x (and others) do not work in mainline if no eeprom with MAC address is present. A patch solving this issue is (afaik) in net/next.
@Wolfgang/Ben: shouldn't this be in 2009.6?
best regards, Matthias

Dear Matthias Ludwig,
In message 20090518081724.GA19305@ultratronik.de you wrote:
Dear Mani,
I was testing the latest tip of u-boot and v2009.06-rc1, I find that the Ethernet is not working.
i assume you are using a board with SMSC911x ethernet chip? If so, this discussion may help you: http://lists.denx.de/pipermail/u-boot/2009-April/050687.html
SMSC911x (and others) do not work in mainline if no eeprom with MAC address is present. A patch solving this issue is (afaik) in net/next.
@Wolfgang/Ben: shouldn't this be in 2009.6?
I consider this a bug fix for 2009.06. Ben?
Best regards,
Wolfgang Denk

Wolfgang Denk wrote:
Dear Matthias Ludwig,
In message 20090518081724.GA19305@ultratronik.de you wrote:
Dear Mani,
I was testing the latest tip of u-boot and v2009.06-rc1, I find that the Ethernet is not working.
i assume you are using a board with SMSC911x ethernet chip? If so, this discussion may help you: http://lists.denx.de/pipermail/u-boot/2009-April/050687.html
SMSC911x (and others) do not work in mainline if no eeprom with MAC address is present. A patch solving this issue is (afaik) in net/next.
@Wolfgang/Ben: shouldn't this be in 2009.6?
I consider this a bug fix for 2009.06. Ben?
Sounds reasonable. Please apply directly and I'll take it out of net/next.
Best regards,
Wolfgang Denk
regards, Ben

Hi Mani,
Pillai, Manikandan wrote:
Hi,
I was testing the latest tip of u-boot and v2009.06-rc1, I find that the Ethernet is not working.
Is there some fix available for this issue ? The 2009.03 was working fine.
Any news on this? Did the hints from ml help? Or do we have to investigate further?
Best regards
Dirk

Hi ,
Tried the hints but they don't work. I still don't have a fix. Still investigating.
regards
-----Original Message----- From: Dirk Behme [mailto:dirk.behme@googlemail.com] Sent: Tuesday, May 19, 2009 8:10 PM To: Pillai, Manikandan Cc: u-boot@lists.denx.de Subject: Re: Ethernet not working on OMAP3 board with
Hi Mani,
Pillai, Manikandan wrote:
Hi,
I was testing the latest tip of u-boot and v2009.06-rc1, I find that the
Ethernet is not working.
Is there some fix available for this issue ? The 2009.03 was working fine.
Any news on this? Did the hints from ml help? Or do we have to investigate further?
Best regards
Dirk

Pillai, Manikandan wrote:
Hi ,
Tried the hints but they don't work. I still don't have a fix. Still investigating.
On my omap3 evm, I see perpetual ARP requests sent from my board looking for my tftp server during a tftpboot comamnd. The server responds, but the evm doesn't appear to take note. The behavior of the ping command is similar - one ARP from the evm, an ARP response from the destination and then the ping fails.
Does that ring any bells?
- Josh

Pillai, Manikandan wrote:
Hi ,
Tried the hints but they don't work. I still don't have a fix. Still investigating.
Just two infos, maybe they help somehow:
- We recently cleaned up OMAP3's clock code. But this was to _improve_ network. If I remember correctly, Mani tested all clock changes and they were fine. See git history of cpu/arm_cortexa8/omap3/interrupts.c for details.
- Steve has still no luck with lan9221 from SMSC on Overo (U-Boot's smc991x driver). See thread
http://lists.denx.de/pipermail/u-boot/2009-April/051238.html http://lists.denx.de/pipermail/u-boot/2009-April/051247.html http://lists.denx.de/pipermail/u-boot/2009-April/051259.html
I'm not sure which network chip is used on EVM, though.
Best regards
Dirk
-----Original Message----- From: Dirk Behme [mailto:dirk.behme@googlemail.com] Sent: Tuesday, May 19, 2009 8:10 PM To: Pillai, Manikandan Cc: u-boot@lists.denx.de Subject: Re: Ethernet not working on OMAP3 board with
Hi Mani,
Pillai, Manikandan wrote:
Hi,
I was testing the latest tip of u-boot and v2009.06-rc1, I find that the
Ethernet is not working.
Is there some fix available for this issue ? The 2009.03 was working fine.
Any news on this? Did the hints from ml help? Or do we have to investigate further?
Best regards
Dirk

Dirk Behme wrote:
Pillai, Manikandan wrote:
Hi ,
Tried the hints but they don't work. I still don't have a fix. Still investigating.
Just two infos, maybe they help somehow:
- We recently cleaned up OMAP3's clock code. But this was to _improve_
network. If I remember correctly, Mani tested all clock changes and they were fine. See git history of cpu/arm_cortexa8/omap3/interrupts.c for details.
- Steve has still no luck with lan9221 from SMSC on Overo (U-Boot's
smc991x driver). See thread
http://lists.denx.de/pipermail/u-boot/2009-April/051238.html http://lists.denx.de/pipermail/u-boot/2009-April/051247.html http://lists.denx.de/pipermail/u-boot/2009-April/051259.html
http://lists.denx.de/pipermail/u-boot/2009-April/050687.html did the trick - it was referenced in the above threads.
I had thought that it was applied to the branch I was on, and missed it that it wasn't. Thanks for jogging me into looking for it again.
I'm not sure which network chip is used on EVM, though.
The evm's using a 9115, and was already properly set up.
Thanks again,
- Josh

Josh Karabin wrote:
Dirk Behme wrote:
Pillai, Manikandan wrote:
Hi ,
Tried the hints but they don't work. I still don't have a fix. Still investigating.
Just two infos, maybe they help somehow:
- We recently cleaned up OMAP3's clock code. But this was to _improve_
network. If I remember correctly, Mani tested all clock changes and they were fine. See git history of cpu/arm_cortexa8/omap3/interrupts.c for details.
- Steve has still no luck with lan9221 from SMSC on Overo (U-Boot's
smc991x driver). See thread
http://lists.denx.de/pipermail/u-boot/2009-April/051238.html http://lists.denx.de/pipermail/u-boot/2009-April/051247.html http://lists.denx.de/pipermail/u-boot/2009-April/051259.html
http://lists.denx.de/pipermail/u-boot/2009-April/050687.html did the trick - it was referenced in the above threads.
Thanks for testing!
Mani: Can you confirm this?
Many thanks
Dirk

Hi Dirk,
I have already tried this patch it does not work on EVM. Was any other patch applied along with this ?
Regards Mani
-----Original Message----- From: Dirk Behme [mailto:dirk.behme@googlemail.com] Sent: Thursday, May 21, 2009 10:36 AM To: Josh Karabin; Pillai, Manikandan Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Ethernet not working on OMAP3 board with
Josh Karabin wrote:
Dirk Behme wrote:
Pillai, Manikandan wrote:
Hi ,
Tried the hints but they don't work. I still don't have a fix. Still
investigating.
Just two infos, maybe they help somehow:
- We recently cleaned up OMAP3's clock code. But this was to _improve_
network. If I remember correctly, Mani tested all clock changes and they were fine. See git history of cpu/arm_cortexa8/omap3/interrupts.c for details.
- Steve has still no luck with lan9221 from SMSC on Overo (U-Boot's
smc991x driver). See thread
http://lists.denx.de/pipermail/u-boot/2009-April/051238.html http://lists.denx.de/pipermail/u-boot/2009-April/051247.html http://lists.denx.de/pipermail/u-boot/2009-April/051259.html
http://lists.denx.de/pipermail/u-boot/2009-April/050687.html did the trick - it was referenced in the above threads.
Thanks for testing!
Mani: Can you confirm this?
Many thanks
Dirk

Hi,
Pillai, Manikandan a écrit :
Hi Dirk,
I have already tried this patch it does not work on EVM. Was any other patch applied along with this ?
if I understand well the datasheet, in incluse/asm/arch/cpu.h isn't base adresse for CS6's config register wrongly defined : it's actually : #define GPMC_CONFIG_CS6 0x150 shouldn't that be : 0x74 ? (page 101 of the chapter 11 of sprufa1b.pdf).
Eric

Pillai, Manikandan wrote:
Hi Dirk,
I have already tried this patch it does not work on EVM. Was any other patch applied along with this ?
That was the only one that I needed, on top of the arm/next branch from last week. The last commit was 86d5c98d3d97d631b1d3a5f5e6a17e87c99b42cf : "OMAP3: Fix CKE1 MUX setting to allow self-refresh".
- Josh

OK I will try with the same commit and send the results.
-----Original Message----- From: Josh Karabin [mailto:gkarabin@vocollect.com] Sent: Tuesday, May 26, 2009 8:26 PM To: Pillai, Manikandan Cc: Dirk Behme; u-boot@lists.denx.de Subject: Re: [U-Boot] Ethernet not working on OMAP3 board with
Pillai, Manikandan wrote:
Hi Dirk,
I have already tried this patch it does not work on EVM. Was any other patch applied along with this ?
That was the only one that I needed, on top of the arm/next branch from last week. The last commit was 86d5c98d3d97d631b1d3a5f5e6a17e87c99b42cf : "OMAP3: Fix CKE1 MUX setting to allow self-refresh".
- Josh

-----Original Message----- From: Pillai, Manikandan Sent: Wednesday, May 27, 2009 10:01 AM To: 'Josh Karabin' Cc: Dirk Behme; u-boot@lists.denx.de Subject: RE: [U-Boot] Ethernet not working on OMAP3 board with
OK I will try with the same commit and send the results.
-----Original Message----- From: Josh Karabin [mailto:gkarabin@vocollect.com] Sent: Tuesday, May 26, 2009 8:26 PM To: Pillai, Manikandan Cc: Dirk Behme; u-boot@lists.denx.de Subject: Re: [U-Boot] Ethernet not working on OMAP3 board with
Pillai, Manikandan wrote:
Hi Dirk,
I have already tried this patch it does not work on EVM. Was any other patch applied along with this ?
That was the only one that I needed, on top of the arm/next branch from last week. The last commit was 86d5c98d3d97d631b1d3a5f5e6a17e87c99b42cf : "OMAP3: Fix CKE1 MUX setting to allow self-refresh".
[Pillai, Manikandan] I tried with this commit and it works. If I use the v2009.06-rc1 tag with these changes it does not work.
smc911x: initializing smc911x: detected LAN9115 controller smc911x: phy initialized Addrr = 0 1 2 2 4 4 smc911x: MAC 00:01:02:02:04:04 BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4
So guess there are some more changes that require to be done. Any ideas welcome.
- Josh

Does anyone know what the current status of this is? I see the patched discussed in April was in net-next for a while then was removed with the understanding that it would go into master since it was a bug fix but I don't see it in master.
Also Mani says that the patch does not fix master anyway but does fix arm-next.
Did I get that right?
Thanks John
On Thu, May 28, 2009 at 3:43 AM, Pillai, Manikandan mani.pillai@ti.comwrote:
-----Original Message----- From: Pillai, Manikandan Sent: Wednesday, May 27, 2009 10:01 AM To: 'Josh Karabin' Cc: Dirk Behme; u-boot@lists.denx.de Subject: RE: [U-Boot] Ethernet not working on OMAP3 board with
OK I will try with the same commit and send the results.
-----Original Message----- From: Josh Karabin [mailto:gkarabin@vocollect.com] Sent: Tuesday, May 26, 2009 8:26 PM To: Pillai, Manikandan Cc: Dirk Behme; u-boot@lists.denx.de Subject: Re: [U-Boot] Ethernet not working on OMAP3 board with
Pillai, Manikandan wrote:
Hi Dirk,
I have already tried this patch it does not work on EVM. Was any other patch applied along with this ?
That was the only one that I needed, on top of the arm/next branch from last week. The last commit was
86d5c98d3d97d631b1d3a5f5e6a17e87c99b42cf
: "OMAP3: Fix CKE1 MUX setting to allow self-refresh".
[Pillai, Manikandan] I tried with this commit and it works. If I use the v2009.06-rc1 tag with these changes it does not work.
smc911x: initializing smc911x: detected LAN9115 controller smc911x: phy initialized Addrr = 0 1 2 2 4 4 smc911x: MAC 00:01:02:02:04:04 BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4
So guess there are some more changes that require to be done. Any ideas welcome.
- Josh
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

________________________________ From: John Rigby [mailto:jcrigby@gmail.com] Sent: Sunday, June 07, 2009 7:43 AM To: Pillai, Manikandan Cc: Josh Karabin; u-boot@lists.denx.de Subject: Re: [U-Boot] Ethernet not working on OMAP3 board with
Does anyone know what the current status of this is? I see the patched discussed in April was in net-next for a while then was removed with the understanding that it would go into master since it was a bug fix but I don't see it in master.
Also Mani says that the patch does not fix master anyway but does fix arm-next.
Did I get that right? [Pillai, Manikandan] Yes that's correct. I can't get it working on master.
Thanks John On Thu, May 28, 2009 at 3:43 AM, Pillai, Manikandan <mani.pillai@ti.commailto:mani.pillai@ti.com> wrote:
-----Original Message----- From: Pillai, Manikandan Sent: Wednesday, May 27, 2009 10:01 AM To: 'Josh Karabin' Cc: Dirk Behme; u-boot@lists.denx.demailto:u-boot@lists.denx.de Subject: RE: [U-Boot] Ethernet not working on OMAP3 board with
OK I will try with the same commit and send the results.
-----Original Message----- From: Josh Karabin [mailto:gkarabin@vocollect.commailto:gkarabin@vocollect.com] Sent: Tuesday, May 26, 2009 8:26 PM To: Pillai, Manikandan Cc: Dirk Behme; u-boot@lists.denx.demailto:u-boot@lists.denx.de Subject: Re: [U-Boot] Ethernet not working on OMAP3 board with
Pillai, Manikandan wrote:
Hi Dirk,
I have already tried this patch it does not work on EVM. Was any other patch applied along with this ?
That was the only one that I needed, on top of the arm/next branch from last week. The last commit was 86d5c98d3d97d631b1d3a5f5e6a17e87c99b42cf : "OMAP3: Fix CKE1 MUX setting to allow self-refresh".
[Pillai, Manikandan] I tried with this commit and it works. If I use the v2009.06-rc1 tag with these changes it does not work.
smc911x: initializing smc911x: detected LAN9115 controller smc911x: phy initialized Addrr = 0 1 2 2 4 4 smc911x: MAC 00:01:02:02:04:04 BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4
So guess there are some more changes that require to be done. Any ideas welcome.
- Josh
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.demailto:U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

________________________________ From: John Rigby [mailto:jcrigby@gmail.com] Sent: Sunday, June 07, 2009 7:43 AM To: Pillai, Manikandan Cc: Josh Karabin; u-boot@lists.denx.de Subject: Re: [U-Boot] Ethernet not working on OMAP3 board with
Does anyone know what the current status of this is? I see the patched discussed in April was in net-next for a while then was removed with the understanding that it would go into master since it was a bug fix but I don't see it in master. [Pillai, Manikandan] I tried some more things. If I remove the environment variable ipaddr, do a saveenv and then do a dhcp then it starts working with the above change. It seems to work 5 times out of 5 I tested. Can somebody who faces the same issue try it and see it it works on their setup.
Also Mani says that the patch does not fix master anyway but does fix arm-next.
Did I get that right?
Thanks John On Thu, May 28, 2009 at 3:43 AM, Pillai, Manikandan <mani.pillai@ti.commailto:mani.pillai@ti.com> wrote:
-----Original Message----- From: Pillai, Manikandan Sent: Wednesday, May 27, 2009 10:01 AM To: 'Josh Karabin' Cc: Dirk Behme; u-boot@lists.denx.demailto:u-boot@lists.denx.de Subject: RE: [U-Boot] Ethernet not working on OMAP3 board with
OK I will try with the same commit and send the results.
-----Original Message----- From: Josh Karabin [mailto:gkarabin@vocollect.commailto:gkarabin@vocollect.com] Sent: Tuesday, May 26, 2009 8:26 PM To: Pillai, Manikandan Cc: Dirk Behme; u-boot@lists.denx.demailto:u-boot@lists.denx.de Subject: Re: [U-Boot] Ethernet not working on OMAP3 board with
Pillai, Manikandan wrote:
Hi Dirk,
I have already tried this patch it does not work on EVM. Was any other patch applied along with this ?
That was the only one that I needed, on top of the arm/next branch from last week. The last commit was 86d5c98d3d97d631b1d3a5f5e6a17e87c99b42cf : "OMAP3: Fix CKE1 MUX setting to allow self-refresh".
[Pillai, Manikandan] I tried with this commit and it works. If I use the v2009.06-rc1 tag with these changes it does not work.
smc911x: initializing smc911x: detected LAN9115 controller smc911x: phy initialized Addrr = 0 1 2 2 4 4 smc911x: MAC 00:01:02:02:04:04 BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4
So guess there are some more changes that require to be done. Any ideas welcome.
- Josh
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.demailto:U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
participants (8)
-
Ben Warren
-
Dirk Behme
-
Eric BENARD
-
John Rigby
-
Josh Karabin
-
Matthias Ludwig
-
Pillai, Manikandan
-
Wolfgang Denk