Date: Sun, 20 Dec 2015 07:25:14 +0200 From: Stanislav Galabov <sgalabov@gmail.com> To: freebsd-mips@freebsd.org Subject: Re: Initial support for MT7620 Message-ID: <CANiSyhQmtCcxQWX1wg4PgwAG79WgZQX_0j%2BpDGQMETBpNHYPwg@mail.gmail.com> In-Reply-To: <CANiSyhSSLJhksSjCNXLrZ5jgAbeD_nYAQ7gcs8mYzNh%2BEC9FdQ@mail.gmail.com> References: <1479DFB0-6B63-4886-B9BA-8F95A44A8ED9@gmail.com> <CANiSyhSSLJhksSjCNXLrZ5jgAbeD_nYAQ7gcs8mYzNh%2BEC9FdQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi all, I went through all the Ralink/Mediatek boards I have at home and at the office and did a quick inventory of the SoCs I have available. Here's what I have: - RT3050F - RT3052F - RT5350F - RT3352F - RT6855 (with a Realtek gigabit switch) - MT7620N - MT7620A (several flavours) - MT7621 Here is what I don't have, but I'd like to add support for: - RT3662 - RT3883 - MT7628 (I may get one of these in the future) - MT7688 (I may get one of these in the future) At the moment I am planning to add support for all of the above with the following functionality, where applicable: - PCI/PCIe - USB - Ethernet - Switch - SPI I would appreciate it, if anyone has RT3662/RT3883 laying around not doing anything, if I could get my hands on these at some point. I'll continue looking on my end as well and see if I can obtain these around here... Also, if anyone has RT6855 datasheet/programming guide, I'd appreciate a copy of that. I think I am pretty much set for the others, with the exception of MT7688, but MT7688 is easier to figure out compared to RT6855. I may have missed some SoCs from the above list - if so, and if someone would like to see support for them - please let me know. I think if we manage to do all the above, FreeBSD will have pretty good support for Ralink/Mediatek router SoCs, especially if/once Adrian manages to work on the WiFi parts :-) Best wishes, Stanislav On Sat, Dec 19, 2015 at 8:31 AM, Stanislav Galabov <sgalabov@gmail.com> wrote: > Hi all, > > Just to give an update: MT7620 now boots to multi user with EHCI, SPI and > basic Ethernet support (Ethernet is still a WIP, but at least can be used > now). > Thanks to Aleksandr Rybalko and Aleksandr Mityaev for RT5350 SPI and > ethernet patches they provided - these helped a lot :-) > > For the interested, the changes are here: > > https://github.com/sgalabov/freebsd/tree/local/sgalabov_mt7620/sys/mips/r= t305x > > Next is work on MT7620's PCIe support and fixing remaining issues with > MT7620 ethernet. > > Best wishes, > Stanislav > > > > On Tue, Dec 15, 2015 at 4:58 PM, Stanislav Galabov <sgalabov@gmail.com> > wrote: > >> Hi all, >> >> After talking with Adrian off list we decided to start work on >> Mediatek/Ralink more recent SoCs with MT7620 instead of MT7621 (Adrian= =E2=80=99s >> board has MT7620 so it=E2=80=99s easier for him to help with the WiFi pa= rts this >> way). >> >> I=E2=80=99ve done a bit today and I got an MT7620A based board to boot t= o multi >> user with root filesystem on USB stick. >> >> If anyone is interested in the patch, it can be found here: >> https://www.dropbox.com/s/e880eutzvlms8h7/mt7620_patch.diff?dl=3D0 >> >> For the moment there is no support for sys/dev/rt (the Ethernet >> controller) with MT7620. This is going to be left for later. >> Next I am planning to work on SPI and PCI so that Adrian can start >> working on WiFi once I=E2=80=99m done with the SPI part. >> >> I would appreciate it if someone would jump in and help with the if_rt >> support - this way we=E2=80=99ll have something working quicker hopefull= y :-) >> >> I would also appreciate feedback for the attached patch... >> >> Best wishes, >> Stanislav > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANiSyhQmtCcxQWX1wg4PgwAG79WgZQX_0j%2BpDGQMETBpNHYPwg>