From owner-freebsd-mips@freebsd.org Sun Jan 17 16:30:29 2016 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 27AB6A8560D for ; Sun, 17 Jan 2016 16:30:29 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E898A137F for ; Sun, 17 Jan 2016 16:30:28 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 36CCA153A51; Sun, 17 Jan 2016 17:30:15 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9r9u8PwRfuoc; Sun, 17 Jan 2016 17:30:05 +0100 (CET) Received: from [192.168.10.10] (asus [192.168.10.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 41BEA153413; Sun, 17 Jan 2016 17:15:20 +0100 (CET) Subject: Re: Ralink/MediaTek support progress To: Stanislav Galabov , freebsd-mips@freebsd.org References: <881F0883-BEAE-48A2-AB13-F689CE550DA3@gmail.com> From: Willem Jan Withagen X-Enigmail-Draft-Status: N1110 Message-ID: <569BBE18.9030407@digiware.nl> Date: Sun, 17 Jan 2016 17:15:20 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <881F0883-BEAE-48A2-AB13-F689CE550DA3@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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: Sun, 17 Jan 2016 16:30:29 -0000 On 12-1-2016 17:42, Stanislav Galabov wrote: > Hi all, > > Just to let you know that there is now basic support for MT7621 in my github branch: > https://github.com/sgalabov/freebsd/tree/local/sgalabov_mtk > > Currently only UART, interrupts, SPI and basic ethernet support is there (no SMP either for now), but I thought it may be of interest to those who have MT7621 boards (e.g., WiTi board). > > The kernel config is MT7621. It is currently configured for MFS, but can be configured for NFS of course :-) > > Work continues... In the master branch is not MT7621 configs available. In local/mt7621 and local/sgalabov_mt7621 they are, but then building gives me: In file included from /usr/srcs/Mips/MT6721/freebsd/sys/mips/mt762x/rt305x_sysctl.c:41: /usr/srcs/Mips/MT6721/freebsd/sys/mips/rt305x/rt305xreg.h:45:2: error: #error "No platform selected" In file included from /usr/srcs/Mips/MT6721/freebsd/sys/mips/mt762x/rt305x_ic.c:41: /usr/srcs/Mips/MT6721/freebsd/sys/mips/rt305x/rt305xreg.h:45:2: error: #error "No platform selected" So it does not have a PLATFORM_COUNTER_FREQ defined. copying /usr/srcs/Mips/MT6721/freebsd/sys/mips/rt305x/rt305xreg.h helps for this file. But than the next one is: /usr/srcs/Mips/MT6721/freebsd/sys/mips/mt762x/rt305xreg.h So I'm definitly not in the right branch with local/mt7620.... Which one do I need for the MT7621? --WjW