On 03/16/2015 12:27 PM, Aaro Koskinen wrote:
Hi,
On Mon, Mar 16, 2015 at 10:39:40AM +0000, Paul Martin wrote:
On Fri, Mar 13, 2015 at 08:52:58PM +0200, Aaro Koskinen wrote:
Hi,
On Fri, Mar 13, 2015 at 05:34:52PM +0000, Paul Martin wrote:
Octeon II CPUs can switch from Big Endian to Little Endian freely
even in kernel/supervisor mode.
You are enabling it on all OCTEONS. Is that valid? At least octeon-usb
still needs to be fixed for little-endian mode.
The USB works perfectly with the patches that were posted to this list
over the last couple of months.
I was referring to driver for OCTEON+ USB controller in staging.
ERPro uses EHCI, so it's different. Anyway, I can try to fix the most
obvious issues myself e.g. bitfields.
OCTEON Plus CPUs (i.e. those with afore mentioned USB controller) don't
really support Little-Endian operation, so it may not be worth doing
anything with that driver.
There are several problems:
1) The system bootloader (u-boot) must have support for booting
Little-Endian. EdgeRouter LITE doesn't have the proper support. In
theory you could write a LE booting shim, but I am too lazy to explain
what it must do...
2) The bootbus controller doesn't work in LittleEndian mode on OCTEON-Plus.
3) It has never been tested due to #2 being somewhat of a show stopper.
David Daney
A.