From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bo Shen Date: Fri, 5 Jul 2013 15:49:21 +0800 Subject: [U-Boot] : MACB TX timeout In-Reply-To: References: <51D622BC.8050406@atmel.com> Message-ID: <51D67A81.8010701@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Jagan, On 7/5/2013 10:48, Jagan Teki wrote: > Hi Bo Shen, > > Thanks for your info. > > On Fri, Jul 5, 2013 at 7:04 AM, Bo Shen wrote: >> Hi Jagan Teki, >> >> >> On 7/5/2013 03:36, Jagan Teki wrote: >>> >>> Hi, >>> >>> Did anyone find this TX timeout issue on macb(gmac)? >>> I observed this issue when i enable d-cache. >>> >>> Log: >>> ---- >>> zynq-uboot> ping 10.10.70.101 >>> gmac0: PHY present at 7 >>> gmac0: link up, 1000Mbps full-duplex (lpa: 0x3800) >>> Using gmac0 device >>> gmac0: TX timeout >>> gmac0: TX timeout >>> ping failed; host 10.10.70.101 is not alive >> >> >> Sure, this will happen, as the macb driver is not worked with d-cache >> enabled. > Can you point any existing driver that have a d-cache working. I see the driver of ftgmac100 is doing the thing, but I am not sure whether the code is merged. >> If you want to let the macb work with d-cache enable, you should modify the >> driver. >> >> BTW, if you want to enable d-cache, the MMU must be enabled. > Specific setup to enable to MMU, please point. > I see that we need to write dram_bank_mmu_setup() and > arm_init_domains() on d-cache enable code in > soc folders is that true? please let me know your views. I am sorry, no information can share with you at this moment. > -- > Thanks, > Jagan. > Best Regards, Bo Shen