From owner-freebsd-mips@freebsd.org Mon Nov 30 21:54:34 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 84686A3DC35 for ; Mon, 30 Nov 2015 21:54:34 +0000 (UTC) (envelope-from alex.deiter@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 2490F1226 for ; Mon, 30 Nov 2015 21:54:34 +0000 (UTC) (envelope-from alex.deiter@gmail.com) Received: by wmvv187 with SMTP id v187so178636354wmv.1 for ; Mon, 30 Nov 2015 13:54:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=pPwGD7zj+4vp9tbnYsICAjAlZghxVp3GjjeJ2NyhOz4=; b=cJTBliTGKEJQSxl5ZeGM3yT+pwUbnbB/tddIkzAM8F8RzTn232XOjFT5wMU11nZcre C2HqBPVIvOLCSNzHGw5/7OynzmKqkPDqum8JVrUqTYZXdQgyfaqQvcI88nZhOzDSUvNZ B4+o/Vmv/j9pCFd02UOxrf7d/PXT4vzF8zmkRfgoWhkvVkebyZVimdKGvCm3MsOZ92I1 y9DQsJqjSWZI1mGv9q1i+shK0Rp0+qR4Y9F5lYGHBFXrm1X1fQ4ZZP/vwGB74vZ7aClB 6DsGpwQZsdOOniH+ldRh0+EsPbR9WF3bksq6H8FJRaMiFhurLeIffdyl2El4VBIbxiu2 fHWg== MIME-Version: 1.0 X-Received: by 10.28.24.5 with SMTP id 5mr32192493wmy.3.1448920471396; Mon, 30 Nov 2015 13:54:31 -0800 (PST) Received: by 10.27.212.146 with HTTP; Mon, 30 Nov 2015 13:54:31 -0800 (PST) Date: Tue, 1 Dec 2015 00:54:31 +0300 Message-ID: Subject: support for Qualcomm Atheros QCA9558 / D-Link DAP-2695 From: Alex Deiter To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=UTF-8 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: Mon, 30 Nov 2015 21:54:34 -0000 Hello, I found that the Qualcomm Atheros QCA9558 platform is already supported. Please tell me whether it is possible support for D-Link DAP-2695 ? https://wiki.openwrt.org/toh/d-link/dap-2695 SoC Ram Flash Network USB Serial JTag Qualcomm Atheros QCA9558@720MHz 256MiB 16MiB 2 Yes Yes ? Thank you! -- Alex Deiter From owner-freebsd-mips@freebsd.org Mon Nov 30 22:45:11 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 8BBE5A3D860 for ; Mon, 30 Nov 2015 22:45:11 +0000 (UTC) (envelope-from michael.iline@yahoo.com) Received: from nm45-vm5.bullet.mail.gq1.yahoo.com (nm45-vm5.bullet.mail.gq1.yahoo.com [67.195.87.163]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5E4F51C5E for ; Mon, 30 Nov 2015 22:45:11 +0000 (UTC) (envelope-from michael.iline@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1448923392; bh=im7HUZPzfdc+EAcIQm14mWzR2oQPkr3gLkYZf1gwxK0=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=U66ENNljhBeBybKmf19hMhdvaAFtOjMGMFeX2UcYKuzVtxQvRCUokMAPggsOdPobRrOkO0csP0c6nIRUl56TojJR0nPcrVqcVt5s+fYhvlDCQcfvkwnjvR3cu71qj9th/8Bj8Tt+MoldYu0NB9V0HT4ZmCA3JrPxceEGzKrkCrKCcXNhvFZBXW8eBpWY6C4k7U2gB+c5puA3xlCSAyJZZS1m1vllyaMLz4j/Y6HzbVbfhFMJzpz4tcVk7+wR9rZbj+LAWcBQfYqALaW6p3KHXb72wXB0JMb72/kcu5HyJn7XVZDB54/tDQ6kINnPQZ4eB9EWS6+PN0hRgNV5OwnsPA== Received: from [127.0.0.1] by nm45.bullet.mail.gq1.yahoo.com with NNFMP; 30 Nov 2015 22:43:12 -0000 Received: from [98.137.12.58] by nm45.bullet.mail.gq1.yahoo.com with NNFMP; 30 Nov 2015 22:40:12 -0000 Received: from [98.139.215.142] by tm3.bullet.mail.gq1.yahoo.com with NNFMP; 30 Nov 2015 22:40:12 -0000 Received: from [98.139.212.216] by tm13.bullet.mail.bf1.yahoo.com with NNFMP; 30 Nov 2015 22:40:12 -0000 Received: from [127.0.0.1] by omp1025.mail.bf1.yahoo.com with NNFMP; 30 Nov 2015 22:40:12 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 388336.17855.bm@omp1025.mail.bf1.yahoo.com X-YMail-OSG: 9YUBuQMVM1lCVmcMG.X5VNA9J0dV.bjGgJO9jTnVzrLFKrPCnnqx.homAMMZ1hJ 5b7Wkchc_cBfJW6LRC_oJ1VvigDG5Lo.Bp9_rP.NVj0bnoDBR0yrcxEjGK.55gNbC5I1ltSuZcaT Md5u4OiHBAHjVF.HznYGWzSlUXwpjxxxmGmJSG.Jz_O1IgOYOGxej5rx0ol._93zBvgjiH_X548M 3hnQ0yfal61BrBQd.x3w2b8hTPj6wYb7mn.YhvBYjoURlgaKBU1Ft74jKtqluOW_yFnCs3ZHPDpd tab_b9WCrzHoSvFxDm6vtg7rUTSQCJl1gk1jc0lBh9DRZcWv_VIhJpxYPYI6HR12lweyoPxIvyJe 2pb6E2oyWRS4B_WxWQ3ePYLcOuoA1EIHmhVFf.Z9NbTUMkGTUM4FgNal3ypdtmGuibam6ndCHkVT vw2dp9VWuyComHGw8puU97Pt_BzkRyG0YnsV1y0TM1xPUG4GuiuILHJauRuf.Gxu.7yoDDdifG6Z JjqS7whtM73SEJ7D21JBvQjL0p2eomeIL Received: by 76.13.27.196; Mon, 30 Nov 2015 22:40:11 +0000 Date: Mon, 30 Nov 2015 22:40:11 +0000 (UTC) From: Michael Iline Reply-To: Michael Iline To: "freebsd-mips@freebsd.org" Message-ID: <254027871.12583504.1448923211678.JavaMail.yahoo@mail.yahoo.com> Subject: No serial read access on WR1043ND v2.1 MIME-Version: 1.0 References: <254027871.12583504.1448923211678.JavaMail.yahoo.ref@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: Mon, 30 Nov 2015 22:45:11 -0000 Hello everyone. I've been working hard on trying to get FreeBSD on my wr1043nd v2.1 but I'm having a lot of trouble that nobody else seemed to encounter... Here is a forum post that I created on the topic:https://forum.openwrt.org/viewtopic.php?id=61240It contains a brief description of the issue as well as some photos of my board. There are two reasons I'm posting on this list.First, I'm hoping someone can provide some insight on my problem.Second, maybe I can find a workaround. Viper-7 from ##electronics at freenode suggested that other methods of flashing the image may be used, since I do have an working OpenWRT installation. He recommended this: https://wiki.openwrt.org/toh/tp-link/tl-wr1043nd#flashingrecovery_using_tftp_only_without_serial_consoleI'd like to hear some thoughts before I go ahead and do this, as because of my serial writing issues bricking the device would be extra painful for me. Please let me know of someone can provide some assistance, and be sure to tell me if you need any more info. Thanks in advanceMichael From owner-freebsd-mips@freebsd.org Tue Dec 1 00:23:21 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 C49DAA3A174 for ; Tue, 1 Dec 2015 00:23:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (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 87E6D1301 for ; Tue, 1 Dec 2015 00:23:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igvg19 with SMTP id g19so83096346igv.1 for ; Mon, 30 Nov 2015 16:23:21 -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 :cc:content-type:content-transfer-encoding; bh=MnkhOlBIYUu1EH+zq9X7gjhY/7k+NVwKdUsT7y/Njhw=; b=gUD3B8VhqTAWAzH/Rz6aEmrHIuTiv/F1ekPVoo7/emmUOffVui8cxVFkUQhTDMCFE2 XE+zk9ipslfci+4LiX3AtreRQ4IWsYTbx5lTgv1NfhatcSoiOHTxSXMjveleI/YwZ3yC gmLyOuBc/gZV2aFw0Da5bycJiojzc1G5cpG6J2hDVPN3Ea74dobcI+l+bo5eQel21uyA fef/BHIsogSiPFDPpbJ2/tWJi0g7xDthERAndI4NWlp1UOuElYieNXXZ4bnWYJvKLsrs M2sGw/XkVzfvdlEMK+GiPQzog7HZ/HUpe86O6hf9uip+TvOqotnJiDLgXLIot/zWhr2V Py+w== MIME-Version: 1.0 X-Received: by 10.50.62.104 with SMTP id x8mr22316344igr.22.1448929401001; Mon, 30 Nov 2015 16:23:21 -0800 (PST) Received: by 10.36.217.196 with HTTP; Mon, 30 Nov 2015 16:23:20 -0800 (PST) In-Reply-To: <254027871.12583504.1448923211678.JavaMail.yahoo@mail.yahoo.com> References: <254027871.12583504.1448923211678.JavaMail.yahoo.ref@mail.yahoo.com> <254027871.12583504.1448923211678.JavaMail.yahoo@mail.yahoo.com> Date: Mon, 30 Nov 2015 16:23:20 -0800 Message-ID: Subject: Re: No serial read access on WR1043ND v2.1 From: Adrian Chadd To: Michael Iline Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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, 01 Dec 2015 00:23:21 -0000 you may have to solder something on the board - sometimes they don't populate resistors or 0 ohm links. That photo looks like they're all populated though. Hm. Does the serial console work once openwrt is booted? -a On 30 November 2015 at 14:40, Michael Iline via freebsd-mips wrote: > Hello everyone. > I've been working hard on trying to get FreeBSD on my wr1043nd v2.1 but I= 'm having a lot of trouble that nobody else seemed to encounter... Here is = a forum post that I created on the topic:https://forum.openwrt.org/viewtopi= c.php?id=3D61240It contains a brief description of the issue as well as som= e photos of my board. > There are two reasons I'm posting on this list.First, I'm hoping someone = can provide some insight on my problem.Second, maybe I can find a workaroun= d. Viper-7 from ##electronics at freenode suggested that other methods of f= lashing the image may be used, since I do have an working OpenWRT installat= ion. He recommended this: https://wiki.openwrt.org/toh/tp-link/tl-wr1043nd#= flashingrecovery_using_tftp_only_without_serial_consoleI'd like to hear som= e thoughts before I go ahead and do this, as because of my serial writing i= ssues bricking the device would be extra painful for me. > Please let me know of someone can provide some assistance, and be sure to= tell me if you need any more info. > Thanks in advanceMichael > > _______________________________________________ > 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" From owner-freebsd-mips@freebsd.org Tue Dec 1 00:24:39 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 019BAA3A1CA for ; Tue, 1 Dec 2015 00:24:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (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 C2C5A134A for ; Tue, 1 Dec 2015 00:24:38 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by ioir85 with SMTP id r85so192948237ioi.1 for ; Mon, 30 Nov 2015 16:24:38 -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 :cc:content-type; bh=Lw91UGVfO+GcAaMCHv/8YVD2iPAiPVxlHPmmu0lbYvQ=; b=NVAl4UhvAr/0BYhSQBBAEj+WRu4Hjf8Fk7uxF7acbMZHbtnZF3gQlxsUHRpvbiVWpa 7mK1i83Qoc+Te3E6KPxT8OYu8MQmgFYLe1/JzDo1fq67N0y8shzEAD8tXkbqWn5MCCH8 0rMI/eYzPavFptBWXQ5eszb0ohTZrCkeXuUsntt6WDPhAStdMJHyr7HbVyV8udxN8/BD RsELAME2EGvOmUA6gHU6g2APB/ZPQg5d0fvbdkRsn8zmoPjR2Jeoj5nprPastUQz/OUE EbL5uGRIfUgOC7eJXJex8nl2G1SF1YBAmrusR9Nkk9mQf9ZPk0q5HofTJC7yC3FxsHV6 bPpA== MIME-Version: 1.0 X-Received: by 10.107.11.147 with SMTP id 19mr57671524iol.165.1448929478195; Mon, 30 Nov 2015 16:24:38 -0800 (PST) Received: by 10.36.217.196 with HTTP; Mon, 30 Nov 2015 16:24:38 -0800 (PST) In-Reply-To: References: Date: Mon, 30 Nov 2015 16:24:38 -0800 Message-ID: Subject: Re: support for Qualcomm Atheros QCA9558 / D-Link DAP-2695 From: Adrian Chadd To: Alex Deiter Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 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, 01 Dec 2015 00:24:39 -0000 We support everything except the 11ac 5GHz chip, but someone will have to figure out what's required to get it to accept an alternate firmware. I'll go see how much one of these are. -adrian On 30 November 2015 at 13:54, Alex Deiter wrote: > Hello, > > I found that the Qualcomm Atheros QCA9558 platform is already supported. > Please tell me whether it is possible support for D-Link DAP-2695 ? > > https://wiki.openwrt.org/toh/d-link/dap-2695 > > SoC Ram > Flash Network USB Serial JTag > Qualcomm Atheros QCA9558@720MHz 256MiB 16MiB 2 Yes Yes ? > > Thank you! > > -- > Alex Deiter > _______________________________________________ > 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" From owner-freebsd-mips@freebsd.org Tue Dec 1 00:48: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 810FFA3A858 for ; Tue, 1 Dec 2015 00:48:36 +0000 (UTC) (envelope-from alex.deiter@gmail.com) Received: from mail-pa0-x229.google.com (mail-pa0-x229.google.com [IPv6:2607:f8b0:400e:c03::229]) (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 5B99F1FC8 for ; Tue, 1 Dec 2015 00:48:36 +0000 (UTC) (envelope-from alex.deiter@gmail.com) Received: by pabfh17 with SMTP id fh17so207810456pab.0 for ; Mon, 30 Nov 2015 16:48: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=jEMwCkwjmIC6cr9ixun6DjaOVW7kTTd0KSJWuZAty+w=; b=ZAXH8rsJenYfl7rQGg6BJGVmiCP8lAFeufWex5rtPZZX3oVGIS9DCDR/UmiCZZsk4D Dpy62be61rzMGbYX8NN0rM56byzoiAZCfUrRHN5AezndVNFsJzMU1v9OeUcMn7FWWcDB sr8Wmw0CtJVDE8DS2aHaXqYAT3kLK3GL+xQ7wgIipRdLTroVXwXx4mZV3Ld7lNQIMrA6 LYvymRaWvR6eaWR9D8qnPwPUm23qmk2IF43FpwdDYsA/BsJVbI6va3vMQRoetFi65ul/ 5c8srUdUWE1NCZIAM+pGymYBLSg/jECN5w7xtR1Ss7jSRQ5gMHtYjrBwj7liFZSWYlzk KN6w== X-Received: by 10.66.190.66 with SMTP id go2mr96846863pac.114.1448930915860; Mon, 30 Nov 2015 16:48:35 -0800 (PST) Received: from [172.27.10.112] ([109.167.138.157]) by smtp.gmail.com with ESMTPSA id 82sm53620745pfn.76.2015.11.30.16.48.34 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Nov 2015 16:48:35 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: support for Qualcomm Atheros QCA9558 / D-Link DAP-2695 From: Alex Deiter In-Reply-To: Date: Tue, 1 Dec 2015 03:48:31 +0300 Cc: "freebsd-mips@freebsd.org" Content-Transfer-Encoding: 7bit Message-Id: References: To: Adrian Chadd X-Mailer: Apple Mail (2.3096.5) 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, 01 Dec 2015 00:48:36 -0000 Hello, Great, thank you very much! > On 01 Dec 2015, at 03:24, Adrian Chadd wrote: > > We support everything except the 11ac 5GHz chip, but someone will have > to figure out what's required to get it to accept an alternate > firmware. > > I'll go see how much one of these are. > > > -adrian > > On 30 November 2015 at 13:54, Alex Deiter wrote: >> Hello, >> >> I found that the Qualcomm Atheros QCA9558 platform is already supported. >> Please tell me whether it is possible support for D-Link DAP-2695 ? >> >> https://wiki.openwrt.org/toh/d-link/dap-2695 >> >> SoC Ram >> Flash Network USB Serial JTag >> Qualcomm Atheros QCA9558@720MHz 256MiB 16MiB 2 Yes Yes ? >> >> Thank you! >> >> -- >> Alex Deiter >> _______________________________________________ >> 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" From owner-freebsd-mips@freebsd.org Tue Dec 1 04:32:39 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 F40B2A3D878 for ; Tue, 1 Dec 2015 04:32:38 +0000 (UTC) (envelope-from silvio@konnet.com.br) Received: from esu01.consoftmg.com.br (esu01.consoftmg.com.br [189.39.192.62]) by mx1.freebsd.org (Postfix) with ESMTP id 9635310B7 for ; Tue, 1 Dec 2015 04:32:37 +0000 (UTC) (envelope-from silvio@konnet.com.br) Received: from [192.168.100.10] (host-177-22-225-24.consoftmg.com.br [177.22.225.24]) by esu01.consoftmg.com.br (Postfix) with ESMTPSA id 0B72E40863 for ; Tue, 1 Dec 2015 02:23:04 -0200 (BRST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konnet.com.br; s=mail; t=1448943785; bh=a1aBHQfrNS+LciqHaLbwrYn9F886QA598dBnACL1JWg=; h=To:From:Subject:Date; b=cizrsXJy5o0UX/bNLN40sEIHnzwqODwdvppjL4BKNCNg7ZbgFJyp9jukIMBNmWsBB //yU54GpaqNOZ0AxcNpbYBrU83SEG8QP71rHRFh+K+Fafjjg+9IrbXfmbOm5MpdJkN Msk3wyAKuvmGUYnWf5Os0jygwfevCH+7ZMwn+Kew= To: freebsd-mips@freebsd.org. From: Silvio Barros Subject: EdgeRouter Pro USB problem Message-ID: <565D20A7.4050803@konnet.com.br> Date: Tue, 1 Dec 2015 02:23:03 -0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed 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: Tue, 01 Dec 2015 04:32:39 -0000 Hi, I'm trying to make FreeBSD run on Edge Router pro, but nothing works after setting up the usb: U-Boot 2012.04.01 (UBNT Build ID: 4670715-g7c4b1d0) (Build time: May 27 2014 - 11:19:05) Skipping PCIe port 0 BIST, in EP mode, can't tell if clocked. Skipping PCIe port 1 BIST, reset not done. (port not configured) BIST check passed. UBNT_E200 r1:0, r2:15, serial #: 0418D6F1C56B MPR 13-00317-15 Core clock: 1000 MHz, IO clock: 600 MHz, DDR clock: 533 MHz (1066 Mhz DDR) Base DRAM address used by u-boot: 0x8f800000, size: 0x800000 DRAM: 2 GiB Clearing DRAM...... done Flash: 8 MiB Net: octeth0, octeth1, octeth2, octeth3, octeth4, octeth5, octeth6, octeth7 MMC: Octeon MMC/SD0: 0 USB: USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found Type the command 'usb start' to scan for USB storage devices. Hit any key to stop autoboot: 0 (Re)start USB... USB: USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found reading kernel/kernel 17211699 bytes read argv[2]: coremask=0x3 argv[3]: bootverbose=1 Allocating memory for ELF segment: addr: 0xffffffff80100080 (adjusted to: 0x100080), size 0xe923c0 ## Loading big-endian Linux kernel with entry point: 0xffffffff80100080 ... Bootloader: Done loading app on coremask: 0x3 Starting cores 0x3 Compiled for CPU model: (0x000d9300 | 0x08000000) CPU Model: CN6120p1.1-1000-AAP CPU clock: 1000MHz Core Mask: 0x3 ################################################### WARNING: Software configured for older revision than running on. Compiled for ID=0x000d9300, Chip is 0x000d9301 ################################################### Board: CUST_UBIQUITI_E200 Board Type: 20003 Revision: 0/15 Serial number: 0418D6F1C56B MAC address base: 04:18:d6:f1:c5:6b (8 configured) Cache info: picache_stride = 4096 picache_loopcount = 0 pdcache_stride = 1024 pdcache_loopcount = 32 cpu0: Cavium processor v1.147 MMU: Standard TLB, 128 entries L1 i-cache: 37 ways of 8 sets, 128 bytes per line L1 d-cache: 32 ways of 8 sets, 128 bytes per line Config1=0xfe3703da Config3=0x80003080 Physical memory chunk(s): 0xf93000 - 0xf092fff, 235929600 bytes (57600 pages) 0xf101000 - 0xff00fff, 14680064 bytes (3584 pages) 0x20000000 - 0x8f7fffff, 1870659584 bytes (456704 pages) Maxmem is 0x8f800000 pcpu is available at virtual address 0xc000000000000000. Octeon SDK: Cavium Inc. OCTEON SDK version 2.3.0, build 427 Available Octeon features: SAAD ZIP CRYPTO PCIE KEY_MEMORY TRA MGMT_PORT RAID USB NO_WPTR MDIO_CLAUSE_45 HFA DICI_MODE BIT_EXTRACTOR MMC Copyright (c) 1992-2015 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.2-STABLE #15 r291381M: Fri Nov 27 17:41:13 BRST 2015 root@jail02:/usr/obj/mips.mips64/usr/freebsd10-stable/sys/ERL mips gcc version 4.2.1 20070831 patched [FreeBSD] Preloaded elf kernel "kernel" at 0xffffffff80f66de0. real memory = 2121269248 (2071552K bytes) Physical memory chunk(s): 0x010b0000 - 0x0f092fff, 234762240 bytes (57315 pages) 0x0f101000 - 0x0ff00fff, 14680064 bytes (3584 pages) 0x20000000 - 0x8c456fff, 1816489984 bytes (443479 pages) avail memory = 2055122944 (1959MB) Create COP2 context zone AP #1 started! FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs random device not loaded; using insecure entropy ULE: setup cpu 0 ULE: setup cpu 1 wlan: <802.11 Link Layer> null: Falling back to random adaptor random: initialized nfslock: pseudo-device crypto: mem: nexus0: clock0: on nexus0 Timecounter "MIPS32" frequency 1000000000 Hz quality 800 Event timer "MIPS32" frequency 1000000000 Hz quality 800 rnd0: on nexus0 cryptocteon0: on nexus0 crypto: assign cryptocteon0 driver id 0, flags 83886080 crypto: cryptocteon0 registers alg 6 flags 0 maxoplen 0 crypto: cryptocteon0 registers alg 7 flags 0 maxoplen 0 crypto: cryptocteon0 registers alg 1 flags 0 maxoplen 0 crypto: cryptocteon0 registers alg 2 flags 0 maxoplen 0 crypto: cryptocteon0 registers alg 11 flags 0 maxoplen 0 cryptosoft0: on nexus0 crypto: assign cryptosoft0 driver id 1, flags 100663296 crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 2 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 3 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 4 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 5 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 16 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 6 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 7 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 18 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 19 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 20 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 8 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 15 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 9 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 10 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 13 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 14 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 11 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 22 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 21 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0 ciu0: on nexus0 obio0 on ciu0 uart1: on obio0 uart1: console (115200,n,8,1) uart1: fast interrupt uart1: PPS capture mode 2 (DCD) uart0: on obio0 uart0: console (115200,n,8,1) uart0: fast interrupt uart0: PPS capture mode 2 (DCD) ERROR: cvmx_mgmt_port_initialize: Not able to read the PHY on MIX0 ERROR: cvmx_mgmt_port_initialize: Not able to read the PHY on MIX1 octebus0: on ciu0 Interface 0 has 4 ports (SGMII) Interface 1 has 4 ports (SGMII) Interface 2 has 4 ports (NPI) Interface 3 has 4 ports (LOOP) Warning: Enabling IPD when IPD already enabled. Warning: Enabling PKO when PKO already enabled. octe0: on octebus0 octe0: bpf attached octe0: Ethernet address: 04:18:d6:f1:c5:6d octe1: on octebus0 octe1: bpf attached octe1: Ethernet address: 04:18:d6:f1:c5:6e octe2: on octebus0 octe2: bpf attached octe2: Ethernet address: 04:18:d6:f1:c5:6f octe3: on octebus0 octe3: bpf attached octe3: Ethernet address: 04:18:d6:f1:c5:70 octe4: on octebus0 octe4: bpf attached octe4: Ethernet address: 04:18:d6:f1:c5:71 octe5: on octebus0 octe5: bpf attached octe5: Ethernet address: 04:18:d6:f1:c5:72 octe6: failed to register device for interface 1, port 18 octe7: failed to register device for interface 1, port 19 octe8: failed to register device for interface 2, port 32 octe9: failed to register device for interface 2, port 33 octe10: failed to register device for interface 2, port 34 octe11: failed to register device for interface 2, port 35 octe12: failed to register device for interface 3, port 36 octe13: failed to register device for interface 3, port 37 octe14: failed to register device for interface 3, port 38 octe15: failed to register device for interface 3, port 39 pcib0: on ciu0 PCIe: Port 0 is SGMII, skipping. pcib0: Failed to put PCIe bus in host mode. device_attach: pcib0 attach returned 6 pcib1: on ciu0 PCIe: Port 1 stuck in reset, skipping. pcib1: Failed to put PCIe bus in host mode. device_attach: pcib1 attach returned 6 octehci0: on ciu0 ehci0: on octehci0 octehci0: MEMORY resource - for ehci 0-ffffffffffffffff IO Resource tag ffffffff80e8acc8, hdl 80016f0000000000, size 1 octehci0: IRQ resource - for ehci 0-ffffffffffffffff UCTL clock already started! octeon2_usb_clock_start: Setting port control status register usbus0: EHCI version 1.0 usbus0 on ehci0 ehci0: usbpf: Attached Device configuration finished. procfs registered Timecounter "Octeon" frequency 1000000000 Hz quality 900 Timecounters tick every 10.000 msec vlan: initialized, using hash tables with chaining usbus0: 480Mbps High Speed USB v2.0 crypto: tcp_init: net.inet.tcp.tcbhashsize auto tuned to 16384 lo0: bpf attached ugen0.1: at usbus0 uhub0: on usbus0 random: unblocking device. SMP: AP CPU #1 launched. Root mount waiting for: usbus0 uhub0: 2 ports with 2 removable, self powered Root mount waiting for: usbus0 Root mount waiting for: usbus0 Root mount waiting for: usbus0 ugen0.2: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0xc100 umass0:0:0:-1: Attached to scbus0 Trying to mount root from ufs:da0s2a []... mountroot: waiting for device da0s2a ... GEOM: new disk da0 pass0 at umass-sim0 bus 0 scbus0 target 0 lun 0 pass0: Removable Direct Access SCSI-2 device pass0: Serial Number 001CC0C60D71C680C42F06A6 pass0: 40.000MB/s transfers da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: Serial Number 001CC0C60D71C680C42F06A6 da0: 40.000MB/s transfers da0: 3819MB (7823296 512 byte sectors: 255H 63S/T 486C) da0: quirks=0x2 da0: Delete methods: warning: no time-of-day clock registered, system time will not be set accurately start_init: trying /sbin/init cpuid = 0 ADDRESS_SPACE_ERR: pid 17 tid 100042 (init), uid 0: pc 0x120022b34 got a read fault (type 0x4) at 0xffffffffffff9008 Trapframe Register Dump: zero: 0 at: 0x120110000 v0: 0 v1: 0 a0: 0x18 a1: 0 a2: 0 a3: 0 a4: 0xb a5: 0xa a6: 0xc a6: 0x18 t0: 0x2 t1: 0x4 t2: 0x2 t3: 0x12011b240 t8: 0 t9: 0x120022760 s0: 0x2 s1: 0x1200ea3d0 s2: 0x18 s3: 0x1200089f0 s4: 0x18 s5: 0x1200ea4d0 s6: 0 s7: 0 k0: 0 k1: 0 gp: 0x12011b240 sp: 0x7fffffe280 s8: 0 ra: 0x12000b024 sr: 0x808cb3 mullo: 0 mulhi: 0 badvaddr: 0xffffffffffff9008 cause: 0x10 pc: 0x120022b34 Page table info for pc address 0x120022b34: pde = 0x9800000002bb3000, pte = 0x2800000000abc9a Dumping 4 words starting at pc address 0x120022b34: dc629008 14400005 0040202d df99dc58 Page table info for bad address 0xffffffffffff9008: pde = 0x9800000002bb6000, pte = 0 cpuid = 1 ADDRESS_SPACE_ERR: pid 17 tid 100042 (init), uid 0: pc 0x120022b34 got a read fault (type 0x4) at 0xd4fafed937b79b60 Trapframe Register Dump: zero: 0 at: 0x120130000 v0: 0 v1: 0xd4fafed937b80b58 a0: 0x400 a1: 0x800 a2: 0x7fffffcd38 a3: 0x7fffffd1a0 a4: 0x120138270 a5: 0 a6: 0xc a6: 0x18 t0: 0x2 t1: 0x4 t2: 0x2 t3: 0x12011b240 t8: 0 t9: 0x120022760 s0: 0x17 s1: 0x800 s2: 0x400 s3: 0x7fffffd1a0 s4: 0x400 s5: 0x7fffffdef8 s6: 0x12010fd60 s7: 0x7fffffd1a0 k0: 0 k1: 0 gp: 0x12011b240 sp: 0x7fffffccd0 s8: 0 ra: 0x120066e28 sr: 0x808cb3 mullo: 0 mulhi: 0 badvaddr: 0xd4fafed937b79b60 cause: 0x10 pc: 0x120022b34 Page table info for pc address 0x120022b34: pde = 0x9800000002bb3000, pte = 0x2800000000abc9a Dumping 4 words starting at pc address 0x120022b34: dc629008 14400005 0040202d df99dc58 From owner-freebsd-mips@freebsd.org Wed Dec 2 10:25:57 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 77231A3D364 for ; Wed, 2 Dec 2015 10:25:57 +0000 (UTC) (envelope-from alex.deiter@gmail.com) Received: from mail-pa0-x22b.google.com (mail-pa0-x22b.google.com [IPv6:2607:f8b0:400e:c03::22b]) (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 4885E1CF1 for ; Wed, 2 Dec 2015 10:25:57 +0000 (UTC) (envelope-from alex.deiter@gmail.com) Received: by pabfh17 with SMTP id fh17so38245960pab.0 for ; Wed, 02 Dec 2015 02:25:56 -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=MPllclcdJd/64VQ82/P7bHBhMuOF0/liIoMX0C3k6+s=; b=1DB4LMQpNpRo0uR9v1xfGbZNFdBeTcQEZ6dU5g3hm/WHxncA9x+BnNkEKSMCZHpgQi 4UdFrK//3FCyDpiwVUFq67nWXi6MuHJpL3ABTCq80HBv6RndoOeJW/6cILYMznLQcD7C y1/VE3MODh7eVFH2pUIly7+kVwvD2pom/rBrTNENg8Y+JBqiFc2GBAl8UAmcO6EC7OhB Xt2a+m68I16xVR871aAwvWC3XROwCeBWR0BtzGA74h4DpArPi4EdLLj4cuFOiYCwM6uA a6NnqtPq9w8yUdUJELwfcjLfuwbD73PhMNleDVZBlgV1Ou/4XRt9fGi4hLvwylW0QNN7 zPrg== X-Received: by 10.98.64.136 with SMTP id f8mr3388939pfd.95.1449051956429; Wed, 02 Dec 2015 02:25:56 -0800 (PST) Received: from [172.16.192.202] (wifigw8.severen.net. [176.32.189.238]) by smtp.gmail.com with ESMTPSA id 71sm3410992pfj.28.2015.12.02.02.25.54 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Dec 2015 02:25:55 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: support for Qualcomm Atheros QCA9558 / D-Link DAP-2695 From: Alex Deiter In-Reply-To: Date: Wed, 2 Dec 2015 13:25:50 +0300 Cc: "freebsd-mips@freebsd.org" Content-Transfer-Encoding: 7bit Message-Id: References: To: Adrian Chadd X-Mailer: Apple Mail (2.3096.5) 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, 02 Dec 2015 10:25:57 -0000 Hello Adrian, Perhaps you mean: https://github.com/kvalo/ath10k-firmware Thank you! > On 01 Dec 2015, at 03:24, Adrian Chadd wrote: > > We support everything except the 11ac 5GHz chip, but someone will have > to figure out what's required to get it to accept an alternate > firmware. > > I'll go see how much one of these are. > > > -adrian > > On 30 November 2015 at 13:54, Alex Deiter wrote: >> Hello, >> >> I found that the Qualcomm Atheros QCA9558 platform is already supported. >> Please tell me whether it is possible support for D-Link DAP-2695 ? >> >> https://wiki.openwrt.org/toh/d-link/dap-2695 >> >> SoC Ram >> Flash Network USB Serial JTag >> Qualcomm Atheros QCA9558@720MHz 256MiB 16MiB 2 Yes Yes ? >> >> Thank you! >> >> -- >> Alex Deiter >> _______________________________________________ >> 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" From owner-freebsd-mips@freebsd.org Wed Dec 2 10:42:54 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 2573FA3D945 for ; Wed, 2 Dec 2015 10:42:54 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::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 E4A9C18F2 for ; Wed, 2 Dec 2015 10:42:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iouu10 with SMTP id u10so41978566iou.0 for ; Wed, 02 Dec 2015 02:42:53 -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 :cc:content-type; bh=K1o2sL17WHUG5cM/ci6oNSDX2d3rrrJiQj7nUCEuZQ8=; b=tbRHuixZMShouEpBHVgmPUb8nF5Dtt2jm7tU+lHeUC+iGt1BGoDhptaDpIb+0ZoYu+ NbGSODm+hEqOeHLrxJQAdiBJoezlkFUqsEtO7umB5li59CF2GLhAgHRghK7hu/etEz6e 3Q1f47rb2IPoEBZMyimluXhudE5XSQ+o6Kdk9pNCa7ETGoL8faWqvTE6r62+3i8MP9ro xGZn24kbFqn8NKBMW0dtprhu40/dBLChd/8kUpXAPPm/0R/8xnM8UdIFbZPriHQwgM24 UTB9PO4lM6nWjtbWLG1OVWHPFKCSHuehwmWFJcoTNpsTb1F9C7xwSjsqInKC3gn8bMjd m1UQ== MIME-Version: 1.0 X-Received: by 10.107.162.21 with SMTP id l21mr2709519ioe.123.1449052973357; Wed, 02 Dec 2015 02:42:53 -0800 (PST) Received: by 10.36.217.196 with HTTP; Wed, 2 Dec 2015 02:42:53 -0800 (PST) In-Reply-To: References: Date: Wed, 2 Dec 2015 02:42:53 -0800 Message-ID: Subject: Re: support for Qualcomm Atheros QCA9558 / D-Link DAP-2695 From: Adrian Chadd To: Alex Deiter Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 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, 02 Dec 2015 10:42:54 -0000 that's the firmware for the QCA9880 11ac NIC. The QCA9558 SoC is the mips soc with integrated 11n wifi and typically people glue an 11ac QCA9880 NIC to it. We don't have a driver yet for the QCA9880 NIC. I'm porting it atm. -a On 2 December 2015 at 02:25, Alex Deiter wrote: > Hello Adrian, > > Perhaps you mean: > > https://github.com/kvalo/ath10k-firmware > > Thank you! > >> On 01 Dec 2015, at 03:24, Adrian Chadd wrote: >> >> We support everything except the 11ac 5GHz chip, but someone will have >> to figure out what's required to get it to accept an alternate >> firmware. >> >> I'll go see how much one of these are. >> >> >> -adrian >> >> On 30 November 2015 at 13:54, Alex Deiter wrote: >>> Hello, >>> >>> I found that the Qualcomm Atheros QCA9558 platform is already supported. >>> Please tell me whether it is possible support for D-Link DAP-2695 ? >>> >>> https://wiki.openwrt.org/toh/d-link/dap-2695 >>> >>> SoC Ram >>> Flash Network USB Serial JTag >>> Qualcomm Atheros QCA9558@720MHz 256MiB 16MiB 2 Yes Yes ? >>> >>> Thank you! >>> >>> -- >>> Alex Deiter >>> _______________________________________________ >>> 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" > From owner-freebsd-mips@freebsd.org Thu Dec 3 15:23:34 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 DD8F5A4005C for ; Thu, 3 Dec 2015 15:23:34 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (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 C488C1197 for ; Thu, 3 Dec 2015 15:23:34 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.200.208] (unknown [50.136.155.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id AACB6192ADC for ; Thu, 3 Dec 2015 15:23:33 +0000 (UTC) To: freebsd-mips@freebsd.org From: Sean Bruno Subject: MIPS64 using clang head Message-ID: <56605E75.5090004@freebsd.org> Date: Thu, 3 Dec 2015 07:23:33 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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: Thu, 03 Dec 2015 15:23:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 We're still making progress, with a couple more updates to clang we've made it past libc ... now seeing a failure to figure out what "LONG_BITS" is. https://people.freebsd.org/~sbruno/mips64_buildworld.log I'm not quite sure what's missing and I've tried a few hacks to get it past here. sean -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJWYF5xXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5k+DoH/30cdzfWXvyO4+E7szzwUyH5 o3K4rX/KCE1+pfcQ/SKPmEoHJrGvDep/hdu/berf+67zB9ccaaMYnHtmpOoG2Et4 nNyZGTiVbLDKHEMlHiLOBGt9Bjn4bhTmVJOEaCwvoNI9KQyjD3osc/6dkhYijy+6 P2Lyg1aY2CeYJGIwjE9YMzN1MfTrqrOsR+ds2KoOMuv3w2J4RDzVgbcS09MXA2zv PO6Qd2vpxTuHDvIFBEzlslCZFzGO5o5fUZybeD9PxQwYpLYh7a9j7B5JxOccN/rN cqhDjehAX706gJEI+x9ufYYpNy5bMfccib9/SzObw/j19IhzWLKWcftiqxC4rEA= =x2OY -----END PGP SIGNATURE----- From owner-freebsd-mips@freebsd.org Thu Dec 3 17:38:13 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 79407A4020B for ; Thu, 3 Dec 2015 17:38:13 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (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 5792B1927; Thu, 3 Dec 2015 17:38:13 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 98D765A9F12; Thu, 3 Dec 2015 17:38:06 +0000 (UTC) Date: Thu, 3 Dec 2015 17:38:06 +0000 From: Brooks Davis To: Sean Bruno Cc: freebsd-mips@freebsd.org Subject: Re: MIPS64 using clang head Message-ID: <20151203173806.GA39703@spindle.one-eyed-alien.net> References: <56605E75.5090004@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <56605E75.5090004@freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) 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, 03 Dec 2015 17:38:13 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 03, 2015 at 07:23:33AM -0800, Sean Bruno wrote: > We're still making progress, with a couple more updates to clang we've > made it past libc ... now seeing a failure to figure out what > "LONG_BITS" is. >=20 > https://people.freebsd.org/~sbruno/mips64_buildworld.log >=20 > I'm not quite sure what's missing and I've tried a few hacks to get it > past here. This is due to an incompatibility with our limits.h and clang's limits.h in freestanding mode. IMO it's a bug that clang's limits.h doesn't include the system one in freestanding mode, but currently it doesn't which means LONG_BITS doesn't get set. Deleting/not installing the clang limits.h should do the job. -- Brooks --jRHKVT23PllUwdXP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWYH39AAoJEKzQXbSebgfAuWgH/jvVXhb3d6w+PoqNxbS1xFot Oho22TLHk0Tm/TXOsNJbMUEtMyuph5M3HZMA7VHPlEnjzxB1WsX9RUCR+5lpzirA 3fnons70ZkFB/V7TIBGbZIwuvDmYUgJMx4kEOVJMTo0aYafj5siP8i7t0ZBzjurH hBTs+T0gXltIMHkdQbd3YCZ4jb14i142zv5JRxd9RemenSfPhUg+PifJyTKoXdEp oT4LJZ6yR7Zi0VewX98gSe6KZ3ymr8HHvuI6SZfmC3V2gTtEH6iKNVUU7GpYSIA/ i+iy+gtqqV5HD1H/WURxKrZbC6CDz35lLvx06XvCGj/DqfnFMNXrlkwYHw8KmGc= =dOXL -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- From owner-freebsd-mips@freebsd.org Thu Dec 3 18:54:54 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 03DDAA40F29 for ; Thu, 3 Dec 2015 18:54:54 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (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 D34E41842; Thu, 3 Dec 2015 18:54:53 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [172.23.12.242] (unknown [216.221.230.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id D5B78192ADC; Thu, 3 Dec 2015 18:54:51 +0000 (UTC) Subject: Re: MIPS64 using clang head To: Brooks Davis References: <56605E75.5090004@freebsd.org> <20151203173806.GA39703@spindle.one-eyed-alien.net> Cc: freebsd-mips@freebsd.org From: Sean Bruno Message-ID: <56608FF6.3050706@freebsd.org> Date: Thu, 3 Dec 2015 10:54:46 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151203173806.GA39703@spindle.one-eyed-alien.net> 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: Thu, 03 Dec 2015 18:54:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 12/03/15 09:38, Brooks Davis wrote: > On Thu, Dec 03, 2015 at 07:23:33AM -0800, Sean Bruno wrote: >> We're still making progress, with a couple more updates to clang >> we've made it past libc ... now seeing a failure to figure out >> what "LONG_BITS" is. >> >> https://people.freebsd.org/~sbruno/mips64_buildworld.log >> >> I'm not quite sure what's missing and I've tried a few hacks to >> get it past here. > > This is due to an incompatibility with our limits.h and clang's > limits.h in freestanding mode. IMO it's a bug that clang's > limits.h doesn't include the system one in freestanding mode, but > currently it doesn't which means LONG_BITS doesn't get set. > Deleting/not installing the clang limits.h should do the job. > > -- Brooks > Cool! I've removed my build version of limits.h ~/clang/build % mv ./lib/clang/3.8.0/include/limits.h /var/tmp Restarted my freebsd build of mips64. sean -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJWYI/0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kNvcIAKbRRTQQlRv5RCJZW+XHMeqi l2Sz/YyPT8uTEQWRGcSRWgRz+YDc/sF57lOhlDgUgoEXkA7hHHHCsLg46Mqv6JQY 05RRiZTRLD2KhaM2jIDB7DMFVxBH35j188fk6iBntTBn2dy52NREA44WRD82brCN E1J8PfakgtSMTKjV1UoeVnMMeMS4wSaXz99/xt13gYBeqqHK9YSoRw4ALZxAMn8e pWHszyQfsXdLndhRWwsyegAfRyGKpLkzPXPh45Cn+W3rY6DPmQQa2X/aecFZ/Z8j fp5q1DBZKnLujb9OM4fkhRBS68c4ab5+yqYhW6+m4AL6qfkjx7LpM12GjQX1qGo= =kfRw -----END PGP SIGNATURE----- From owner-freebsd-mips@freebsd.org Thu Dec 3 19:56:54 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 6C193A407F4 for ; Thu, 3 Dec 2015 19:56:54 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (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 510CE1481 for ; Thu, 3 Dec 2015 19:56:53 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [172.23.12.242] (unknown [216.221.230.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id A123B192ADC for ; Thu, 3 Dec 2015 19:56:52 +0000 (UTC) Subject: Re: MIPS64 using clang head To: freebsd-mips@freebsd.org References: <56605E75.5090004@freebsd.org> <20151203173806.GA39703@spindle.one-eyed-alien.net> <56608FF6.3050706@freebsd.org> From: Sean Bruno Message-ID: <56609E80.9070803@freebsd.org> Date: Thu, 3 Dec 2015 11:56:48 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56608FF6.3050706@freebsd.org> 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: Thu, 03 Dec 2015 19:56:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 12/03/15 10:54, Sean Bruno wrote: > > > On 12/03/15 09:38, Brooks Davis wrote: >> On Thu, Dec 03, 2015 at 07:23:33AM -0800, Sean Bruno wrote: >>> We're still making progress, with a couple more updates to >>> clang we've made it past libc ... now seeing a failure to >>> figure out what "LONG_BITS" is. >>> >>> https://people.freebsd.org/~sbruno/mips64_buildworld.log >>> >>> I'm not quite sure what's missing and I've tried a few hacks >>> to get it past here. > >> This is due to an incompatibility with our limits.h and clang's >> limits.h in freestanding mode. IMO it's a bug that clang's >> limits.h doesn't include the system one in freestanding mode, >> but currently it doesn't which means LONG_BITS doesn't get set. >> Deleting/not installing the clang limits.h should do the job. > >> -- Brooks > > > Cool! I've removed my build version of limits.h > > ~/clang/build % mv ./lib/clang/3.8.0/include/limits.h /var/tmp > > Restarted my freebsd build of mips64. > > sean _______________________________________________ > 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" > Yep, this did indeed get past the LONG_BITS things. Heh ... now hitting a clang assertion in libstand: https://llvm.org/bugs/show_bug.cgi?id=25730 The fun continues. sean -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJWYJ59XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kUq4H/3tS3YQOd+B3ie7pi8B0a09i f2Qjhej1MFszB0O3gZPQeIuf4JmGhuCfbsoVcNIGrqXEFWQAPdbuPZYzPx3zLnxh 6MlOxzc8+goD1f4ZdU/KTrvTAa901sya6Hl6ICCiwkj4ReQd9k10e9ZkmI8JFNnA /3X2thg4zKBxpPEfKLkq8iE3ajvcWYESI0oIvwUXuAu+aHG2qeIbKaTlSwCsZQSW iL194LJH5GmZXpQVsCH+L4Vjov9o01k+wGTd1kKifNvaip3gixvCcf8dad/55krl yly6PL7ytAEeGq5DcwHmhJOAbvZYJioBnKqu7dWletHk9TAHKub2O0RnFS9lxIU= =vS4L -----END PGP SIGNATURE-----