Date: Sun, 29 Sep 2013 07:37:19 -0700 From: Adrian Chadd <adrian@freebsd.org> To: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: [rfc] mips74k/ar9344 support Message-ID: <CAJ-VmokBGYYZ1BdghEhYatVBbgH-pNKde-HQXCOfyuR35SrSAA@mail.gmail.com> In-Reply-To: <CAJ-Vmo=pJfPryJ8eEKs7xRMsBUxC=xc2DtZfqsOfLKuXRhredA@mail.gmail.com> References: <CAJ-Vmo=pJfPryJ8eEKs7xRMsBUxC=xc2DtZfqsOfLKuXRhredA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
grr, wrong list. also, try this: http://people.freebsd.org/~adrian/mips/20130929-mips74k-2.diff<http://people.freebsd.org/~adrian/mips/20130929-mips74k-1.diff> -adrian ---------- Forwarded message ---------- From: Adrian Chadd <adrian@freebsd.org> Date: 29 September 2013 04:38 Subject: [rfc] mips74k/ar9344 support To: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org> Hi! Here's an initial hacked up patch to get the AR9344 to mountroot> . (Which isn't true - it panics due to missing PHY setup on if_arge; I'll fix that up soon.) http://people.freebsd.org/~adrian/mips/20130929-mips74k-1.diff The specific changes: * add CPU_MIPS24KC and CPU_MIPS74KC * mips32r2 CPUs require an EHB as a hazard for things, rather than NOPs * mips74k cores have a different CCA (cache coherency attributes) than the default - I lifted this from the netbsd mips support. now, the ar71xx CPUs are all currently marked as CPU_MIPS4KC. I'll follow this up with a commit to change that. There may be things we can optimise in the CPU_MIPS24KC case. Warner and I have started talking about how to properly fix all of the hazard handling. We'll discuss that later. I'd like to commit this to -HEAD so people wishing to hack on mips74k platforms can do stuff. Does anyone have any issues with the above? Thanks, -adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokBGYYZ1BdghEhYatVBbgH-pNKde-HQXCOfyuR35SrSAA>