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'm currently booting off a USB SSD and building on it! > > These patches allow an EdgeRouterPro to boot in LE mode with no > > hardware modifications. They have not been subjected to extensive > > testing yet and should be considered experimental. (I have seen some > > strange memory corruption in libstdc++ which I haven't yet been able > > to trace.) > > Which drivers did you test? Did you test e.g. octeon-md5? No, I haven't tested any of the crypto functions in the kernel. I'm assuming that anything that doesn't access hardware has been written in an endian-agnostic fashion. > Definitely not ready for merging. I know that! I should have marked it RFC. I did say it was experimental and not well tested. -- Paul Martin http://www.codethink.co.uk/ Senior Software Developer, Codethink Ltd.