Date: Fri, 11 Dec 2015 08:36:00 -0800 From: Adrian Chadd <adrian.chadd@gmail.com> To: Stanislav Galabov <sgalabov@gmail.com> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: Interest in support for Mediatek/Ralink SoCs? Message-ID: <CAJ-VmonsorjWktcrWvREXCM_gDrk9S7X_U18HhjOpLZ-WPz46w@mail.gmail.com> In-Reply-To: <E4AEB37F-8E44-4371-8E2B-231711E08D17@gmail.com> References: <F35AF02A-DC31-4B5F-9349-26C2FF47F5C2@gmail.com> <E4AEB37F-8E44-4371-8E2B-231711E08D17@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, holy hell yes. Can you please put all of your patches up online? I acquired some MT7621 hardware to do a port, and I see you've beaten me to it. I'd like to get it up and working so I can work on the 11ac wifi support. (I don't mind how dirty or what you think the work is - it's going to be great, and I'll tidy it up and get it into -HEAD.) Thanks! -a On 11 December 2015 at 08:06, Stanislav Galabov <sgalabov@gmail.com> wrote: > >> On Dec 11, 2015, at 10:25, Stanislav Galabov <sgalabov@gmail.com> wrote: >> >> Hi all, >> >> Is there any interest on bringing support for Ralink/Mediatek more up-to= -date SoCs, such as MT7620, MT7628, MT7688 and, notably, MT7621 to FreeBSD? >> >> The first three are pretty standard in terms of CPU - they=E2=80=99re al= l MIPS 24Kc based, so they should =E2=80=98just work=E2=80=99 as far as boo= ting FreeBSD goes. >> The last one and, in my opinion, the most interesting one, the MT7621 is= a MIPS 1004Kc - dual core with dual hardware threads per core. It also int= roduces new (to FreeBSD/mips) concepts such as the global interrupt control= ler (gic) for example and could be interesting from this perspective as wel= l as it could pave the way for MIPS 1074K support as well. >> >> I am currently able to boot MT7621 single core to multi user. I can star= t the rest of the cores and threads as well, but am still having difficulti= es figuring out the proper cache and TLB management so it basically doesn= =E2=80=99t support SMP at the moment. >> >> I have also done some work on PCI support for the MT7621 and am currentl= y using userland on a SATA drive, connected to an ASMedia 1061 on the PCI b= us, which seems to be quite stable as well, although the code is nowhere ne= ar ready to show to other people :-) >> >> The support for all the peripherals, however, is not something I would b= e able to take on all by myself, due to lack of spare time. >> There is some support in the tree for older Ralink systems (in sys/mips/= rt305x and in sys/dev/rt for the ethernet/switch peripheral), but it needs = work. >> Also, the WiFi drivers do not seem to support the chipsets embedded in o= r used with MT76xx, so this will be a major challenge it seems, especially = given the lack of documentation=E2=80=A6 however, a piece of good news is t= hat OpenWRT supports most/all of these chipsets, so at least we would have = a frame of reference=E2=80=A6 >> >> So, anyone else interested in working on MT76xx support? >> >> Best wishes, >> Stanislav > > Hi all, > > I can put a single core kernel (uImage) somewhere (where?) so you guys ca= n download it and see if it starts up on your boards=E2=80=A6 > It won=E2=80=99t do too much at the moment, unless you have a SATA disk w= ith root filesystem (UFS) attached on an ASMedia 1061 on PCIe. :-) > > Also, for the guys that mentioned they had MT7621 based boards: how much = RAM do you guys have on your boards? I have 512MB on mine, but I=E2=80=99ve= currently hard-coded the kernel to use 256MB. > > Best wishes, > Stanislav > _______________________________________________ > freebsd-mips@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonsorjWktcrWvREXCM_gDrk9S7X_U18HhjOpLZ-WPz46w>