linux-mips
[Top] [All Lists]

Re: [1/3] MIPS: octeon: Add interface mode detection for Octeon II

To: Alex Smith <alex.smith@imgtec.com>, David Daney <david.daney@cavium.com>
Subject: Re: [1/3] MIPS: octeon: Add interface mode detection for Octeon II
From: Aaro Koskinen <aaro.koskinen@nsn.com>
Date: Wed, 4 Jun 2014 17:47:39 +0300
Cc: linux-mips@linux-mips.org
In-reply-to: <1401358203-60225-2-git-send-email-alex.smith@imgtec.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1401358203-60225-2-git-send-email-alex.smith@imgtec.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.23 (2014-03-12)
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 <david.daney@cavium.com>
> Signed-off-by: Alex Smith <alex.smith@imgtec.com>

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?

A.

<Prev in Thread] Current Thread [Next in Thread>