From owner-freebsd-mips@freebsd.org Sat Dec 19 06:31:20 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 CB108A4CBBC for ; Sat, 19 Dec 2015 06:31:20 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: from mail-vk0-x236.google.com (mail-vk0-x236.google.com [IPv6:2607:f8b0:400c:c05::236]) (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 8CBA0133A for ; Sat, 19 Dec 2015 06:31:20 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: by mail-vk0-x236.google.com with SMTP id j66so76999653vkg.1 for ; Fri, 18 Dec 2015 22:31:20 -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 :content-type; bh=mwUM9Ow8Hz02y77w0vKEbj1j8wHszdCWhkRZikr5ge4=; b=eFP7OQLHaAgHTeU51NIB18q6+k+V7cPybau/g61k5boP4DIWLjmgPSn/npfVUh/cuq 1aRdwPUtEbySTM3sIDcuMaMLoaG5IlAFs2Ao3gwA9tKR7U7hmGLnDGlQeIhjhSuMU/t6 zmXbhUCf/ZRbznPxzK/TwdksD9t1HwxmhShSJ6JD6p2rdb3oJK7+VqfqCxYyn5oC/wkF FBhg7YO6JPGKpCVqkIBeW0SwIuhlkIxlXEYZnffS1fFz15AqXhISyayMcyMxgnNDJhG5 J36Y6sjIpEfIG+v2xt4Qp81C27eZCNzGKD+JRiPKpzczkjsBM4Y6k6mpGgmkQ3gfiN0L OGjQ== MIME-Version: 1.0 X-Received: by 10.31.16.226 with SMTP id 95mr4773114vkq.143.1450506679339; Fri, 18 Dec 2015 22:31:19 -0800 (PST) Received: by 10.31.175.201 with HTTP; Fri, 18 Dec 2015 22:31:19 -0800 (PST) In-Reply-To: <1479DFB0-6B63-4886-B9BA-8F95A44A8ED9@gmail.com> References: <1479DFB0-6B63-4886-B9BA-8F95A44A8ED9@gmail.com> Date: Sat, 19 Dec 2015 08:31:19 +0200 Message-ID: Subject: Re: Initial support for MT7620 From: Stanislav Galabov To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Sat, 19 Dec 2015 06:31:20 -0000 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/rt3= 05x 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 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 par= ts this > way). > > 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. > > 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 workin= g > 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 hopefully= :-) > > I would also appreciate feedback for the attached patch... > > Best wishes, > Stanislav