| Welcome to AT91SAM Community Forum http://www.at91.com/samphpbb/ |
|
| Ethernet problem with at91sam9260ek http://www.at91.com/samphpbb/viewtopic.php?f=4&t=20692 |
Page 1 of 1 |
| Author: | hamzeh.nasajpour [ Fri Feb 24, 2012 8:45 pm ] |
| Post subject: | Ethernet problem with at91sam9260ek |
Hi to all, I make a at91sam9260-ek in my home. I could boot up the linux on it. But I have one problem. My problem is that Ethernet. Some lines in boot-up logo are in the following lines: Code: U-Boot 1.3.4 (Mar 9 2010 - 19:29:50) DRAM: 64 MB NAND: 256 MiB In: serial Out: serial Err: serial Net: macb0 macb0: Starting autonegotiation... macb0: Autonegotiation timed out (status=0x7849) macb0: link down (status: 0x7849) .... ... ... ... MACB_mii_bus: probed eth0: Atmel MACB at 0xfffc4000 irq 21 (3a:1f:34:08:54:54) eth0: attached PHY driver [Davicom DM9161A] (mii_bus:phy_addr=ffffffff:00, irq=-1) ... ... ... I don't know that I have a hardware probmel or no. Can you help me based on the log? I have a problem in u-boot macb0: Starting autonegotiation... macb0: Autonegotiation timed out (status=0x7849) macb0: link down (status: 0x7849) and in kernel I have these lines: MACB_mii_bus: probed eth0: Atmel MACB at 0xfffc4000 irq 21 (3a:1f:34:08:54:54) eth0: attached PHY driver [Davicom DM9161A] (mii_bus:phy_addr=ffffffff:00, irq=-1) I want to know that the DM9161 is detected or no? I could set IP with the following line: ifconfig eth0 192.168.1.200 up But I haven't ping. Help me plz. |
|
| Author: | hamzeh.nasajpour [ Tue Feb 28, 2012 2:52 pm ] |
| Post subject: | Re: Ethernet problem with at91sam9260ek |
Help me plz |
|
| Author: | hamzeh.nasajpour [ Thu Mar 01, 2012 10:37 am ] |
| Post subject: | Re: Ethernet problem with at91sam9260ek |
I attached my schematic for DM9161 and AT91sam9260. Please see it. I soldered the S601 and unsoldered R605 (pin36 of DM9161). My configuration is set for MII mode. Also I change my uboot: #undef CONFIG_RMII #define CONFIG_RMII 1 Also I modify my u-boot codes to print PHY_ID1. I have these lines in terminal: Code: U-Boot 1.3.4 (Mar 9 2010 - 19:29:50) DRAM: 64 MB NAND: 256 MiB In: serial Out: serial Err: serial Net: macb0 phy_id= 0x181 macb0: Starting autonegotiation... macb0: Autonegotiation timed out (status=0x7849) macb0: link down (status: 0x7849) .... ... ... ... MACB_mii_bus: probed eth0: Atmel MACB at 0xfffc4000 irq 21 (3a:1f:34:08:54:54) eth0: attached PHY driver [Davicom DM9161A] (mii_bus:phy_addr=ffffffff:00, irq=-1) ... ... ... Do you have any Idea? I haven't connection with LAN. The status=0x7849 say that autonegotiation has a problem. Please help me. I don't know that my problem is for hardware or software? |
|
| Author: | hamzeh.nasajpour [ Sat Mar 03, 2012 1:34 pm ] |
| Post subject: | Re: Ethernet problem with at91sam9260ek |
88 views with no answer? |
|
| Author: | CptTitanic [ Sat Mar 03, 2012 4:37 pm ] |
| Post subject: | Re: Ethernet problem with at91sam9260ek |
hamzeh.nasajpour wrote: 88 views with no answer? You misunderstand basic forum dynamics, many people focused on their own problems, few with answers. #define CONFIG_RMII 1 ?? Doesn't ETXCK need to be connected to REFCK in RMII mode? Have you tried the 50MHz mode like the original 9260-EK? #undef CONFIG_RMII #define CONFIG_MII 1 Confirm VCCA voltage Confirm specific DM9161 part number, many variants |
|
| Author: | hamzeh.nasajpour [ Sat Mar 03, 2012 6:06 pm ] |
| Post subject: | Re: Ethernet problem with at91sam9260ek |
Thank you. Oh, I'm sorry. I have a mistake. I modified my u-boot in this state: Code: #undef CONFIG_RMII #define CONFIG_MII 1 No, I don't test with 50Mhz and RMII mode. But in MII mode I could print the PhyID1 and PhyID2 that exactly match with the DM9161. |
|
| Author: | hamzeh.nasajpour [ Mon Mar 26, 2012 2:05 pm ] |
| Post subject: | Re: Ethernet problem with at91sam9260ek |
I replace the LAN connector and change u-boot configuration to MII mode(xtal=25Mhz used). In this state, I could receive file with tftp command in u-boot, But I can't use the lan network after booting up the linux kernel. Does any modification needed in kernel to changing to MII mode? please help me. |
|
| Author: | hamzeh.nasajpour [ Wed Mar 28, 2012 12:07 pm ] |
| Post subject: | Re: Ethernet problem with at91sam9260ek |
I'm waiting for help. |
|
| Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|



Forum