Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Dec 2015 17:27:55 +0800
From:      Ganbold Tsagaankhuu <ganbold@gmail.com>
To:        Stanislav Galabov <sgalabov@gmail.com>
Cc:        freebsd-mips@freebsd.org, kevlo@freebsd.org
Subject:   Re: Interest in support for Mediatek/Ralink SoCs?
Message-ID:  <CAGtf9xMBcFHKvtp3h-WRcF90noY5oonisy7ciMs-kWvspDHgPQ@mail.gmail.com>
In-Reply-To: <F35AF02A-DC31-4B5F-9349-26C2FF47F5C2@gmail.com>
References:  <F35AF02A-DC31-4B5F-9349-26C2FF47F5C2@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Stanislav,

On Fri, Dec 11, 2015 at 4:25 PM, 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 all=
 MIPS
> 24Kc based, so they should =E2=80=98just work=E2=80=99 as far as booting =
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
> introduces new (to FreeBSD/mips) concepts such as the global interrupt
> controller (gic) for example and could be interesting from this perspecti=
ve
> as well 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 start
> 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 currently
> using userland on a SATA drive, connected to an ASMedia 1061 on the PCI
> bus, which seems to be quite stable as well, although the code is nowhere
> near ready to show to other people :-)
>

Very nice.



>
> The support for all the peripherals, however, is not something I would be
> 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), bu=
t
> it needs work.
> Also, the WiFi drivers do not seem to support the chipsets embedded in or
> 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=
 that
> 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?
>

I think some developers in this list already have MT7621 board so maybe
they have some interest and can test your changes.

Ganbold



>
> 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?CAGtf9xMBcFHKvtp3h-WRcF90noY5oonisy7ciMs-kWvspDHgPQ>