[Top] [All Lists]

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

To: Aaro Koskinen <>, David Daney <>
Subject: Re: [1/3] MIPS: octeon: Add interface mode detection for Octeon II
From: Alex Smith <>
Date: Wed, 4 Jun 2014 16:58:02 +0100
Cc: <>
In-reply-to: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
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?


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