From owner-freebsd-mips@freebsd.org Sun Jan 10 06:38:55 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 6E079A6AE77 for ; Sun, 10 Jan 2016 06:38:55 +0000 (UTC) (envelope-from bounces+73574-a620-freebsd-mips=freebsd.org@sendgrid.net) Received: from o3.shared.sendgrid.net (o3.shared.sendgrid.net [208.117.48.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C82C1C4F for ; Sun, 10 Jan 2016 06:38:54 +0000 (UTC) (envelope-from bounces+73574-a620-freebsd-mips=freebsd.org@sendgrid.net) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.info; h=to:from:subject:mime-version:content-type:content-transfer-encoding; s=smtpapi; bh=Qjrosv0jdFLMEQe0R4UzkeRWj9o=; b=fvQ52OgsbeHh76AvND rrizVoj6iK+XhF5wRoSHay0/v9J5MILOYgatjYCzfX2NSEzroSMeJ4rRNXiHz+zi 8ORanxpE8S0Zm5+9ASKUViTEGZ+eVfdAK76E8GiHGrIGUeWDtbRezNvG/oSoqNW7 415YabqYCd690ZlfH8DHWJuNc= Received: by filter0576p1mdw1.sendgrid.net with SMTP id filter0576p1mdw1.12554.5691FC753A 2016-01-10 06:38:45.815764007 +0000 UTC Received: from mail.tarsnap.com (ec2-54-86-246-204.compute-1.amazonaws.com [54.86.246.204]) by ismtpd0003p1iad1.sendgrid.net (SG) with ESMTP id lJxuRJgqShSg_Qmkw4DiJg for ; Sun, 10 Jan 2016 06:38:45.867 +0000 (UTC) Received: (qmail 35510 invoked from network); 10 Jan 2016 06:36:25 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by ec2-107-20-205-189.compute-1.amazonaws.com with ESMTP; 10 Jan 2016 06:36:25 -0000 Received: (qmail 65138 invoked from network); 10 Jan 2016 06:37:56 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by clamshell.daemonology.net with SMTP; 10 Jan 2016 06:37:56 -0000 To: freebsd-mips@freebsd.org From: Colin Percival Subject: Installing on EdgeRouter Lite w/o serial cable Message-ID: <5691FC44.5040001@freebsd.org> Date: Sat, 9 Jan 2016 22:37:56 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SG-EID: xMaNoC9bxFa7hlRakX2VulzGuHjuDHUKqHQvWX18YBJdXMooqzh5mh4tCO17Q+k3HlnzB0MfNmqZGf 4kb/UVjW+4OihqGQXygxyx1/CasIZL4sN5vXxwn+YCqSXN+7Li3TnS2fQo3VcgJ+XPDhUPbBXbQW/k x0TRQRSi0KUycO+gsv0RRrYNi5byF8Gr3ghUjZEJWTM1u5VT3XgAY1K5AWbAjOZ853RnKSmzFqTLlc U= 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, 10 Jan 2016 06:38:55 -0000 In case it's of interest to anyone here... I wrote a script for building disk images for the EdgeRouter Lite: https://github.com/cperciva/freebsd-ERL-build I wrote a blog post about it: http://www.daemonology.net/blog/2016-01-10-FreeBSD-EdgeRouter-Lite.html -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid From owner-freebsd-mips@freebsd.org Tue Jan 12 16:42:42 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 A9E62A80894 for ; Tue, 12 Jan 2016 16:42:42 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (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 41C721EC0 for ; Tue, 12 Jan 2016 16:42:42 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id l65so259695066wmf.1 for ; Tue, 12 Jan 2016 08:42:42 -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=kyEYnshuUM9Ua2qGn6tcS8A2RoIGBC3XJyBT3qqGXpc=; b=DjE1rxvSrextIXV/jiqfw9PenyA5uckSheAIgx3CbWvVuJvSjayuTVqnTucBYK83nd pLGoP13wGBa6BieCqO7wF464ZrZSO024WXY91+QY+SMGIfKer0/coCWjmhmeroVa4X1f DHoSxY6iEm4aBtE6/pgBcL3amuTF94R6+GG9+bLvfssccThNYXRbYPHGZoVpxav2erUH NI5aJ23c0y+FI94BNPLKXSH+MCso977fs7o35xSmEfL445UwdbkbzXdjv2HyEX/0GzkX /DGD6RVvn2W34bvBlpxjaHZeBNEWy08SybM5yuQKwQDCy6JLL4ZpS+Q4CfZTN8+X0oWh 8nCg== 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=kyEYnshuUM9Ua2qGn6tcS8A2RoIGBC3XJyBT3qqGXpc=; b=VhGb9OOaNr1x3CinEVEBx9BaWf+Z98gAt0oeWyuVVQUOvctErVE9Y0rAQyyiBagotx lsqhnggseTYr6RaPA19YWAv5GoHslsSZsmjEPc+strDkaisM4zbUu05YCAm5Dplc+1KI L4eJtr7awO0eWGgvr6AL3hUuwkC81yXzqztvnlCj7CsnoOJqtzJOTD0Pxv/7mfospuEE PvegGSXWKbb5J+ItI8+/0DEw/lphpqbINyhkbTXSxZGLtwIOmpSc1nn+bxnmavKetFXE j6kZ9LxTSu1ipVi0ncKZGsjisD9X4Q1IoaM1b+V+nfiQtHCCEKfc/cZ8LcsYKvkxD4MR vu/g== X-Gm-Message-State: ALoCoQlrCILC2TldUTVxcsZss3L9XGDOL2Y9UnQ/sV+m5XRk7KqYIXTg/mG9H3U4/YcZijZNE0iMUsbV2hzBuyRN/a+qcPNN6A== X-Received: by 10.194.179.162 with SMTP id dh2mr141362809wjc.17.1452616960798; Tue, 12 Jan 2016 08:42:40 -0800 (PST) Received: from ?IPv6:2001:67c:2154:ffff:a809:7401:9830:92b8? ([2001:67c:2154:ffff:a809:7401:9830:92b8]) by smtp.gmail.com with ESMTPSA id yz5sm73100775wjc.36.2016.01.12.08.42.39 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Jan 2016 08:42:40 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3094\)) Subject: Re: Ralink/MediaTek support progress From: Stanislav Galabov In-Reply-To: Date: Tue, 12 Jan 2016 18:42:39 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <881F0883-BEAE-48A2-AB13-F689CE550DA3@gmail.com> References: To: freebsd-mips@freebsd.org 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: Tue, 12 Jan 2016 16:42:42 -0000 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... Best wishes, Stanislav= From owner-freebsd-mips@freebsd.org Thu Jan 14 09:01:14 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 353FBA819A6; Thu, 14 Jan 2016 09:01:14 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (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 E299B138D; Thu, 14 Jan 2016 09:01:13 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id b14so417585257wmb.1; Thu, 14 Jan 2016 01:01:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :cc:to:mime-version; bh=yJb13U2oeLhCUD+3A7yiViQhRldmeJIcnZrHNKg3xhU=; b=gzSNuWuHf5Q7SZf5fxI+7Gj4GXOrv6bQY5NHLYqjMg6EP9m2Esm2RmY67u0m3PBS71 HXOQKbb/S2qLGKbPeW1SuC5uo25UvserUxXcgklOtA7HbVoRS9EYJ2WULjEhHlDIx2u7 sV2HYZRWnb1zh3h/T2GoHbCL6bArU5OC6wVQFmI1z+nTavJpsppqiyQ0cIwxK29Er8cU EqXbacvzmUzd9V8h4XxwgJYHq5GMkCVIyuxRujhr2wdbLxbd6qxASNNkoIpTmP8XqLMs kTsr1pUYZ7it0UK305sXdc5rNCPyaeYpgJH2cT2TdkKygvANPsCESp5z4iuQAZPBY/2h Nbhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :subject:date:message-id:cc:to:mime-version; bh=yJb13U2oeLhCUD+3A7yiViQhRldmeJIcnZrHNKg3xhU=; b=ayJAwbQFwP5MfLCSNoH9D+VcGeOjOvrIqd2AgYTEO4EQ/8NZuBrAfjGTnYtKcO/h01 WayhsK7QHn1GqQ4aJmaymNKuS0cATwh+s08IM7aMQuKGW6Us/FxmN5xQEfYZHlzHgJlS tn/uwzA7MCGBysFOOekD4roumWLbx+u9ExasW5oX6vaIYEVFW0Rozf4c7zMq6lVE2gca IvLBjpb63jr2/WZyXL5hoh1W1gXGPnuVbq5T1USxn7iyUO4J91plqIu9jxVCmPEInNyP kQPIelY3upZMsiisPPB1Wg2jdBqP2eLnMFpgdCV3iHm1YbWtYVpl3aRnXfLLmsmZwPjT ApSQ== X-Gm-Message-State: ALoCoQkNnsjgYp5GOYLoV24kl9SFQKoH4pVOr25pDlKPG6YLTr8AbpP4cvKXBL803BilTCj1PV98f7u+7gB5/TJ7JnXqw8Q87w== X-Received: by 10.195.13.129 with SMTP id ey1mr2690540wjd.132.1452762071916; Thu, 14 Jan 2016 01:01:11 -0800 (PST) Received: from macbookpro-894a.hsmt ([193.178.153.131]) by smtp.gmail.com with ESMTPSA id t76sm6288532wmd.13.2016.01.14.01.01.10 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Jan 2016 01:01:11 -0800 (PST) From: Stanislav Galabov Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: SPI geom_flashmap/fdt_slicer support, FDT 'resets=' support and a move of ohci_fdt.c Date: Thu, 14 Jan 2016 11:01:10 +0200 Message-Id: To: freebsd-mips@freebsd.org, freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3094\)) 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: Thu, 14 Jan 2016 09:01:14 -0000 Hi all, First off, sorry for the cross-post, I wasn=E2=80=99t very sure where = this should go=E2=80=A6 I=E2=80=99ve created 3 PRs, which enable some functionality that my work = on Ralink/Mediatek SoCs would benefit from. 1. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206227 - This enables geom_flashmap and fdt_slicer support for SPI flash chips = supported by the mx25l driver (sys/dev/flash/mx25l.c) 2. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206228 - This adds support for FDT =E2=80=98resets=3D=E2=80=99 property in much = the same way as ian@=E2=80=99s sys/dev/fdt/fdt_clock* supports FDT = =E2=80=98clocks=3D=E2=80=98 property. In fact this work is basically a = modified version of fdt_clock* :-) 3. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206229 - This simply moves the at91 specific sys/dev/usb/controller/ohci_fdt.c = to sys/dev/usb/controller/at91ohci_fdt.c (and changes the filename in = sys/arm/at91/files.at91 as well). The current naming is misleading IMHO = and also, I have some (vague-ish) plans to see if I can implement = generic ohci_fdt and ehci_fdt based on dwc_otg_fdt, so that systems with = standard ehci/ohci controllers can reuse these. Patches are attached to the PRs. I would appreciate any feedback on the PRs and would also appreciate it = if someone could commit these if the proposed changes are appropriate. Best wishes, Stanislav=