From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 04 Jun 2014 17:58:11 +0200 (CEST) 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 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id DA54130D5E82C; Wed, 4 Jun 2014 16:57:59 +0100 (IST) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.181.6; Wed, 4 Jun 2014 16:58:02 +0100 Received: from [192.168.154.62] (192.168.154.62) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.174.1; Wed, 4 Jun 2014 16:58:02 +0100 Message-ID: <538F420A.60007@imgtec.com> Date: Wed, 4 Jun 2014 16:58:02 +0100 From: Alex Smith User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Aaro Koskinen , David Daney CC: 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 X-Originating-IP: [192.168.154.62] Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 40432 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: alex.smith@imgtec.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips 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 From mboxrd@z Thu Jan 1 00:00:00 1970 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