Received: from mailapp01.imgtec.com ([195.59.15.196]:63275 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6816071AbaFDP6Js1ppY (ORCPT ); Wed, 4 Jun 2014 17:58:09 +0200 Message-ID: <538F420A.60007@imgtec.com> Date: Wed, 4 Jun 2014 16:58:02 +0100 From: Alex Smith MIME-Version: 1.0 Subject: Re: [1/3] MIPS: octeon: Add interface mode detection for Octeon II References: <1401358203-60225-2-git-send-email-alex.smith@imgtec.com> <20140604144739.GB24816@ak-desktop.emea.nsn-net.net> In-Reply-To: <20140604144739.GB24816@ak-desktop.emea.nsn-net.net> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Aaro Koskinen , David Daney Cc: linux-mips@linux-mips.org Message-ID: <20140604155802.4MYqaMZHRwSBFJIQAOfeWc-F6IfCJGZRX8xwQfrxZ28@z> On 04/06/14 15:47, Aaro Koskinen wrote: > On Thu, May 29, 2014 at 11:10:01AM +0100, Alex Smith wrote: >> Add interface mode detection for Octeon II. This is necessary to detect >> the interface modes correctly on the UBNT E200 board. Code is taken >> from the UBNT GPL source release, with some alterations: SRIO, ILK and >> RXAUI interface modes are removed and instead return disabled as these >> modes are not currently supported. >> >> Tested-by: David Daney >> Signed-off-by: Alex Smith > > I tried booting ebb6800 board with these patches. > > It hangs somewhere in __cvmx_helper_xaui_enable() with XAUI port. Looking > at the UBNT GPL package, xaui init is quite different with 68XX specific > code paths. Maybe those bits should be added too, or then disable XAUI > support as well? Probably the best thing to do for now would be to disable it. Does it boot successfully for you if you switch CVMX_HELPER_INTERFACE_MODE_XAUI to disabled? Alex