From owner-freebsd-mips@freebsd.org Sun Jan 17 16:54:48 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 708FDA85F85 for ; Sun, 17 Jan 2016 16:54:48 +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 095291010 for ; Sun, 17 Jan 2016 16:54:48 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id l65so73580601wmf.1 for ; Sun, 17 Jan 2016 08:54:47 -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=pGhyqXUmrxUU1unM+YO/oMHcJ1VHT9YmNCM/kCUt6kc=; b=j6lvvZ01AiWnUdXyiZkW94lXi3h3vKBDRBbmLgEyrkh4mZ1ugk/6Q116s5KquwEDv0 7ebKPaYmbSajJMEazx2DOhJkSiD4TSML+6fuvmti9ORe1DLseVeZU0g/xJwunWIwOEAf byN3M1DiMnhfq7Ae9UIkb/6xmqao1hVgThB6PxgGmN3OhMRFxNLrCHqV1D3sNO5HH241 CsUeXjwwvk7B2h8bzyhq6fpI3p6J3yveKQmvt7Nq3O8sjRg3oK9bktr3NFMVxETkP/c2 1u94pMjfyGYtHy6neFqr3TX6+o6qMGNHPdzML7U/US3yeH3AcOouRR70VzLjKq31htOp v6VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=pGhyqXUmrxUU1unM+YO/oMHcJ1VHT9YmNCM/kCUt6kc=; b=KW1CHy79Q8xsWCAGRNiLFsTY/V++MMRoItTf7VKH/aPdC0TIjD4GbW/XIpZgJL318U rSgEpiGNcIKVviTZEtD0WNzKd47nLwuSmNhc7OPt70ubVLPNVFrsS5B8TFcUQlIsqFVw JaH/oKiYUhwpIX5Er3Hl6bf4RcAJ8Ol8UYtlTuQFyp2PwZk2z35ayp/4/sMfQ1ko+NU+ fMn5Gxc9m+u7UDIehKu8gsGKIxMOq9lycohSeO9x0cj6unPnBNmBO/SdTQFUyG7xmLyL 9dw97sI7hz9mxx4bUWVMx3e/nq+239sPZjf1aWdDDpSaeitYhuOyX2at4wLoDI+t5xpp bEMg== X-Gm-Message-State: AG10YOSdjktPwCxgtgSwQeNHTfnkjCIfkxUXduHHjePYd+IuXNG4QaL0p2AaQZKX1JgohA== X-Received: by 10.28.3.131 with SMTP id 125mr9472541wmd.14.1453049685425; Sun, 17 Jan 2016 08:54:45 -0800 (PST) Received: from [10.0.50.12] ([94.155.70.123]) by smtp.gmail.com with ESMTPSA id c185sm11877245wma.5.2016.01.17.08.54.44 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jan 2016 08:54:44 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Ralink/MediaTek support progress From: Stanislav Galabov X-Mailer: iPhone Mail (12B440) In-Reply-To: <569BBE18.9030407@digiware.nl> Date: Sun, 17 Jan 2016 18:54:44 +0200 Cc: "freebsd-mips@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <84A69225-ECF3-4B16-B1E8-CED754A67F16@gmail.com> References: <881F0883-BEAE-48A2-AB13-F689CE550DA3@gmail.com> <569BBE18.9030407@digiware.nl> To: Willem Jan Withagen 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:54:48 -0000 Hi Willem, The right branch is local/sgalabov_mtk. Best wishes, Stanislav > On Jan 17, 2016, at 18:15, Willem Jan Withagen wrote: >=20 >> On 12-1-2016 17:42, Stanislav Galabov wrote: >> Hi all, >>=20 >> Just to let you know that there is now basic support for MT7621 in my git= hub branch: >> https://github.com/sgalabov/freebsd/tree/local/sgalabov_mtk >>=20 >> 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 hav= e MT7621 boards (e.g., WiTi board). >>=20 >> The kernel config is MT7621. It is currently configured for MFS, but can b= e configured for NFS of course :-) >>=20 >> Work continues... >=20 > In the master branch is not MT7621 configs available. >=20 > In local/mt7621 > and local/sgalabov_mt7621 > they are, but then building gives me: >=20 > 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" >=20 > 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. >=20 > But than the next one is: > /usr/srcs/Mips/MT6721/freebsd/sys/mips/mt762x/rt305xreg.h >=20 > So I'm definitly not in the right branch with local/mt7620.... >=20 > Which one do I need for the MT7621? >=20 > --WjW >=20 >=20 >=20 >=20 >=20 >=20 >=20