All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Smith <alex.smith@imgtec.com>
To: Aaro Koskinen <aaro.koskinen@nsn.com>,
	David Daney <david.daney@cavium.com>
Cc: <linux-mips@linux-mips.org>
Subject: Re: [1/3] MIPS: octeon: Add interface mode detection for Octeon II
Date: Wed, 4 Jun 2014 16:58:02 +0100	[thread overview]
Message-ID: <538F420A.60007@imgtec.com> (raw)
In-Reply-To: <20140604144739.GB24816@ak-desktop.emea.nsn-net.net>

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 <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?

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

WARNING: multiple messages have this Message-ID (diff)
From: Alex Smith <alex.smith@imgtec.com>
To: Aaro Koskinen <aaro.koskinen@nsn.com>,
	David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Subject: Re: [1/3] MIPS: octeon: Add interface mode detection for Octeon II
Date: Wed, 4 Jun 2014 16:58:02 +0100	[thread overview]
Message-ID: <538F420A.60007@imgtec.com> (raw)
Message-ID: <20140604155802.4MYqaMZHRwSBFJIQAOfeWc-F6IfCJGZRX8xwQfrxZ28@z> (raw)
In-Reply-To: <20140604144739.GB24816@ak-desktop.emea.nsn-net.net>

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 <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?

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

  reply	other threads:[~2014-06-04 15:58 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-29 10:10 [PATCH 0/3] Ubiquiti EdgeRouter/EdgeRouter Pro support Alex Smith
2014-05-29 10:10 ` Alex Smith
2014-05-29 10:10 ` [PATCH 1/3] MIPS: octeon: Add interface mode detection for Octeon II Alex Smith
2014-05-29 10:10   ` Alex Smith
2014-06-04 14:47   ` [1/3] " Aaro Koskinen
2014-06-04 15:58     ` Alex Smith [this message]
2014-06-04 15:58       ` Alex Smith
2014-06-04 17:12       ` David Daney
2014-06-04 17:12         ` David Daney
2014-06-04 18:53         ` Aaro Koskinen
2014-05-29 10:10 ` [PATCH 2/3] staging: octeon-ethernet: Move PHY activation to .ndo_open() Alex Smith
2014-05-29 10:10   ` Alex Smith
2014-05-29 10:10 ` [PATCH 3/3] usb host/MIPS: Remove hard-coded OCTEON platform information Alex Smith
2014-05-29 10:10   ` Alex Smith
2014-05-29 15:03   ` Alan Stern
2014-05-29 15:03     ` Alan Stern
2014-05-29 16:55     ` Florian Fainelli
2014-05-29 17:37       ` Greg KH
2014-05-29 17:59         ` David Daney
2014-05-29 20:55           ` Alan Stern
2014-05-29 21:26             ` David Daney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=538F420A.60007@imgtec.com \
    --to=alex.smith@imgtec.com \
    --cc=aaro.koskinen@nsn.com \
    --cc=david.daney@cavium.com \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.