Date: Tue, 15 Dec 2015 02:15:53 +0200 From: Stanislav Galabov <sgalabov@gmail.com> To: Aleksandr Rybalko <ray@dlink.ua> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: Interest in support for Mediatek/Ralink SoCs? Message-ID: <FAD7FE1A-A69F-4EED-A471-C93335883F7A@gmail.com> In-Reply-To: <CAJ1Oi8F89kjpEXJAp2RMVMk0sddriXqXk2yZ01aor=FvAM5yjQ@mail.gmail.com> References: <F35AF02A-DC31-4B5F-9349-26C2FF47F5C2@gmail.com> <E4AEB37F-8E44-4371-8E2B-231711E08D17@gmail.com> <CAJ-VmonsorjWktcrWvREXCM_gDrk9S7X_U18HhjOpLZ-WPz46w@mail.gmail.com> <E66699CE-C068-4084-845A-ABBB227C495B@gmail.com> <435B59EC-2C17-48FC-AED1-337DBE6829CB@gmail.com> <6CE6533C-D7CE-4B17-9530-3559A4F5D0CD@gmail.com> <CAJ1Oi8F89kjpEXJAp2RMVMk0sddriXqXk2yZ01aor=FvAM5yjQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Aleksandr, My board is really similar to the WiTi board. Main differences are that mine= only has 1 SATA port wired off of the ASMedia 1061 instead of 2 and has an e= xtra PCIe slot with only USB wired to it for 3G modem support and a SIM card= slot to go with it. It also has 512MB RAM and 16MB SPI flash. Best wishes, Stanislav > On 15.12.2015 =D0=B3., at 0:43, Aleksandr Rybalko <ray@dlink.ua> wrote: >=20 > Hi all! >=20 > Stanislav, what board are you use? > Is it have flash with size to only have uboot in it? >=20 > Thanks for great work! > WBW >=20 > 2015-12-12 10:14 GMT+02:00 Stanislav Galabov <sgalabov@gmail.com>: >> Sorry, the previous version was compiled with SMP support, which is far f= rom working right now=E2=80=A6 please use the following one for now if inter= ested: >> https://www.dropbox.com/s/t1wevprzlsfegr0/kernel.uboot?dl=3D0 >>=20 >> Stanislav >>=20 >> > On Dec 12, 2015, at 09:57, Stanislav Galabov <sgalabov@gmail.com> wrote= : >> > >> > Hi all, >> > >> > I=E2=80=99ve sent the files to Adrian and will be cleaning things next w= eek so we can start off with MT7621 support a little cleaner. >> > >> > In the meantime, if anyone wants to try to boot a kernel on their MT762= 1 boards, I=E2=80=99ve put one here: >> > https://www.dropbox.com/s/t1wevprzlsfegr0/kernel.uboot?dl=3D0 >> > >> > It=E2=80=99s a uImage, so you=E2=80=99d have to get it on the board in u= -boot via tftp and do a bootm on it. >> > For example (from the u-boot prompt): >> > tftp 0x80800000 kernel.uboot; bootm 0x80800000 >> > >> > There currently is no file system within the kernel. It expects to find= a filesystem on ada0, attached to ASMedia 1061 on the pci bus (in case your= boards have SATA ports). So if you don=E2=80=99t have SATA you won=E2=80=99= t have a filesystem, but at least we=E2=80=99ll know whether it boots on you= r boards or not. >> > >> > Please let me know if it boots on your boards. >> > >> > Best wishes, >> > Stanislav >> > >> >> On Dec 11, 2015, at 18:40, Stanislav Galabov <sgalabov@gmail.com> wrot= e: >> >> >> >> Now this is something I was hoping for :-) >> >> >> >> I=E2=80=99ll tidy things up next week and I=E2=80=99ll send the initia= l dirty patches over to you only (for now) if it=E2=80=99s ok with you? >> >> I=E2=80=99ve hacked on top of the rt305x support that=E2=80=99s in the= tree for now, but in a mt762x directory and there are still a lot of leftov= ers from rt305x, but at least the thing boots and goes multiuser albeit on a= single core right now :-) >> >> >> >> Please let me know if this works for you. >> >> >> >> Best wishes, >> >> Stanislav >> >> >> >>> On Dec 11, 2015, at 18:36, Adrian Chadd <adrian.chadd@gmail.com> wrot= e: >> >>> >> >>> 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> w= rote: >> >>>> >> >>>>> On Dec 11, 2015, at 10:25, Stanislav Galabov <sgalabov@gmail.com> w= rote: >> >>>>> >> >>>>> Hi all, >> >>>>> >> >>>>> Is there any interest on bringing support for Ralink/Mediatek more u= p-to-date SoCs, such as MT7620, MT7628, MT7688 and, notably, MT7621 to FreeB= SD? >> >>>>> >> >>>>> The first three are pretty standard in terms of CPU - they=E2=80=99= re 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 MT76= 21 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 cont= roller (gic) for example and could be interesting from this perspective as w= ell 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 diffic= ulties figuring out the proper cache and TLB management so it basically does= n=E2=80=99t support SMP at the moment. >> >>>>> >> >>>>> I have also done some work on PCI support for the MT7621 and am cur= rently using userland on a SATA drive, connected to an ASMedia 1061 on the P= CI bus, which seems to be quite stable as well, although the code is nowhere= near ready to show to other people :-) >> >>>>> >> >>>>> The support for all the peripherals, however, is not something I wo= uld 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), but it ne= eds 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, especia= lly given the lack of documentation=E2=80=A6 however, a piece of good news i= s that OpenWRT supports most/all of these chipsets, so at least we would hav= e 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 gu= ys can 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 d= isk with root filesystem (UFS) attached on an ASMedia 1061 on PCIe. :-) >> >>>> >> >>>> Also, for the guys that mentioned they had MT7621 based boards: how m= uch RAM do you guys have on your boards? I have 512MB on mine, but I=E2=80=99= ve 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.o= rg" >> >> >> > >>=20 >> _______________________________________________ >> 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" >=20 >=20 >=20 > --=20 > WBW > ------- > Rybalko Aleksandr <ray@dlink.ua> > aka Alex RAY <ray@ddteam.net> > D-Link.ua
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FAD7FE1A-A69F-4EED-A471-C93335883F7A>