From owner-freebsd-mips@freebsd.org Fri Dec 11 16:36:01 2015 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D861D9D8B5A for ; Fri, 11 Dec 2015 16:36:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A6F6F180B for ; Fri, 11 Dec 2015 16:36:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iouu10 with SMTP id u10so134582097iou.0 for ; Fri, 11 Dec 2015 08:36:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=1clKE3cXWN40MvsK7TERLeIlwRRTiI2N/Ucc31IFLCY=; b=WjO/gBGnnibw+qZefIaOylAKGs70q1tZRhS8Ac3ecAitufYar/DcE4G6ZXCP4++hpT XbFdfjMTgndA6uicl0UFt6AXL1n2Cb0svDEe3dyEX65iQyuDhHoBSU/VPWtTWW225hnZ WNWtqTiEUxQN4HBUYmyR0PPVqrs4eLE5znyC0a8BQwEP9LBi2VscygIuiKW9WgKQGlL/ tCsshnnFZNHogBXx2RvlBUTJk6dC0Ym1QlAKns2amjdkElZzXD0ZwD4reWMNsOQvyVCg KKrzTpAoiNMWA0FqR4KRfgbH3PIx7CTRd3iI+2lXSnHbL96NXews5//OzMom/WguZku6 PkfQ== MIME-Version: 1.0 X-Received: by 10.107.10.199 with SMTP id 68mr17278007iok.75.1449851761056; Fri, 11 Dec 2015 08:36:01 -0800 (PST) Received: by 10.36.121.202 with HTTP; Fri, 11 Dec 2015 08:36:00 -0800 (PST) In-Reply-To: References: Date: Fri, 11 Dec 2015 08:36:00 -0800 Message-ID: Subject: Re: Interest in support for Mediatek/Ralink SoCs? From: Adrian Chadd To: Stanislav Galabov Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Dec 2015 16:36:02 -0000 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 wrote: > >> On Dec 11, 2015, at 10:25, Stanislav Galabov 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"