|To:||Alex Smith <firstname.lastname@example.org>|
|Subject:||Re: [1/3] MIPS: octeon: Add interface mode detection for Octeon II|
|From:||David Daney <email@example.com>|
|Date:||Wed, 4 Jun 2014 10:12:39 -0700|
|Authentication-results:||spf=none (sender IP is ) smtp.mailfrom=David.Daney@caviumnetworks.com;|
|Cc:||Aaro Koskinen <firstname.lastname@example.org>, David Daney <email@example.com>, <firstname.lastname@example.org>|
|List-software:||Ecartis version 1.0.0|
|References:||<email@example.com> <20140604144739.GB24816@ak-desktop.emea.nsn-net.net> <538F420A.firstname.lastname@example.org>|
|User-agent:||Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7|
On 06/04/2014 08:58 AM, Alex Smith wrote:
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 <email@example.com> Signed-off-by: Alex Smith <firstname.lastname@example.org>I tried booting ebb6800 board with these patches.
There seem to be problems (I think in the interrupt controller code) for cn68xx based systems in the kernel.org kernel. So I couldn't get it to boot on my ebb6800 even to the point it tries to initialize the networking hardware.
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?
... I don't think it matters. The patch Alex et al. came up with is an improvement over what is already there. The fact that there are still some configurations that don't work can be addressed with follow-on patches.
If I misunderstand the situation, please let me know, and we can work towards something better.
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: [1/3] MIPS: octeon: Add interface mode detection for Octeon II, Alex Smith|
|Next by Date:||Re: [PATCH V2 4/8] MIPS: Add NUMA support for Loongson-3, David Daney|
|Previous by Thread:||Re: [1/3] MIPS: octeon: Add interface mode detection for Octeon II, Alex Smith|
|Next by Thread:||Re: [1/3] MIPS: octeon: Add interface mode detection for Octeon II, Aaro Koskinen|
|Indexes:||[Date] [Thread] [Top] [All Lists]|