From owner-freebsd-mips@freebsd.org Wed Dec 16 13:47:36 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 65064A49275 for ; Wed, 16 Dec 2015 13:47:36 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (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 0323C14E5 for ; Wed, 16 Dec 2015 13:47:36 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id p187so1962232wmp.1 for ; Wed, 16 Dec 2015 05:47:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Bm0dZg41i8wFvgmtOmpAJjorRQDSpPLfnunuEwnpihA=; b=VNIeI+unlkWVBV+uLYVnXNOyR6WufBYAMrhlcKphVkw/8+RjKphTEhNOrx1DjD9Ru8 pTeupEM7TnQBVDT/b04O8JPZJMrPpnHJ9ayviHIOwXKsqCrmZZoWrQph2MZgDyZ0Q95b sS8mC2xPBLW/fo6FEKNcR2drtKROn8YfVs0C7g/0H/GkxJWa4KMZllkgqpi41OiM4V4w vf2W8pVYtxCYBwNo8shh1koOZ9/yc1XjGQMiTZCcuDhWAu/ADYz5d1MdhJKItDrNG3lj iMS12LpMWrFPZEpoqAtnoBS27Veb86MbKuwScbJMTjZeVbB7Vpwj7OAR7TV3LqB6l472 DhuQ== X-Received: by 10.194.117.68 with SMTP id kc4mr50993066wjb.77.1450273654532; Wed, 16 Dec 2015 05:47:34 -0800 (PST) Received: from macbookpro-894a.hsmt ([193.178.153.131]) by smtp.gmail.com with ESMTPSA id l7sm6118461wjx.14.2015.12.16.05.47.33 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Dec 2015 05:47:33 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3094\)) Subject: Re: Initial support for MT7620 From: Stanislav Galabov In-Reply-To: <20151216140557.54abbafbc1a2093be65099dc@ddteam.net> Date: Wed, 16 Dec 2015 15:47:32 +0200 Cc: Stanislav Galabov , freebsd-mips@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <8E7B6604-AAE1-489B-82C1-BD935A7DCBE9@gmail.com> References: <1479DFB0-6B63-4886-B9BA-8F95A44A8ED9@gmail.com> <20151216140557.54abbafbc1a2093be65099dc@ddteam.net> To: Aleksandr Rybalko X-Mailer: Apple Mail (2.3094) 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: Wed, 16 Dec 2015 13:47:36 -0000 > On Dec 16, 2015, at 14:05, Aleksandr Rybalko wrote: >=20 > On Tue, 15 Dec 2015 16:58:31 +0200 > Stanislav Galabov wrote: >=20 >> Hi all, >>=20 >> 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 parts this way). >>=20 >> I=E2=80=99ve done a bit today and I got an MT7620A based board to = boot to multi user with root filesystem on USB stick. >>=20 >> If anyone is interested in the patch, it can be found here: >> https://www.dropbox.com/s/e880eutzvlms8h7/mt7620_patch.diff?dl=3D0 >>=20 >> 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. >>=20 >> 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 = hopefully :-) >>=20 >> I would also appreciate feedback for the attached patch... >>=20 >> 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" >=20 > Hi Stanislav! >=20 > There is patch #1 that did my friend, Alexander A. Mityaev. > Patch cover to things: > 1. enable support of RT5350 > 2. enable FDT configuration for RTxxxx family >=20 > First thing may help you to bring if_rt up. Second one may help to = work > in right direction, because FDT makes adding new SoC support to looks > like writing config (except some new devices, which will require new > driver for it). >=20 > I'm glad to help, but currently limited in time I can spend. > Anyway, I will try to answer your questions ASAP. >=20 > Thank you! >=20 > [1] http://dev.mt.mk.ua/patch-20150519.diff.gz) >=20 > WBW > --=20 > Aleksandr Rybalko Hi Aleksandr, Thanks for the patch! I=E2=80=99ll have a look at it and will see what I = can do. Also, thanks for your offer to answer my questions, I really = appreciate it. I was thinking of FDT for the Ralink/Mediatek support, but I figured it = would be beneficial to see if there is interest in these platforms at = all in the community or not, so that=E2=80=99s why I first started = working on adding basic support for more SoCs before trying to move to = FDT (although I agree that moving to FDT first may have been wiser :-)). I am willing to work on moving the Ralink/Mediatek family support to FDT = and doing more work on supporting currently unsupported peripherals (as = far as I can be of any use), but I would only do so if the changes I = make would end up committed to FreeBSD - I have no interest in doing = something that will go unused by anyone=E2=80=A6 So if any committer is willing to suffer going through my patches and = getting them in the tree - I=E2=80=99ll do my best, provided I have some = spare cycles to work on this. I am also willing to do the commits myself = (under proper supervision, of course) if my work is considered useful = and of acceptable standards. Best wishes, Stanislav