From owner-freebsd-arm@freebsd.org Sun Dec 4 01:54:10 2016 Return-Path: Delivered-To: freebsd-arm@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 C79BFC635C2 for ; Sun, 4 Dec 2016 01:54:10 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (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 A93DC1910 for ; Sun, 4 Dec 2016 01:54:10 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Y30iVBmqWe8j1YEUpbxcGn7stuGkIbtgWO/sANvWRfQ=; b=gvbi1Lt7MiAqzyhKnQpki1cFw8 BxckuGh0ssPVusCG8ZWyK8TnpoVDlfGPt+KhpRgWTwbP+e2iPq6BvIEdkLXYcuXQIFlktnfhMHZL3 ViwGvho55Jwpdaox93tYdhyq740Ss3vWyr+aTdn4m2RbcLIiI1WeMlH2zYHCVGVsntiE=; Received: from [114.125.104.72] (port=49899 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cDM0B-002iyX-H3 for freebsd-arm@freebsd.org; Sat, 03 Dec 2016 18:54:04 -0700 Date: Sun, 4 Dec 2016 09:53:56 +0800 From: Erich Dollansky To: freebsd-arm@freebsd.org Subject: problems with tcsh, MACHTYPE on Raspberry Pi 3 Message-ID: <20161204095356.1d370fd8@X220.alogt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2016 01:54:10 -0000 Hi, I gave FreebSD 12 a try on my Raspberry Pi 3 but encountered some strange things. I use this image: FreeBSD-aarch64-12.0-GENERIC-UP-308109M.img.gz It all works until I start to compile programs. The main source of the problem is that echo $MACHTYPE unknown Of course, everything relying on this information fails afterwards. MACHTYPE seems to be hard-coded in tcsh. Setting it in the current shell resets it in a sub-shell. The miracle started when I tried to work with a variable I named MachType. [erich@X220]~ > setenv MachTYpe "local machine type" [erich@X220]~ > echo $MachType [erich@X220]~ > setenv Susie Otto [erich@X220]~ > echo $Susie Otto [erich@X220]~ > When I then use MachType inside a script on the Raspberry, it all works. Is this really expected behaviour? Erich From owner-freebsd-arm@freebsd.org Sun Dec 4 01:59:13 2016 Return-Path: Delivered-To: freebsd-arm@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 4EAC1C637D9 for ; Sun, 4 Dec 2016 01:59:13 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-8.reflexion.net [208.70.210.8]) (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 13C7B1AD9 for ; Sun, 4 Dec 2016 01:59:12 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 20196 invoked from network); 4 Dec 2016 01:59:11 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 4 Dec 2016 01:59:11 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.20.0) with SMTP; Sat, 03 Dec 2016 20:59:05 -0500 (EST) Received: (qmail 15317 invoked from network); 4 Dec 2016 01:59:04 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 Dec 2016 01:59:04 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 428DDEC9168; Sat, 3 Dec 2016 17:59:04 -0800 (PST) From: Mark Millard Message-Id: <8F1E8C9A-67E2-4B72-8F95-963EDE942707@dsl-only.net> Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: problems with tcsh, MACHTYPE on Raspberry Pi 3 Date: Sat, 3 Dec 2016 17:59:03 -0800 In-Reply-To: <20161204095356.1d370fd8@X220.alogt.com> Cc: freebsd-arm@freebsd.org To: Erich Dollansky References: <20161204095356.1d370fd8@X220.alogt.com> X-Mailer: Apple Mail (2.3251) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2016 01:59:13 -0000 On 2016-Dec-3, at 5:53 PM, Erich Dollansky wrote: > Hi, >=20 > I gave FreebSD 12 a try on my Raspberry Pi 3 but encountered some > strange things. >=20 > I use this image: >=20 > FreeBSD-aarch64-12.0-GENERIC-UP-308109M.img.gz >=20 > It all works until I start to compile programs. The main source of the > problem is that >=20 > echo $MACHTYPE > unknown >=20 > Of course, everything relying on this information fails afterwards. >=20 > MACHTYPE seems to be hard-coded in tcsh. Setting it in the current > shell resets it in a sub-shell. >=20 > The miracle started when I tried to work with a variable I named > MachType. >=20 > [erich@X220]~ > setenv MachTYpe "local machine type" > [erich@X220]~ > echo $MachType "Y" vs. "y" on the two lines above? > [erich@X220]~ > setenv Susie Otto > [erich@X220]~ > echo $Susie > Otto > [erich@X220]~ >=20 >=20 > When I then use MachType inside a script on the Raspberry, it all > works. >=20 > Is this really expected behaviour? >=20 > Erich =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-arm@freebsd.org Sun Dec 4 03:50:47 2016 Return-Path: Delivered-To: freebsd-arm@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 F20AEC63292 for ; Sun, 4 Dec 2016 03:50:47 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (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 D3A711BFC for ; Sun, 4 Dec 2016 03:50:47 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=GQiTcBGXRN1RA7IKOirjLAwQtQws7AuT2WRfP3lrGBo=; b=H4TJCwUa/r4iof7ciwMILljeHS B2plnQMqNPzyP0SQCv7ypV8alZ/MAtzHlhEUHcf0VMuIQlTMwhEdhHlkiHx9Dea1TKsollG5Zbrkm /oMnQgQys5/0h8uRO46cZ0Ui2Rv2/mGZvsafb9qVL3oEL/VAU3rb4lYROqdpG8mvS9As=; Received: from [114.125.104.72] (port=54332 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cDNp6-003Got-3S; Sat, 03 Dec 2016 20:50:44 -0700 Date: Sun, 4 Dec 2016 11:50:32 +0800 From: Erich Dollansky To: Mark Millard Cc: freebsd-arm@freebsd.org Subject: Re: problems with tcsh, MACHTYPE on Raspberry Pi 3 Message-ID: <20161204115032.4b9a0b6a@X220.alogt.com> In-Reply-To: <8F1E8C9A-67E2-4B72-8F95-963EDE942707@dsl-only.net> References: <20161204095356.1d370fd8@X220.alogt.com> <8F1E8C9A-67E2-4B72-8F95-963EDE942707@dsl-only.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2016 03:50:48 -0000 Hi Mark, you are a good observer. But this was just a typing error on my side. I copied the output from two session into this e-mail at the end. On Sat, 3 Dec 2016 17:59:03 -0800 Mark Millard wrote: > On 2016-Dec-3, at 5:53 PM, Erich Dollansky alogt.com> wrote: > > > echo $MACHTYPE > > unknown > > > > [erich@X220]~ > setenv MachTYpe "local machine type" > > [erich@X220]~ > echo $MachType > > "Y" vs. "y" on the two lines above? > [erich@raspberry2]~ > setenv MachType "the local thing" [erich@raspberry2]~ > echo $MachType [erich@raspberry2]~ > ./doraspberryalo unknown the local thing otto changing directory unknown the local thing otto unknown the local thing otto ALO development environment is set up for FreeBSD. [erich@raspberry2]...Raspberry/ALO > exit exit unknown the local thing otto [erich@raspberry2]~ > echo $MACHTYPE arm64 [erich@raspberry2]~ > ./doraspberryalo unknown the local thing otto changing directory unknown the local thing otto unknown the local thing otto ALO development environment is set up for FreeBSD. [erich@raspberry2]...Raspberry/ALO > echo $MachType the local thing [erich@raspberry2]...Raspberry/ALO > doraspberryalo is a script calling another script which finally sets up the development environment matching the environment. Here the same thing from an x86 machine: [erich@X220]~ > setenv MachType "local machine type" [erich@X220]~ > echo $MachType [erich@X220]~ > ./doraspberryalo x86_64 local machine type Otto changing directory x86_64 local machine type Otto x86_64 local machine type Otto ALO development environment is set up for FreeBSD. [erich@X220]...Raspberry/ALO > echo $MachType local machine type [erich@X220]...Raspberry/ALO > echo $MACHTYPE x86_64 [erich@X220]...Raspberry/ALO > exit exit x86_64 local machine type Otto [erich@X220]~ > echo $MachType [erich@X220]~ > echo $MACHTYPE otto MACHTYPE was set to 'otto' just like another variable was set to 'Otto'. I know that I cannot use certain names in the environment but I did not see a note regarding 'MachType'. Erich From owner-freebsd-arm@freebsd.org Mon Dec 5 07:16:39 2016 Return-Path: Delivered-To: freebsd-arm@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 94D7CC67AF0 for ; Mon, 5 Dec 2016 07:16:39 +0000 (UTC) (envelope-from pro@hydrosyst.eu) Received: from mail.hydrosyst.eu (mail.hydrosyst.eu [217.174.149.226]) (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 184DF1786 for ; Mon, 5 Dec 2016 07:16:39 +0000 (UTC) (envelope-from pro@hydrosyst.eu) Received: from jeepi-PC (unknown [77.78.8.105]) by mail.hydrosyst.eu (Postfix) with ESMTPA id F0DCE10725C for ; Mon, 5 Dec 2016 07:16:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hydrosyst.eu; s=default; t=1480922197; bh=ZqeACjgYxBAwWGexjk0S/kv8TrpniGEWFXHZ8Q7vhHo=; h=List-Owner:List-Unsubscribe:List-Help:List-ID:From:To:Reply-To: Date:Subject; b=ahAe4wDtc9KVZMpcJfuOjsfjtN1+dasm7dcgMWRFf9s4bvVJyKw9btY/JQKqTqrPX 4tesDQ5Oa4d5bfa+Ag3g+4bxdnJSQd6YZlBunesCkIQ/N8TSpkDasxKl2ImAujCLzo uFN/6ePelRjNgvb4ckqsXLuCnsocRgDNfEysYKl0= X-Subscribe-Email: info@hydrosyst.eu X-Abuse-Reports-To: info@hydrosyst.eu Errors-To: info@hydrosyst.eu List-Owner: info@hydrosyst.eu X-Organization: ykyvysavvxvevvsy42087 X-Author: ykyvysavvxvevvsy42088 Precedence: bulk MIME-Version: 1.0 From: "HYDROSYST LTD" To: freebsd-arm@FreeBSD.org Reply-To: "HYDROSYST LTD" Date: 5 Dec 2016 09:16:38 +0200 Subject: PERMANENT MAGNET GENERATORS Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 07:16:39 -0000 PGh0bWw+PGJvZHk+PFA+PEZPTlQgY29sb3I9IzgwODA4MD5MT1cgU1BFRUQgUEVSTUFO RU5UIE1BR05FVCBHRU5FUkFUT1JTPC9GT05UPjwvUD4NCjxESVY+PEZPTlQgY29sb3I9 IzY2NjY2NiBzaXplPTMgZmFjZT1DYWxpYnJpPkdlbmVyYXRvciBwb3dlciByYW5nZSBp cyA1IGtXLTUgTVcgYW5kIG1vcmUuIDwvRk9OVD48Rk9OVCBzaXplPTM+PFNQQU4gbGFu Zz1lbiBpZD1yZXN1bHRfYm94IGNsYXNzPXNob3J0X3RleHQ+PEZPTlQgY29sb3I9Izgw ODA4MD48Rk9OVCBmYWNlPUNhbGlicmk+PFNQQU4+QWJpbGl0eSB0byB3b3JrPC9TUEFO PiA8U1BBTj51bmRlcjwvU1BBTj4gPFNQQU4+d2F0ZXIuPC9TUEFOPjwvRk9OVD48L0ZP TlQ+PC9TUEFOPjwvRk9OVD48L0RJVj4NCjxESVY+PEZPTlQgY29sb3I9IzY2NjY2NiBz aXplPTMgZmFjZT1DYWxpYnJpPlNwZWVkIHJhbmdlIDEwLTEyMDAgcnBtLiBGcmVxdWVu Y3kgNTAgb3IgNjAgSHouPC9GT05UPjwvRElWPg0KPERJVj48Rk9OVCBjb2xvcj0jNjY2 NjY2IGZhY2U9Q2FsaWJyaT5UaGVzZSBjaGFyYWN0ZXJpc3RpY3MgbWFrZSBpdCB2ZXJ5 IHN1aXRhYmxlIGZvciB3aW5kIGFuZCB3YXRlciB0dXJiaW5lLiA8L0ZPTlQ+PC9ESVY+ DQo8RElWPiZuYnNwOzwvRElWPg0KPERJVj48Rk9OVCBjb2xvcj0jNjY2NjY2IHNpemU9 MyBmYWNlPUNhbGlicmk+TW9yZSBpbmZvcm1hdGlvbiBjYW4gYmUgc2VlIGhlcmUgPEEg aHJlZj0iaHR0cDovL3d3dy5lbmVyc2V0LmV1LyI+d3d3LmVuZXJzZXQuZXU8L0E+PC9G T05UPjwvRElWPjwvYm9keT48L2h0bWw+ From owner-freebsd-arm@freebsd.org Mon Dec 5 08:56:00 2016 Return-Path: Delivered-To: freebsd-arm@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 27965C66783 for ; Mon, 5 Dec 2016 08:56:00 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A45DCF06 for ; Mon, 5 Dec 2016 08:55:59 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 5726a9b3; Mon, 5 Dec 2016 09:49:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=yjitYqmiBRyuSXzYrBGaMG4sSMg=; b=DIeYpqvopF7IRvpNFLfUvxp61fGW /VGiDGMaVZHFU0iD4J77I1jLh0VJ9eIgaBiOxb6L5tLk/ObA0ErjHXiWM184MJL6 Zk4dBY4S8jKDCTjY/l3pQampyHG6p7MZZYxoXNfHXGn8t+6R78dk9BOu5OMPZWJK 3K32u4CV4FQVRVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=MpyjU1yiTpiyI6YoKYB8oSBSC6J15oSLSbGCXknpL31FmJxfMFhcZbHO CDVmPuPeDY7eUfDfD+sdBJ3jGgT9LVYsieTtxEeiwTItwBKk2/adP4CVOI39/dId 3XoghSwaEYzv+q/wK2K5uO29IxQ1jAJShcSBbzeQr8DTPYA3OjQ= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 43e263d9 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 5 Dec 2016 09:49:16 +0100 (CET) Date: Mon, 5 Dec 2016 09:49:15 +0100 From: Emmanuel Vadot To: Oleksandr Tymoshenko Cc: Nick Hibma , freebsd-arm@freebsd.org Subject: Re: Questions about i2c.c (TMP102 temperature sensor) Message-Id: <20161205094915.20847444789f803133b56af9@bidouilliste.com> In-Reply-To: <58B43D61-0B46-4310-868F-D7336585731B@bluezbox.com> References: <9424D7FD-C4B6-43D5-A0C5-76D5BE9ED1DE@ip-knowhow.com> <58B43D61-0B46-4310-868F-D7336585731B@bluezbox.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 08:56:00 -0000 On Fri, 2 Dec 2016 13:11:34 -0800 Oleksandr Tymoshenko wrote: > Switching freebsd-embedded@ to freebsd-arm@ since the former does not get= as much attention as the latter. >=20 > > On Dec 1, 2016, at 2:11 AM, Nick Hibma wrote: > >=20 > > Gents, > >=20 > > I am not quite sure who to owner of i2c.c is, so perhaps some I2C entho= usiast could help me with the following problem. > >=20 > > I was trying to access a TMP102 I2C temperature sensor. It kind of work= s with the default i2c utility. But it returns twice the high byte instead = of the high and low byte for the temperature. Probably because it does 1 by= te reads on the I2C bus, sending a stop condition after every byte. This wa= s verified with a logic analyser. > >=20 > > The device expects continuous reads and no stop/start in between the 2 = bytes. Trying all options i2c, most notably the -m mode switch, yields the = same results all the time. Looking at the code in i2c.c I get confused as = it seems to somehow fiddle with start/stop to get it right because of the -= m switch, but uses read() in the end to get the data, not I2CREAD. > >=20 > > fd =3D open(dev, O_RDWR); > > if (i2c_opt.width) { > > error =3D ioctl(fd, I2CSTART, &cmd); > > error =3D ioctl(fd, I2CWRITE, &cmd); > > if (i2c_opt.mode =3D=3D I2C_MODE_STOP_START) { > > error =3D ioctl(fd, I2CSTOP, &cmd); > > } > > } > > if (i2c_opt.mode =3D=3D I2C_MODE_STOP_START) { > > error =3D ioctl(fd, I2CSTART, &cmd); > > } else if (i2c_opt.mode =3D=3D I2C_MODE_REPEATED_START) { > > error =3D ioctl(fd, I2CRPTSTART, &cmd); > > } > > /******** Without i2c_opt.width set there is no START condition either = to set the slave address for the read() ****/ > > /******** Why this stop? ***/ > > error =3D ioctl(fd, I2CSTOP, &cmd); > > for (i =3D 0; i < i2c_opt.count; i++) { > > error =3D read(fd, &i2c_buf[i], 1); > > } > > close(fd); > >=20 > > I would have expected: > >=20 > > fd =3D open(dev, O_RDWR); > > if (i2c_opt.width) { > > error =3D ioctl(fd, I2CSTART, &cmd); > > error =3D ioctl(fd, I2CWRITE, &cmd); > > if (i2c_opt.mode =3D=3D I2C_MODE_STOP_START) { > > error =3D ioctl(fd, I2CSTOP, &cmd); > > error =3D ioctl(fd, I2CSTART, &cmd); > > } else if (i2c_opt.mode =3D=3D I2C_MODE_REPEATED_START) { > > error =3D ioctl(fd, I2CRPTSTART, &cmd); > > } > > } else { > > /***** Use START/STOP to set the slave address for the read() below ***/ > > error =3D ioctl(fd, I2CSTART, &cmd); > > error =3D ioctl(fd, I2CSTOP, &cmd); > > } > > error =3D ioctl(fd, I2CREAD, &cmd); // read all bytes in one go > > error =3D ioctl(fd, I2CSTOP, &cmd); > > close(fd); > >=20 > > Any opinions on where I am wrong? >=20 > There is no need for I2CSTART/I2CSTOP sequence, there is I2CSADDR > ioctl for that purpose. I agree that i2c tool looks broken from quick > glance, but someone with more knowledge should take a look. >=20 > > Second question: > >=20 > > Rolling my own little program with this change fails because I cannot g= et I2CREAD to work. It keeps returning EIO. Some other web pages claim that= there is an implementation problem with that. Using read() on the fd works= fine, so do get a valid temperature out of the device now. >=20 >=20 > I picked up TMP102 as a device to test I2C drivers for new boards and > wrote C application to talk to it. I used RPi as a reference > platform. The problem with I2C driver on RPi is that it does not > support sending explicit START/STOP conditions. So all ioctl(I2CSTART) > and ioctl(I2CSTOP). And READ/WRITE does not work without explicit > START. So I ended up working around it using I2CRDWR. For some > other boards it probably can be written with START/WRITE/READ/STOP, > or with read/write. I?m going to spend some time and get this app > working on all boards I have to get a general feeling of what bits of > I2C are supported on them what are not.=20 >=20 > Source code: https://people.freebsd.org/~gonzo/tmp102.c > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" I have an updated version of i2c(8) which support I2CRDWR here : https://github.com/evadot/freebsd/tree/i2c_rdrw/usr.sbin/i2c I didn't commit it just because I want to make I2CRDWR the default since there is iicbus_transfer_gen. I just need to make sure that it works almost everwhere (it does on allwinner board where the driver doesn't support I2CRDWR at least). Can you test using i2c(8) from my branch with your device ? --=20 Emmanuel Vadot From owner-freebsd-arm@freebsd.org Mon Dec 5 10:41:26 2016 Return-Path: Delivered-To: freebsd-arm@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 3CD44C675CE for ; Mon, 5 Dec 2016 10:41:26 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-4.reflexion.net [208.70.210.4]) (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 0098BE12 for ; Mon, 5 Dec 2016 10:41:25 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 12092 invoked from network); 5 Dec 2016 10:41:17 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 5 Dec 2016 10:41:17 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.20.0) with SMTP; Mon, 05 Dec 2016 05:41:29 -0500 (EST) Received: (qmail 21867 invoked from network); 5 Dec 2016 10:41:28 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 5 Dec 2016 10:41:28 -0000 Received: from [192.168.1.108] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id 156C5EC7B2C; Mon, 5 Dec 2016 02:41:17 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: Can't get 11.0-RELEASE to boot on Banana PI M3 From: Mark Millard In-Reply-To: <53608BFE-4653-4407-AFBE-7AB5E45AF2C1@dsl-only.net> Date: Mon, 5 Dec 2016 02:41:16 -0800 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <20161124222152.dfd02dcafdc25182b6b46e50@bidouilliste.com> <66508AA3-436A-4D9E-AAB5-B85D0B4FC40C@dsl-only.net> <9C8B313C-A058-44DF-8673-D23B481CE312@dsl-only.net> <1E9515A0-06D5-4CF9-9D29-D6FF591686F4@dsl-only.net> <53608BFE-4653-4407-AFBE-7AB5E45AF2C1@dsl-only.net> To: Michael Sperber X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 10:41:26 -0000 [I've now gotten some of those=20 "soft reset timed out"/"awg0 attach returned 60" notices.] On 2016-Dec-3, at 1:01 PM, Mark Millard wrote: > On 2016-Dec-3, at 5:23 AM, Michael Sperber wrote: >=20 >> Mark Millard writes: >>=20 >>> /dev/da0 is not the same as /dev/mmcsd0 . /dev/da0 is the >>> interface to the SATA port. That hardware is accessed over >>> USB on the BPi-M3. >>=20 >> Ah, now I understand. Sorry for my being stupid about this! >>=20 >> I finally noticed this: >>=20 >> eval: cannot open /etc/fstab: No such file or directory >>=20 >> And indeed /etc/fstab is not there - creating one fixed that problem. >=20 > In . . ./crochet/board/BananaPi-M3/overlay/etc/ there should be: >=20 > # ls > fstab rc.conf rc.d >=20 > When things work right these are simply copied. >=20 > If one of these files was not copied over then it may be that > some other(s) were not copied over as well. >=20 >> (Shouldn't Crochet have created one?) So that leaves the Ethernet >> problem. I get this: >>=20 >> awg0: mem 0x1c30000-0x1c300ff on = simplebus0 >> awg0: soft reset timed out >> device_attach: awg0 attach returned 60 I moved the BPi-M3 into a new environment and it now gets this sequence much of the time --but not always. It seems to help to have cut the power before rebooting: "shutdown -p now" and then unplugging and re-plugging the power when it is done. (So far anyway: I may be reading too much into what I've seen so far.) All this suggests that some environmental condition is sufficient to lead to the notices and to the associated lack of a normal Ethernet configuration when booting completes. Note: in the old context and the new one the rest of the Ethernet-capable equipment around seems to be working fine. >> Any ideas on that one? Broken hardware? I see the awg driver is = fairly >> new - is 11.0-RELEASE recent enough? >=20 > awg Ethernet support was added about 2 months before head > -r304406 was turned into stable/11 -r304408 based on the > svn history: Ethernet added for A83T back on 2016-May-4 > ( -r299084 ). >=20 >> --=20 >> Regards, >> Mike >=20 > While I do not know anything about the details I can find the > source code for the "soft reset timed out": >=20 > 1122 static int > 1123 awg_reset(device_t dev) > 1124 { > 1125 struct awg_softc *sc; > 1126 int retry; > 1127=09 > 1128 sc =3D device_get_softc(dev); > 1129=09 > 1130 /* Soft reset all registers and logic */ > 1131 WR4(sc, EMAC_BASIC_CTL_1, BASIC_CTL_SOFT_RST); > 1132=09 > 1133 /* Wait for soft reset bit to self-clear */ > 1134 for (retry =3D SOFT_RST_RETRY; retry > 0; retry--) { > 1135 if ((RD4(sc, EMAC_BASIC_CTL_1) & = BASIC_CTL_SOFT_RST) =3D=3D 0) > 1136 break; > 1137 DELAY(10); > 1138 } > 1139 if (retry =3D=3D 0) { > 1140 device_printf(dev, "soft reset timed out\n"); > 1141 #ifdef AWG_DEBUG > 1142 awg_dump_regs(dev); > 1143 #endif > 1144 return (ETIMEDOUT); > 1145 } > 1146=09 > 1147 return (0); > 1148 } >=20 > I'd guess that the message indicates a hardware problem. That is no longer my guess. > As I've suggested before: you could see of an official > Linux also fails to initialize the Ethernet interface. > Once checked: >=20 > A) If Linux did fail as well then blame the hardware. Likely the wrong blame. . . > B) If Linux worked then get the FreeBSD folks that work > on the A83T/ALLWINNER support to look into the issue. But this procedure is still useful: Linux might handle a condition that FreeBSD does not well handle in this case. > My guess is the that FreeBSD folks would want a build > with that AWG_DEBUG enabled and information from the > "dump" that it makes if Linux worked. Stil true. If the issue persists in my context I might be able to get such a awg register dump. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-arm@freebsd.org Mon Dec 5 11:46:55 2016 Return-Path: Delivered-To: freebsd-arm@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 0F355C68AED for ; Mon, 5 Dec 2016 11:46:55 +0000 (UTC) (envelope-from sperber@deinprogramm.de) Received: from deinprogramm.de (deinprogramm.de [88.198.58.179]) by mx1.freebsd.org (Postfix) with ESMTP id BC083137A for ; Mon, 5 Dec 2016 11:46:54 +0000 (UTC) (envelope-from sperber@deinprogramm.de) Received: from jellaby.local (unknown [195.52.203.132]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by deinprogramm.de (Postfix) with ESMTPSA id 2EC813028B; Mon, 5 Dec 2016 11:46:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=deinprogramm.de; s=default; t=1480938405; bh=lfHlxTE09Fnl2htmBCq7Nvd56O2gMZ47najwiKk++fE=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=tPREIgSRDOGanl5nqEL8uGa9mgTWxLMERnDh0I8MLOJSPePHRJnLW7HOuVjNeZVbJ 8gs3RsWgfF1MRVwHmzA9z3R2jXB4wMD7L+ySukQkSVvdhyoM/PLFcAttohwWIr+uZZ i+h9v3NxxZRrndbTjoMI3mB3+0aQ+guMzY9XCmZ0= Received: from jellaby.local.deinprogramm.de (localhost [IPv6:::1]) by jellaby.local (Postfix) with ESMTP id 6956A9406178; Mon, 5 Dec 2016 12:46:46 +0100 (CET) From: Michael Sperber To: Mark Millard Cc: freebsd-arm Subject: Re: Can't get 11.0-RELEASE to boot on Banana PI M3 References: <20161124222152.dfd02dcafdc25182b6b46e50@bidouilliste.com> <66508AA3-436A-4D9E-AAB5-B85D0B4FC40C@dsl-only.net> <9C8B313C-A058-44DF-8673-D23B481CE312@dsl-only.net> <1E9515A0-06D5-4CF9-9D29-D6FF591686F4@dsl-only.net> <53608BFE-4653-4407-AFBE-7AB5E45AF2C1@dsl-only.net> Date: Mon, 05 Dec 2016 12:46:46 +0100 In-Reply-To: (Mark Millard's message of "Mon, 5 Dec 2016 02:41:16 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 11:46:55 -0000 Mark Millard writes: > I moved the BPi-M3 into a new environment and it now gets > this sequence much of the time --but not always. That's also been my experience: It did work a couple of times. Linux worked every time, but I didn't do it enough to infer that it works all of the time. I'll also see if I can get a kernel with AWG_DEBUG enabled, but might take a few days. So, given that there's two of us now, should we file a PR somewhere? Again, many thanks! -- Regards, Mike From owner-freebsd-arm@freebsd.org Mon Dec 5 13:48:31 2016 Return-Path: Delivered-To: freebsd-arm@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 9A1C9C6709D for ; Mon, 5 Dec 2016 13:48:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8B14EDC for ; Mon, 5 Dec 2016 13:48:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id 8791AC6709C; Mon, 5 Dec 2016 13:48:31 +0000 (UTC) Delivered-To: arm@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 87400C6709B for ; Mon, 5 Dec 2016 13:48:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49441DA for ; Mon, 5 Dec 2016 13:48:30 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.81.13]) by kabab.cs.huji.ac.il with esmtp id 1cDtcv-000FYG-Cm for arm@freebsd.org; Mon, 05 Dec 2016 15:48:17 +0200 From: Daniel Braniss Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: dtb printout Message-Id: <7FD12DD6-B390-4EF3-811B-391798410BC0@cs.huji.ac.il> Date: Mon, 5 Dec 2016 15:48:17 +0200 To: arm@freebsd.org X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 13:48:31 -0000 Hi, the short version: is there a way to obtain the dtb from the kernel? the longer version: I am developing on several different arm boards, rpi, rpi2, = orangepi-one, orange-pc, to mention=20 a few, and each one has a different u-boot, ubldr, dtb, and I keep = loosing track :-( I find myself too often wondering which ddb file got loaded. cheers, danny From owner-freebsd-arm@freebsd.org Mon Dec 5 14:10:36 2016 Return-Path: Delivered-To: freebsd-arm@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 C8B2FC678A9 for ; Mon, 5 Dec 2016 14:10:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 B86C0F15 for ; Mon, 5 Dec 2016 14:10:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uB5EAar3072621 for ; Mon, 5 Dec 2016 14:10:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 215071] ports-mgmt/pkg compile failed becasue of memory exhaustion in jail 11.0.1 Date: Mon, 05 Dec 2016 14:10:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: audioone.official@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 14:10:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215071 Bug ID: 215071 Summary: ports-mgmt/pkg compile failed becasue of memory exhaustion in jail 11.0.1 Product: Base System Version: 11.0-RELEASE Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: audioone.official@gmail.com Created attachment 177688 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D177688&action= =3Dedit log file from poudriere and screen dump of jail 10.1/jail 11.0.1 ports-mgmt/pkg compiled normal in jail 10.1. but it act weird in jail 11.0.= 1, it took 100G swap(seriously?) and failed, is that a clang bug? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Mon Dec 5 14:48:54 2016 Return-Path: Delivered-To: freebsd-arm@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 B99A0C685E8 for ; Mon, 5 Dec 2016 14:48:54 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9A8BE984 for ; Mon, 5 Dec 2016 14:48:54 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 96F6BC685E7; Mon, 5 Dec 2016 14:48:54 +0000 (UTC) Delivered-To: arm@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 96A43C685E6 for ; Mon, 5 Dec 2016 14:48:54 +0000 (UTC) (envelope-from lists.br@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 2F383983 for ; Mon, 5 Dec 2016 14:48:54 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id a197so99985642wmd.0 for ; Mon, 05 Dec 2016 06:48:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=coKK/9IltG71xs+D+JIavZykJrDUvAaXl2GAWcPdK+M=; b=NaYAI0HFGEVCFtbfzqNmktVY7HOHx2/G77d+zk/nXZJDZTk4+6UQXWRqm1iKRpv3SZ uXk/nJpWrfacvTnCJ9EjAT7VtD9KHXZMFC6ygQXdN1DA+86OmUhjgQjzcWwuaIhHYeAm eKz9qhLN2lqSF1LsWAekIMTlDRl0pic1b3sofY+fX3BH4TfpGwcsg6Uit4ocBC0xZ/Nz 8T/DpheaWmAiIIJbR7H1fwW14ZHk98HlHYkTE5/7s2EMvU0kstjGaY1uwZs/dIE7Kxja dHc/ltjy9w9feqT3kiAGdAOK0zABBXkn4XzzbODysHMy1l4tmJYNk9QxFSwmIumIUV6F u6sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=coKK/9IltG71xs+D+JIavZykJrDUvAaXl2GAWcPdK+M=; b=jRzwnwrJyiqYUbnqUTqvs3EiyM8W1Upflcr2wDB8GI3RdPhTKSwOYDfGvhY+McLZmD ahwO4eWLfHimdY0eJltOyNy4ca/928Y7opqhT6xH+NSNgcxz7iuC1H5XhXgrYLlQmZhO BVzRnArCHiG+u6biuByaYJ8UbKhk0m4a0tk9koawyK3GVjSOgeQSq45SJCUALTZ723Pa Bx0j/X+cwAbDbvUKS/0N4ZirVUOkMz6e+8gIrlzPiqCUCohnEJt3E8aCDH5lxOValmXZ 22tZTqZ0rhlbdhnAQ4juvdeYfAnYEJljHlHkaLT5rGyifHLOZZoaRTs+qOG1wHORVOkw 5XZg== X-Gm-Message-State: AKaTC00aeg3aVcca2jVBa1gw/QOZCBayuxMRuME6cMV2MMbc6DbnHq4u1P/5WnWriQgRliFRkzDAkI39yyKTCw== X-Received: by 10.28.93.202 with SMTP id r193mr10409330wmb.30.1480949332012; Mon, 05 Dec 2016 06:48:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.153.26 with HTTP; Mon, 5 Dec 2016 06:48:51 -0800 (PST) In-Reply-To: <7FD12DD6-B390-4EF3-811B-391798410BC0@cs.huji.ac.il> References: <7FD12DD6-B390-4EF3-811B-391798410BC0@cs.huji.ac.il> From: Luiz Otavio O Souza Date: Mon, 5 Dec 2016 12:48:51 -0200 Message-ID: Subject: Re: dtb printout To: Daniel Braniss Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 14:48:54 -0000 On 5 December 2016 at 11:48, Daniel Braniss wrote: > Hi, > the short version: > is there a way to obtain the dtb from the kernel? > > the longer version: > I am developing on several different arm boards, rpi, rpi2, orangepi-one, orange-pc, to mention > a few, and each one has a different u-boot, ubldr, dtb, and I keep loosing track :-( > I find myself too often wondering which ddb file got loaded. Hi Daniel, You can use ofwdump to read the DTB data from kernel: ofwdump -a ofwdump -p /path/to/node Luiz From owner-freebsd-arm@freebsd.org Mon Dec 5 15:01:58 2016 Return-Path: Delivered-To: freebsd-arm@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 29152C68A5F for ; Mon, 5 Dec 2016 15:01:58 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 141C01436 for ; Mon, 5 Dec 2016 15:01:58 +0000 (UTC) (envelope-from ian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 13404C68A5E; Mon, 5 Dec 2016 15:01:58 +0000 (UTC) Delivered-To: arm@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 12B4AC68A5D for ; Mon, 5 Dec 2016 15:01:58 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (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 8FB121433 for ; Mon, 5 Dec 2016 15:01:57 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: bf3de023-bafb-11e6-9673-39b5816e8152 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id bf3de023-bafb-11e6-9673-39b5816e8152; Mon, 05 Dec 2016 15:01:50 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id uB5F1h7V013797; Mon, 5 Dec 2016 08:01:43 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1480950103.1889.251.camel@freebsd.org> Subject: Re: dtb printout From: Ian Lepore To: Daniel Braniss , arm@freebsd.org Date: Mon, 05 Dec 2016 08:01:43 -0700 In-Reply-To: <7FD12DD6-B390-4EF3-811B-391798410BC0@cs.huji.ac.il> References: <7FD12DD6-B390-4EF3-811B-391798410BC0@cs.huji.ac.il> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 15:01:58 -0000 On Mon, 2016-12-05 at 15:48 +0200, Daniel Braniss wrote: > Hi, > the short version: > is there a way to obtain the dtb from the kernel? > > the longer version: > I am developing on several different arm boards, rpi, rpi2, orangepi- > one, orange-pc, to mention  > a few, and each one has a different u-boot, ubldr, dtb, and I keep > loosing track :-( > I find myself too often wondering which ddb file got loaded. > > cheers, > danny First:  each one does NOT have a different ubldr.  All ubldr.bin files are the same, they're not board-specific anymore.  (The elf versions, ubldr without the .bin, may have a different load address in the elf header, but other than that, they're identical too and can actually be loaded at any address.) To see the contents of the dtb, use ofwdump.  The output is not especially pretty.  There is a manpage for it. To just get a quick reminder of which file was loaded, create a /boot/loader.rc.local (<-- .rc not .conf) that contains      ubenv import fdtfile fdt_file Then in the running system you can use kenv and you'll see   uboot.fdtfile="bcm2835-rpi-b-rev2.dtb" Unfortunately, some u-boots use fdtfile, some use fdt_file.  Grrr. You can, of course, use that ubenv import thing to pull any variable from the uboot environment into the kernel environment.  If you just say ubenv import without naming a variable, you get all the vars (including vars that contain scripts, which is kind of messy). -- Ian From owner-freebsd-arm@freebsd.org Mon Dec 5 15:13:46 2016 Return-Path: Delivered-To: freebsd-arm@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 F13CCC68D42 for ; Mon, 5 Dec 2016 15:13:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 E09D119F8 for ; Mon, 5 Dec 2016 15:13:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uB5FDkpJ002343 for ; Mon, 5 Dec 2016 15:13:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 215071] ports-mgmt/pkg compile failed becasue of memory exhaustion in jail 11.0.1 Date: Mon, 05 Dec 2016 15:13:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: Andrew@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 15:13:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215071 Andrew Turner changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|New |Closed --- Comment #2 from Andrew Turner --- *** This bug has been marked as a duplicate of bug 214944 *** --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Mon Dec 5 17:18:28 2016 Return-Path: Delivered-To: freebsd-arm@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 0FFFFC68803 for ; Mon, 5 Dec 2016 17:18:28 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id E5FBE10DC for ; Mon, 5 Dec 2016 17:18:27 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: by mailman.ysv.freebsd.org (Postfix) id E26F9C68801; Mon, 5 Dec 2016 17:18:27 +0000 (UTC) Delivered-To: arm@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 E20C4C68800 for ; Mon, 5 Dec 2016 17:18:27 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (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 C8DBF10DB for ; Mon, 5 Dec 2016 17:18:27 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from [76.102.118.237] (helo=[10.0.1.5]) by id.bluezbox.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87 (FreeBSD)) (envelope-from ) id 1cDwuH-000CY0-6H; Mon, 05 Dec 2016 09:18:25 -0800 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: dtb printout From: Oleksandr Tymoshenko In-Reply-To: <7FD12DD6-B390-4EF3-811B-391798410BC0@cs.huji.ac.il> Date: Mon, 5 Dec 2016 09:18:24 -0800 Cc: arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <67BE2952-5253-44ED-82A6-9CE95F1D7EE8@bluezbox.com> References: <7FD12DD6-B390-4EF3-811B-391798410BC0@cs.huji.ac.il> To: Daniel Braniss X-Mailer: Apple Mail (2.3251) Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: > On Dec 5, 2016, at 5:48 AM, Daniel Braniss wrote: > > Hi, > the short version: > is there a way to obtain the dtb from the kernel? The full dtb can be obtained by running sysctl -b hw.fdt.dtb> file.dtb, dts source: sysctl -b hw.fdt.dtb | dtc -I dtb [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: huji.ac.il] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 17:18:28 -0000 > On Dec 5, 2016, at 5:48 AM, Daniel Braniss = wrote: >=20 > Hi, > the short version: > is there a way to obtain the dtb from the kernel? The full dtb can be obtained by running sysctl -b hw.fdt.dtb> file.dtb, = dts source: sysctl -b hw.fdt.dtb | dtc -I dtb > the longer version: > I am developing on several different arm boards, rpi, rpi2, = orangepi-one, orange-pc, to mention=20 > a few, and each one has a different u-boot, ubldr, dtb, and I keep = loosing track :-( > I find myself too often wondering which ddb file got loaded. From owner-freebsd-arm@freebsd.org Tue Dec 6 00:50:36 2016 Return-Path: Delivered-To: freebsd-arm@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 0412CC599D7 for ; Tue, 6 Dec 2016 00:50:36 +0000 (UTC) (envelope-from zzzzzrp@aliyun.com) Received: from out4437.biz.mail.alibaba.com (out4437.biz.mail.alibaba.com [47.88.44.37]) by mx1.freebsd.org (Postfix) with ESMTP id A38CD36A for ; Tue, 6 Dec 2016 00:50:34 +0000 (UTC) (envelope-from zzzzzrp@aliyun.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aliyun.com; s=s1024; t=1480985418; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type; bh=Q4aTCEuk46pMU/nf0jgsEMr5ds+djpQIfNX4i3zkhik=; b=vaMV4G/LIFJHfD1lOuQcwKvEChBngH5lSugTSd2qKV/CSSHzsvBJS8L3+rnNs0x3zaGMiY6M7y5+5FC7vXLomV1TBIMzeeKnJl5jk79soTXuf0fHWQEk+orsS5kWco1hYxmlb1dhsn90ItnzOX6F+IK8ctm0Rui0XLDiwuHs3x0= X-Alimail-AntiSpam: AC=CONTINUE; BC=0.1938195|-1; FP=0|0|0|0|0|-1|-1|-1; HT=e01e07487; MF=zzzzzrp@aliyun.com; NM=1; PH=DW; RN=1; RT=1; SR=0; TI=W4_4767832_0AC264CE_1480985408815_o7001c73r; Received: from WS-web (zzzzzrp@aliyun.com[171.113.239.21]) by e01e04407.eu6 at Tue, 06 Dec 2016 08:50:10 +0800 Date: Tue, 06 Dec 2016 08:50:10 +0800 From: "zzzzzrp" To: "freebsd-arm" Reply-To: "zzzzzrp" Message-ID: <1b7e3f44-313b-4956-ad3b-3827df5fc3ed.zzzzzrp@aliyun.com> Subject: =?UTF-8?B?5Zue5aSN77yaQ2hhbmdlIE1BQyBBZHJlc3NlIG9uIFJQSS1C?= X-Mailer: Alimail-Mailagent revision 88410 MIME-Version: 1.0 References: 9ad18046-77e1-7c6f-4657-8571afb5c35f@yahoo.se In-Reply-To: 9ad18046-77e1-7c6f-4657-8571afb5c35f@yahoo.se x-aliyun-mail-creator: W4_4767832_VE1TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgNi4xKSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNTQuMC4yODQwLjk5IFNhZmFyaS81MzcuMzY=Et Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 00:50:36 -0000 Ci0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLeWPkeS7tuS6uu+8mmRpZmZ1c2FlIHZpYSBmcmVlYnNkLWFybSA8ZnJlZWJzZC1h cm1AZnJlZWJzZC5vcmc+5Y+R6YCB5pe26Ze077yaMjAxNuW5tDEx5pyIOeaXpSjmmJ/mnJ/kuIkp IDA1OjEx5pS25Lu25Lq677yaZnJlZWJzZC1hcm0gPGZyZWVic2QtYXJtQGZyZWVic2Qub3JnPuS4 u+OAgOmimO+8mkNoYW5nZSBNQUMgQWRyZXNzZSBvbiBSUEktQgpIZWxsbyEKCkRvZXPCoGFueWJv ecKga25vd8KgaG93wqB0b8KgY2hhbmdlwqB0aGXCoE1BQ8KgYWRkcmVzc8Kgb27CoGHCoFJhc3Bi ZXJyecKgUGnCoHdpdGgKRnJlZUJTRMKgMTEuMC1TVEFCTEU/CgpJJ3ZlwqB0cmllZMKgaXTCoGlu wqAvZXRjL3N0YXJ0X2lmLnVlMMKgdGhpc8Kgd2F5OgoKaWZjb25maWfCoHVlMMKgZG93bsKgZGVs ZXRlCmlmY29uZmlnwqB1ZTDCoHByb21pc2MKaWZjb25maWfCoHVlMMKgZXRoZXLCoDAwOkZGOkND OjAwOjExOjExCgpCdXTCoGl0J3PCoG9ubHnCoHBvc3NpYmxlwqB0b8KgZG/CoGl0wqBpbsKgcHJv bWljb3VzwqBtb2RlwqBvZsKgdGhlwqBkZXZpY2UuCldpdGhvdXTCoHRoZXJlwqBpc8Kgbm/CoG1v cmXCoG5ldHdvcmvCoGNvbm5lY3Rpb27CoGFmdGVywqBhcHBseWluZ8KgdGhlc2XCoHNldHRpbmdz LgoKSXTCoGNvdWxkwqBiZcKgcHJvcGVybHnCoGHCoGJ1Z8KgZHVlwqB0b8KgdGhlwqBVU0LCoG5l dHdvcmvCoGRyaXZlci4KCmh0dHBzOi8vYnVncy5mcmVlYnNkLm9yZy9idWd6aWxsYS9zaG93X2J1 Zy5jZ2k/aWQ9MTY4MjY4CgpNYXliZcKgdGhlcmXCoGlzwqBhbm90aGVywqB3YXkswqBob3fCoHdp dGjCoHRoZcKgTGludXjCoGtlcm5lbMKgY29tbWFuZMKgbGluZcKgb3LCoGFuCmNvbmZpZ8Kgb3B0 aW9uLMKgbGlrZcKgdGhpczrCoHNtc2M5NXh4Lm1hY2FkZHI9MDA6RkY6Q0M6MDA6MTE6MTEuCgpS ZWdhcmRzLApfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpm cmVlYnNkLWFybUBmcmVlYnNkLm9yZ8KgbWFpbGluZ8KgbGlzdApodHRwczovL2xpc3RzLmZyZWVi c2Qub3JnL21haWxtYW4vbGlzdGluZm8vZnJlZWJzZC1hcm0KVG/CoHVuc3Vic2NyaWJlLMKgc2Vu ZMKgYW55wqBtYWlswqB0b8KgImZyZWVic2QtYXJtLXVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIgo= From owner-freebsd-arm@freebsd.org Tue Dec 6 02:20:00 2016 Return-Path: Delivered-To: freebsd-arm@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 6CA56C68217 for ; Tue, 6 Dec 2016 02:20:00 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id 60B91163C; Tue, 6 Dec 2016 02:20:00 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id 646B6118; Tue, 6 Dec 2016 02:20:00 +0000 (UTC) Date: Tue, 6 Dec 2016 02:19:58 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: avos@FreeBSD.org, jhb@FreeBSD.org, rmacklem@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <2077757091.14.1480990800418.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #4302 - Failure MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: FAILURE Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 02:20:00 -0000 FreeBSD_HEAD_arm64 - Build #4302 - Failure: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4302/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4302/ch= anges Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4302/con= sole Change summaries: 309589 by jhb: Rework syscall structure lookups. Avoid always using an O(n^2) loop over known syscall structures with strcmp() on each system call. Instead, use a per-ABI cache indexed by the system call number. The first 1024 system calls (which should cover all of the normal system calls in currently-supported ABIs) use a flat arra= y indexed by the system call number to find system call structure. For other system calls, a linked list of structures storing an integer to structure mapping is stored in the ABI. The linked list isn't very smart, but it should only be used by buggy applications invoking unknown system calls. This also fixes handling of unknown system calls which currently trigger a NULL pointer dereference. Reviewed by:=09kib MFC after:=092 weeks 309588 by jhb: Don't attach to Host-PCI bridges with a bad bus number. If the bus number assigned to a Host-PCI bridge doesn't match the first bus number in the associated producer range from _CRS, print a warning and fail to attach rather than panicking due to an assertion failure. At least one single-socket Dell machine leaves a "ghost" Host-PCI bridge device in the ACPI namespace that seems to correspond to the I/O hub in the second socket of a two-socket machine. However, the BIOS doesn't configure the settings for this "ghost" bridge correctly, nor does it have any PCI devices behind it. Tested by:=09royger MFC after:=092 weeks 309586 by avos: rsu: add hardware crypto support (WEP, TKIP and CCMP). This change includes firmware commands for key setup + some additional checking via CAMREAD / CAMWRITE registers. Nothing (except rsu_delete_key() for pairwise keys) is deferred; to ensure that things are done in order rsu_set_key() will wait until key deletion task will be finished. Tested with Asus USB-N10 (all ciphers). Differences from initial (reviewed) patch: - Pause AC queues before disassociation - since CMD_DISCONNECT clears crypto state all pending frames must be processed / dropped before it. - Check sc_running flag before trying to set static keys. - Clear key index from bitmap even when firmware command fails (it will be invalidated via CAMWRITE anyway). Reviewed by:=09adrian, kevlo Tested by:=09kevlo Differential Revision:=09https://reviews.freebsd.org/D8706 309582 by jhb: Bump Dd for addition of T6. Pointy hat to:=09jhb 309581 by jhb: Document support for Terminator 6 adapters in cxgbe(4) and cxgbev(4). Approved by:=09np MFC after:=093 days Sponsored by:=09Chelsio Communications Differential Revision:=09https://reviews.freebsd.org/D8716 309566 by rmacklem: Fix the NFSv4.1 server for Open reclaim after a reboot. The NFSv4.1 server failed to update the nfs-stablerestart file for a client when the client was issued its first Open. As such, recovery of Opens after a server reboot failed with NFSERR_NOGRACE. This patch fixes this. It also changes the code so that it malloc()'s the 1024 byte array instead of allocating it on the kernel stack for both NFSv4.0 and NFSv4.1. Note that this bug only affected NFSv4.1 and only when clients attempted to reclaim Opens after a server reboot. MFC after:=092 weeks The end of the build log: [...truncated 175731 lines...] awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- all_subdir_usb --- --- all_subdir_usb/usb --- ctfconvert -L VERSION -g usb_hub.o --- all_subdir_vte --- --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- all_subdir_usb --- --- usb_lookup.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_lookup.o -MTusb_lookup.o -mgeneral-regs-only -ffixed-x= 18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-dec= ls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arit= h -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_k= printf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-prag= mas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parent= heses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-erro= r-shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/u= sb/../../../dev/usb/usb_lookup.c -o usb_lookup.o --- all_subdir_vte --- --- pci_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h --- miibus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mii/miibus_if.m -= h --- all_subdir_ufs --- --- ffs_vnops.o --- ctfconvert -L VERSION -g ffs_vnops.o --- all_subdir_vte --- --- if_vte.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.if_vte.o -MTif_vte.o -mgeneral-regs-only -ffixed-x18 -ffre= estanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnes= ted-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winli= ne -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__= -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno= -error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-eq= uality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-= negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/vte/../../dev= /vte/if_vte.c -o if_vte.o --- all_subdir_ufs --- --- ufs_acl.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.ufs_acl.o -MTufs_acl.o -mgeneral-regs-only -ffixed-x18 -ff= reestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wn= ested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Win= line -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf= __ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -W= no-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-= equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shif= t-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/ufs/../../u= fs/ufs/ufs_acl.c -o ufs_acl.o --- all_subdir_usb --- ctfconvert -L VERSION -g usb_lookup.o --- usb_mbuf.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_mbuf.o -MTusb_mbuf.o -mgeneral-regs-only -ffixed-x18 -= ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -= Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -W= inline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprin= tf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas = -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parenthese= s-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-sh= ift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/usb/.= ./../../dev/usb/usb_mbuf.c -o usb_mbuf.o ctfconvert -L VERSION -g usb_mbuf.o --- usb_msctest.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_msctest.o -MTusb_msctest.o -mgeneral-regs-only -ffixed= -x18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-d= ecls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar= ith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd= _kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pr= agmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-pare= ntheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-er= ror-shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb= /usb/../../../dev/usb/usb_msctest.c -o usb_msctest.o --- all_subdir_ufs --- ctfconvert -L VERSION -g ufs_acl.o --- ufs.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o ufs.kld ufs_acl.= o ufs_bmap.o ufs_dirhash.o ufs_extattr.o ufs_gjournal.o ufs_inode.o ufs_loo= kup.o ufs_quota.o ufs_vfsops.o ufs_vnops.o ffs_alloc.o ffs_balloc.o ffs_ino= de.o ffs_rawread.o ffs_snapshot.o ffs_softdep.o ffs_subr.o ffs_suspend.o ff= s_tables.o ffs_vfsops.o ffs_vnops.o ctfmerge -L VERSION -g -o ufs.kld ufs_acl.o ufs_bmap.o ufs_dirhash.o ufs_ex= tattr.o ufs_gjournal.o ufs_inode.o ufs_lookup.o ufs_quota.o ufs_vfsops.o uf= s_vnops.o ffs_alloc.o ffs_balloc.o ffs_inode.o ffs_rawread.o ffs_snapshot.o= ffs_softdep.o ffs_subr.o ffs_suspend.o ffs_tables.o ffs_vfsops.o ffs_vnops= .o --- all_subdir_usb --- ctfconvert -L VERSION -g usb_msctest.o --- usb_parse.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_parse.o -MTusb_parse.o -mgeneral-regs-only -ffixed-x18= -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls= -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith = -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kpr= intf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragma= s -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parenthe= ses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-= shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/usb= /../../../dev/usb/usb_parse.c -o usb_parse.o --- all_subdir_ufs --- :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk ufs.kld export_syms | xargs -J% /us= r/local/aarch64-freebsd/bin/objcopy % ufs.kld --- ufs.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o ufs.ko.ful= l ufs_acl.o ufs_bmap.o ufs_dirhash.o ufs_extattr.o ufs_gjournal.o ufs_inode= .o ufs_lookup.o ufs_quota.o ufs_vfsops.o ufs_vnops.o ffs_alloc.o ffs_balloc= .o ffs_inode.o ffs_rawread.o ffs_snapshot.o ffs_softdep.o ffs_subr.o ffs_su= spend.o ffs_tables.o ffs_vfsops.o ffs_vnops.o --- ufs.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug ufs.ko.full ufs.ko= .debug --- ufs.ko --- --- all_subdir_usb --- ctfconvert -L VERSION -g usb_parse.o --- all_subdir_ufs --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=3D= ufs.ko.debug ufs.ko.full ufs.ko --- all_subdir_usb --- --- usb_pf.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_pf.o -MTusb_pf.o -mgeneral-regs-only -ffixed-x18 -ffre= estanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnes= ted-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winli= ne -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__= -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno= -error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-eq= uality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-= negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/usb/../..= /../dev/usb/usb_pf.c -o usb_pf.o --- ck_hs.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I.= -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTIO= N_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-fra= me-pointer -MD -MF.depend.ck_hs.o -MTck_hs.o -mgeneral-regs-only -ffixed-x= 18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-dec= ls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arit= h -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_k= printf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-prag= mas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parent= heses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-erro= r-shift-negative-value -std=3Diso9899:1999 -Werror /usr/src/sys/contrib= /ck/src/ck_hs.c -I/usr/src/sys/contrib/ck/include --- modules-all --- --- all_subdir_vte --- ctfconvert -L VERSION -g if_vte.o --- if_vte.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o if_vte.kld if_vt= e.o ctfmerge -L VERSION -g -o if_vte.kld if_vte.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk if_vte.kld export_syms | xargs -J% = /usr/local/aarch64-freebsd/bin/objcopy % if_vte.kld --- if_vte.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o if_vte.ko.= full if_vte.o --- if_vte.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug if_vte.ko.full if_= vte.ko.debug --- if_vte.ko --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=3D= if_vte.ko.debug if_vte.ko.full if_vte.ko --- all_subdir_usb --- --- all_subdir_usb/xhci --- --- xhci_pci.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.xhci_pci.o -MTxhci_pci.o -mgeneral-regs-only -ffixed-x18 -= ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -= Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -W= inline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprin= tf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas = -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parenthese= s-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-sh= ift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/xhci/= ../../../dev/usb/controller/xhci_pci.c -o xhci_pci.o --- all_subdir_usb/usb --- ctfconvert -L VERSION -g usb_pf.o --- usb_process.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_process.o -MTusb_process.o -mgeneral-regs-only -ffixed= -x18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-d= ecls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar= ith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd= _kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pr= agmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-pare= ntheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-er= ror-shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb= /usb/../../../dev/usb/usb_process.c -o usb_process.o --- all_subdir_usb/xhci --- --- xhci.o --- ctfconvert -L VERSION -g xhci.o --- xhci_pci.o --- ctfconvert -L VERSION -g xhci_pci.o --- all_subdir_usb/usb --- --- usb_request.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_request.o -MTusb_request.o -mgeneral-regs-only -ffixed= -x18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-d= ecls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar= ith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd= _kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pr= agmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-pare= ntheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-er= ror-shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb= /usb/../../../dev/usb/usb_request.c -o usb_request.o --- ck_hs.o --- ctfconvert -L VERSION -g ck_hs.o --- modules-all --- --- all_subdir_usb/rsu --- =3D=3D=3D> usb/rsu (all) --- all_subdir_usb/xhci --- --- xhci.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o xhci.kld xhci_pc= i.o xhci.o ctfmerge -L VERSION -g -o xhci.kld xhci_pci.o xhci.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk xhci.kld export_syms | xargs -J% /u= sr/local/aarch64-freebsd/bin/objcopy % xhci.kld --- xhci.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o xhci.ko.fu= ll xhci_pci.o xhci.o --- xhci.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug xhci.ko.full xhci.= ko.debug --- all_subdir_usb/rsu --- --- machine --- machine -> /usr/src/sys/arm64/include --- all_subdir_usb/xhci --- --- xhci.ko --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=3D= xhci.ko.debug xhci.ko.full xhci.ko --- all_subdir_usb/rsu --- --- opt_bus.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_bus.h opt_bus.h --- opt_usb.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_usb.h opt_usb.h --- opt_wlan.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_wlan.h opt_wlan.h --- all_subdir_usb/usb --- --- usb_transfer.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_transfer.o -MTusb_transfer.o -mgeneral-regs-only -ffix= ed-x18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant= -decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-= arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freeb= sd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-= pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-pa= rentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-= error-shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/u= sb/usb/../../../dev/usb/usb_transfer.c -o usb_transfer.o --- all_subdir_usb/rsu --- --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- usb_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/usb/usb_if.m -h --- usbdevs.h --- awk -f /usr/src/sys/tools/usbdevs2h.awk /usr/src/sys/dev/usb/usbdevs -h --- all_subdir_usb/usb --- --- usb_process.o --- ctfconvert -L VERSION -g usb_process.o --- ck_ht.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I.= -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTIO= N_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-fra= me-pointer -MD -MF.depend.ck_ht.o -MTck_ht.o -mgeneral-regs-only -ffixed-x= 18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-dec= ls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arit= h -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_k= printf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-prag= mas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parent= heses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-erro= r-shift-negative-value -std=3Diso9899:1999 -Werror /usr/src/sys/contrib= /ck/src/ck_ht.c -I/usr/src/sys/contrib/ck/include ctfconvert -L VERSION -g ck_ht.o --- modules-all --- --- usb_util.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_util.o -MTusb_util.o -mgeneral-regs-only -ffixed-x18 -= ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -= Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -W= inline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprin= tf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas = -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parenthese= s-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-sh= ift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/usb/.= ./../../dev/usb/usb_util.c -o usb_util.o --- all_subdir_usb/rsu --- --- if_rsu.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.if_rsu.o -MTif_rsu.o -mgeneral-regs-only -ffixed-x18 -ffre= estanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnes= ted-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winli= ne -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__= -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno= -error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-eq= uality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-= negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/rsu/../..= /../dev/usb/wlan/if_rsu.c -o if_rsu.o --- all_subdir_usb/usb --- --- usb_request.o --- ctfconvert -L VERSION -g usb_request.o --- all_subdir_vx --- =3D=3D=3D> vx (all) --- machine --- machine -> /usr/src/sys/arm64/include --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- pci_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h --- if_vx_pci.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.if_vx_pci.o -MTif_vx_pci.o -mgeneral-regs-only -ffixed-x18= -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls= -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith = -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kpr= intf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragma= s -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parenthe= ses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-= shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/dev/vx/if_vx_pc= i.c -o if_vx_pci.o --- all_subdir_usb --- --- usb_util.o --- ctfconvert -L VERSION -g usb_util.o --- all_subdir_vx --- --- if_vx.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.if_vx.o -MTif_vx.o -mgeneral-regs-only -ffixed-x18 -ffrees= tanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wneste= d-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline= -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -= Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-e= rror-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equa= lity -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-ne= gative-value -std=3Diso9899:1999 -c /usr/src/sys/dev/vx/if_vx.c -o if_vx= .o --- all_subdir_usb --- --- all_subdir_usb/rsu --- /usr/src/sys/modules/usb/rsu/../../../dev/usb/wlan/if_rsu.c:1476:40: error:= format specifies type 'int' but the argument has type 'unsigned long' [-We= rror,-Wformat] ("keyix %d > %d\n", k->wk_keyix, nitems(sc->group_keys)= )); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~= ~~ %lu /usr/src/sys/sys/param.h:293:19: note: expanded from macro 'nitems' #define nitems(x) (sizeof((x)) / sizeof((x)[0])) ^ /usr/src/sys/sys/systm.h:86:17: note: expanded from macro 'KASSERT' kassert_panic msg; \ ^~~ 1 error generated. *** [if_rsu.o] Error code 1 bmake[5]: stopped in /usr/src/sys/modules/usb/rsu 1 error bmake[5]: stopped in /usr/src/sys/modules/usb/rsu *** [all_subdir_usb/rsu] Error code 2 bmake[4]: stopped in /usr/src/sys/modules/usb --- all_subdir_vx --- --- if_vx_pci.o --- ctfconvert -L VERSION -g if_vx_pci.o --- all_subdir_usb --- --- all_subdir_usb/usb --- --- usb_transfer.o --- ctfconvert -L VERSION -g usb_transfer.o A failure has been detected in another branch of the parallel make bmake[5]: stopped in /usr/src/sys/modules/usb/usb *** [all_subdir_usb/usb] Error code 2 bmake[4]: stopped in /usr/src/sys/modules/usb 2 errors bmake[4]: stopped in /usr/src/sys/modules/usb *** [all_subdir_usb] Error code 2 bmake[3]: stopped in /usr/src/sys/modules --- all_subdir_vx --- --- if_vx.o --- ctfconvert -L VERSION -g if_vx.o A failure has been detected in another branch of the parallel make bmake[4]: stopped in /usr/src/sys/modules/vx *** [all_subdir_vx] Error code 2 bmake[3]: stopped in /usr/src/sys/modules 2 errors bmake[3]: stopped in /usr/src/sys/modules *** [modules-all] Error code 2 bmake[2]: stopped in /usr/obj/arm64.aarch64/usr/src/sys/GENERIC 1 error bmake[2]: stopped in /usr/obj/arm64.aarch64/usr/src/sys/GENERIC *** [buildkernel] Error code 2 bmake[1]: stopped in /usr/src 1 error bmake[1]: stopped in /usr/src *** [buildkernel] Error code 2 make: stopped in /usr/src 1 error make: stopped in /usr/src Build step 'Execute shell' marked build as failure [WARNINGS] Skipping publisher since build result is FAILURE [PostBuildScript] - Execution post build scripts. [FreeBSD_HEAD_arm64] $ /bin/sh -xe /tmp/hudson6141757597201144772.sh + export 'PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/b= in' + export 'jname=3DFreeBSD_HEAD_arm64' + echo 'clean up jail FreeBSD_HEAD_arm64' clean up jail FreeBSD_HEAD_arm64 + sudo jail -r FreeBSD_HEAD_arm64 + sudo ifconfig igb0 inet6 2610:1c1:1:607c::101:1 -alias + sudo umount FreeBSD_HEAD_arm64/usr/src + sudo umount FreeBSD_HEAD_arm64/dev + sudo rm -fr FreeBSD_HEAD_arm64 + true + sudo chflags -R noschg FreeBSD_HEAD_arm64 + sudo rm -fr FreeBSD_HEAD_arm64 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any From owner-freebsd-arm@freebsd.org Tue Dec 6 02:42:34 2016 Return-Path: Delivered-To: freebsd-arm@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 7CE3AC68F0C for ; Tue, 6 Dec 2016 02:42:34 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (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 61EF482F for ; Tue, 6 Dec 2016 02:42:34 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from [208.184.220.60] (helo=limiting-factor.dolby.net) by id.bluezbox.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87 (FreeBSD)) (envelope-from ) id 1cE5hz-000E5U-5C; Mon, 05 Dec 2016 18:42:25 -0800 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: Questions about i2c.c (TMP102 temperature sensor) From: Oleksandr Tymoshenko In-Reply-To: <20161205094915.20847444789f803133b56af9@bidouilliste.com> Date: Mon, 5 Dec 2016 18:41:48 -0800 Cc: Nick Hibma , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <4F71632E-2EFB-417E-898B-394E1C5CC9E8@bluezbox.com> References: <9424D7FD-C4B6-43D5-A0C5-76D5BE9ED1DE@ip-knowhow.com> <58B43D61-0B46-4310-868F-D7336585731B@bluezbox.com> <20161205094915.20847444789f803133b56af9@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3251) Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: > On Dec 5, 2016, at 12:49 AM, Emmanuel Vadot wrote: > > On Fri, 2 Dec 2016 13:11:34 -0800 > Oleksandr Tymoshenko wrote: > >> Switching freebsd-embedded@ to freebsd-arm@ since the former does not get as much attention as the latter. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: github.com] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 02:42:34 -0000 > On Dec 5, 2016, at 12:49 AM, Emmanuel Vadot = wrote: >=20 > On Fri, 2 Dec 2016 13:11:34 -0800 > Oleksandr Tymoshenko wrote: >=20 >> Switching freebsd-embedded@ to freebsd-arm@ since the former does not = get as much attention as the latter. .. skipped .. > I have an updated version of i2c(8) which support I2CRDWR here : > https://github.com/evadot/freebsd/tree/i2c_rdrw/usr.sbin/i2c >=20 > I didn't commit it just because I want to make I2CRDWR the default > since there is iicbus_transfer_gen. I just need to make sure that it > works almost everwhere (it does on allwinner board where the driver > doesn't support I2CRDWR at least). >=20 > Can you test using i2c(8) from my branch with your device ? It works on RPi2 with TMP102 attached. Although rdwr is off by default, I had to pass -x option to enable that behavior. I went through I2C = drivers in HEAD and that=E2=80=99s iicbus methods they support (TRANSFER is the = name of the method for RDWR): TI: TRANSFER, RESET i.MX: START, STOP, REPEATED START, RESET, READ, WRITE, TRANSFER Vybrid: START, STOP, REPEATED START, RESET, READ, WRITE, TRANSFER Exynos: START, STOP, REPEATED START, RESET, READ, WRITE, TRANSFER Allwinner: TRANSFER, RESET Tegra: TRANSFER, RESET Broadcom: TRANSFER, RESET AT91: TRANSFER, RESET powerpc/powermac/kiic.c: TRANSFER powerpc/mpc85xx/i2c.c: START, STOP, REPEATED START, RESET, READ, WRITE, = TRANSFER XLR: START, STOP, REPEATED START, RESET, READ, WRITE, TRANSFER So in theory it should work on all these platforms From owner-freebsd-arm@freebsd.org Tue Dec 6 04:36:49 2016 Return-Path: Delivered-To: freebsd-arm@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 E87CEC69E60 for ; Tue, 6 Dec 2016 04:36:49 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id CCAAC1383; Tue, 6 Dec 2016 04:36:49 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id 3DE37121; Tue, 6 Dec 2016 04:36:50 +0000 (UTC) Date: Tue, 6 Dec 2016 04:36:48 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: mm@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <1105036450.16.1480999010260.JavaMail.jenkins@jenkins-9.freebsd.org> In-Reply-To: <2077757091.14.1480990800418.JavaMail.jenkins@jenkins-9.freebsd.org> References: <2077757091.14.1480990800418.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #4303 - Still Failing MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: FAILURE Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 04:36:50 -0000 FreeBSD_HEAD_arm64 - Build #4303 - Still Failing: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4303/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4303/ch= anges Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4303/con= sole Change summaries: 309590 by mm: MFV r309587: Sync libarchive with vendor. Vendor bugfixes: libarchive #831: Spelling fixes libarchive #832: Relax sanity checks of number fields in tar header even more OSS-Fuzz #16: Fix possible hang in uudecode_filter_read() OSS-Fuzz #220: Reject an 'ar' filename table larger than 1GB or a filename larger than 1MB. MFC after:=091 week The end of the build log: [...truncated 175648 lines...] awk -f /usr/src/sys/conf/kmod_syms.awk vkbd.kld export_syms | xargs -J% /u= sr/local/aarch64-freebsd/bin/objcopy % vkbd.kld --- vkbd.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o vkbd.ko.fu= ll vkbd.o --- vkbd.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug vkbd.ko.full vkbd.= ko.debug --- vkbd.ko --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=3D= vkbd.ko.debug vkbd.ko.full vkbd.ko --- all_subdir_usb --- --- all_subdir_usb/xhci --- =3D=3D=3D> usb/xhci (all) --- machine --- machine -> /usr/src/sys/arm64/include --- opt_bus.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_bus.h opt_bus.h --- opt_usb.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_usb.h opt_usb.h --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- usb_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/usb/usb_if.m -h --- pci_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h --- xhci.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.xhci.o -MTxhci.o -mgeneral-regs-only -ffixed-x18 -ffreesta= nding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-= externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -= Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wm= issing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-err= or-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equali= ty -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-nega= tive-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/xhci/../../..= /dev/usb/controller/xhci.c -o xhci.o --- all_subdir_usb/uhci --- ctfconvert -L VERSION -g uhci_pci.o --- uhci.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o uhci.kld uhci_pc= i.o uhci.o ctfmerge -L VERSION -g -o uhci.kld uhci_pci.o uhci.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk uhci.kld export_syms | xargs -J% /u= sr/local/aarch64-freebsd/bin/objcopy % uhci.kld --- all_subdir_usb/usb --- ctfconvert -L VERSION -g usb_hid.o --- all_subdir_usb/uhci --- --- uhci.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o uhci.ko.fu= ll uhci_pci.o uhci.o --- all_subdir_usb/usb --- --- usb_hub.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_hub.o -MTusb_hub.o -mgeneral-regs-only -ffixed-x18 -ff= reestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wn= ested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Win= line -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf= __ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -W= no-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-= equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shif= t-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/usb/../= ../../dev/usb/usb_hub.c -o usb_hub.o --- all_subdir_usb/uhci --- --- uhci.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug uhci.ko.full uhci.= ko.debug --- uhci.ko --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=3D= uhci.ko.debug uhci.ko.full uhci.ko --- all_subdir_usb/usb --- --- usb_lookup.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_lookup.o -MTusb_lookup.o -mgeneral-regs-only -ffixed-x= 18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-dec= ls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arit= h -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_k= printf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-prag= mas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parent= heses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-erro= r-shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/u= sb/../../../dev/usb/usb_lookup.c -o usb_lookup.o ctfconvert -L VERSION -g usb_lookup.o --- all_subdir_vr --- =3D=3D=3D> vr (all) --- machine --- machine -> /usr/src/sys/arm64/include --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- pci_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h --- miibus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mii/miibus_if.m -= h --- if_vr.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.if_vr.o -MTif_vr.o -mgeneral-regs-only -ffixed-x18 -ffrees= tanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wneste= d-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline= -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -= Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-e= rror-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equa= lity -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-ne= gative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/vr/../../dev/vr= /if_vr.c -o if_vr.o --- all_subdir_usb --- --- usb_hub.o --- ctfconvert -L VERSION -g usb_hub.o --- usb_mbuf.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_mbuf.o -MTusb_mbuf.o -mgeneral-regs-only -ffixed-x18 -= ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -= Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -W= inline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprin= tf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas = -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parenthese= s-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-sh= ift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/usb/.= ./../../dev/usb/usb_mbuf.c -o usb_mbuf.o ctfconvert -L VERSION -g usb_mbuf.o --- usb_msctest.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_msctest.o -MTusb_msctest.o -mgeneral-regs-only -ffixed= -x18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-d= ecls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar= ith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd= _kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pr= agmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-pare= ntheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-er= ror-shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb= /usb/../../../dev/usb/usb_msctest.c -o usb_msctest.o --- all_subdir_usb/xhci --- ctfconvert -L VERSION -g xhci.o --- xhci_pci.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.xhci_pci.o -MTxhci_pci.o -mgeneral-regs-only -ffixed-x18 -= ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -= Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -W= inline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprin= tf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas = -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parenthese= s-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-sh= ift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/xhci/= ../../../dev/usb/controller/xhci_pci.c -o xhci_pci.o --- all_subdir_vr --- ctfconvert -L VERSION -g if_vr.o --- if_vr.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o if_vr.kld if_vr.= o ctfmerge -L VERSION -g -o if_vr.kld if_vr.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk if_vr.kld export_syms | xargs -J% /= usr/local/aarch64-freebsd/bin/objcopy % if_vr.kld --- if_vr.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o if_vr.ko.f= ull if_vr.o --- if_vr.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug if_vr.ko.full if_v= r.ko.debug --- if_vr.ko --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=3D= if_vr.ko.debug if_vr.ko.full if_vr.ko --- all_subdir_usb --- --- all_subdir_usb/rsu --- =3D=3D=3D> usb/rsu (all) --- all_subdir_usb/usb --- ctfconvert -L VERSION -g usb_msctest.o --- usb_parse.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_parse.o -MTusb_parse.o -mgeneral-regs-only -ffixed-x18= -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls= -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith = -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kpr= intf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragma= s -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parenthe= ses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-= shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/usb= /../../../dev/usb/usb_parse.c -o usb_parse.o --- all_subdir_usb/rsu --- --- machine --- machine -> /usr/src/sys/arm64/include --- opt_bus.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_bus.h opt_bus.h --- opt_usb.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_usb.h opt_usb.h --- opt_wlan.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_wlan.h opt_wlan.h --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- usb_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/usb/usb_if.m -h --- usbdevs.h --- awk -f /usr/src/sys/tools/usbdevs2h.awk /usr/src/sys/dev/usb/usbdevs -h --- all_subdir_usb/xhci --- ctfconvert -L VERSION -g xhci_pci.o --- xhci.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o xhci.kld xhci_pc= i.o xhci.o ctfmerge -L VERSION -g -o xhci.kld xhci_pci.o xhci.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk xhci.kld export_syms | xargs -J% /u= sr/local/aarch64-freebsd/bin/objcopy % xhci.kld --- xhci.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o xhci.ko.fu= ll xhci_pci.o xhci.o --- xhci.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug xhci.ko.full xhci.= ko.debug --- xhci.ko --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=3D= xhci.ko.debug xhci.ko.full xhci.ko --- all_subdir_vte --- =3D=3D=3D> vte (all) --- all_subdir_usb --- --- all_subdir_usb/usb --- ctfconvert -L VERSION -g usb_parse.o --- usb_pf.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_pf.o -MTusb_pf.o -mgeneral-regs-only -ffixed-x18 -ffre= estanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnes= ted-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winli= ne -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__= -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno= -error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-eq= uality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-= negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/usb/../..= /../dev/usb/usb_pf.c -o usb_pf.o --- all_subdir_vte --- --- machine --- machine -> /usr/src/sys/arm64/include --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- pci_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h --- miibus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mii/miibus_if.m -= h --- if_vte.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.if_vte.o -MTif_vte.o -mgeneral-regs-only -ffixed-x18 -ffre= estanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnes= ted-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winli= ne -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__= -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno= -error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-eq= uality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-= negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/vte/../../dev= /vte/if_vte.c -o if_vte.o --- all_subdir_usb --- ctfconvert -L VERSION -g usb_pf.o --- usb_process.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_process.o -MTusb_process.o -mgeneral-regs-only -ffixed= -x18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-d= ecls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar= ith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd= _kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pr= agmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-pare= ntheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-er= ror-shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb= /usb/../../../dev/usb/usb_process.c -o usb_process.o --- all_subdir_usb/rsu --- --- if_rsu.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.if_rsu.o -MTif_rsu.o -mgeneral-regs-only -ffixed-x18 -ffre= estanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnes= ted-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winli= ne -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__= -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno= -error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-eq= uality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-= negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/rsu/../..= /../dev/usb/wlan/if_rsu.c -o if_rsu.o --- all_subdir_usb/usb --- ctfconvert -L VERSION -g usb_process.o --- usb_request.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.usb_request.o -MTusb_request.o -mgeneral-regs-only -ffixed= -x18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-d= ecls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar= ith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd= _kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pr= agmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-pare= ntheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-er= ror-shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb= /usb/../../../dev/usb/usb_request.c -o usb_request.o --- all_subdir_usb/rsu --- /usr/src/sys/modules/usb/rsu/../../../dev/usb/wlan/if_rsu.c:1476:40: error:= format specifies type 'int' but the argument has type 'unsigned long' [-We= rror,-Wformat] ("keyix %d > %d\n", k->wk_keyix, nitems(sc->group_keys)= )); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~= ~~ %lu /usr/src/sys/sys/param.h:293:19: note: expanded from macro 'nitems' #define nitems(x) (sizeof((x)) / sizeof((x)[0])) ^ /usr/src/sys/sys/systm.h:86:17: note: expanded from macro 'KASSERT' kassert_panic msg; \ ^~~ 1 error generated. *** [if_rsu.o] Error code 1 bmake[5]: stopped in /usr/src/sys/modules/usb/rsu 1 error bmake[5]: stopped in /usr/src/sys/modules/usb/rsu *** [all_subdir_usb/rsu] Error code 2 bmake[4]: stopped in /usr/src/sys/modules/usb --- all_subdir_vte --- ctfconvert -L VERSION -g if_vte.o A failure has been detected in another branch of the parallel make bmake[4]: stopped in /usr/src/sys/modules/vte *** [all_subdir_vte] Error code 2 bmake[3]: stopped in /usr/src/sys/modules --- all_subdir_usb --- --- all_subdir_usb/usb --- ctfconvert -L VERSION -g usb_request.o A failure has been detected in another branch of the parallel make bmake[5]: stopped in /usr/src/sys/modules/usb/usb *** [all_subdir_usb/usb] Error code 2 bmake[4]: stopped in /usr/src/sys/modules/usb 2 errors bmake[4]: stopped in /usr/src/sys/modules/usb *** [all_subdir_usb] Error code 2 bmake[3]: stopped in /usr/src/sys/modules --- all_subdir_ufs --- --- ffs_softdep.o --- ctfconvert -L VERSION -g ffs_softdep.o A failure has been detected in another branch of the parallel make bmake[4]: stopped in /usr/src/sys/modules/ufs *** [all_subdir_ufs] Error code 2 bmake[3]: stopped in /usr/src/sys/modules 3 errors bmake[3]: stopped in /usr/src/sys/modules *** [modules-all] Error code 2 bmake[2]: stopped in /usr/obj/arm64.aarch64/usr/src/sys/GENERIC 1 error bmake[2]: stopped in /usr/obj/arm64.aarch64/usr/src/sys/GENERIC *** [buildkernel] Error code 2 bmake[1]: stopped in /usr/src 1 error bmake[1]: stopped in /usr/src *** [buildkernel] Error code 2 make: stopped in /usr/src 1 error make: stopped in /usr/src Build step 'Execute shell' marked build as failure [WARNINGS] Skipping publisher since build result is FAILURE [PostBuildScript] - Execution post build scripts. [FreeBSD_HEAD_arm64] $ /bin/sh -xe /tmp/hudson1166490596681897827.sh + export 'PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/b= in' + export 'jname=3DFreeBSD_HEAD_arm64' + echo 'clean up jail FreeBSD_HEAD_arm64' clean up jail FreeBSD_HEAD_arm64 + sudo jail -r FreeBSD_HEAD_arm64 + sudo ifconfig igb0 inet6 2610:1c1:1:607c::103:1 -alias + sudo umount FreeBSD_HEAD_arm64/usr/src + sudo umount FreeBSD_HEAD_arm64/dev + sudo rm -fr FreeBSD_HEAD_arm64 + true + sudo chflags -R noschg FreeBSD_HEAD_arm64 + sudo rm -fr FreeBSD_HEAD_arm64 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any From owner-freebsd-arm@freebsd.org Tue Dec 6 07:50:42 2016 Return-Path: Delivered-To: freebsd-arm@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 4580CC66176 for ; Tue, 6 Dec 2016 07:50:42 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3405AF21 for ; Tue, 6 Dec 2016 07:50:42 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id 33721C66175; Tue, 6 Dec 2016 07:50:42 +0000 (UTC) Delivered-To: arm@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 33252C66174 for ; Tue, 6 Dec 2016 07:50:42 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E66FFF20 for ; Tue, 6 Dec 2016 07:50:41 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.81.13]) by kabab.cs.huji.ac.il with esmtp id 1cEAWH-000BKJ-LD; Tue, 06 Dec 2016 09:50:33 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: dtb printout From: Daniel Braniss In-Reply-To: Date: Tue, 6 Dec 2016 09:50:33 +0200 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <0B0492F4-DFD6-4BE2-A4FB-EB6A1331A9A9@cs.huji.ac.il> References: <7FD12DD6-B390-4EF3-811B-391798410BC0@cs.huji.ac.il> To: Luiz Otavio O Souza X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 07:50:42 -0000 > On 5 Dec 2016, at 16:48, Luiz Otavio O Souza = wrote: >=20 > On 5 December 2016 at 11:48, Daniel Braniss wrote: >> Hi, >> the short version: >> is there a way to obtain the dtb from the kernel? >>=20 >> the longer version: >> I am developing on several different arm boards, rpi, rpi2, = orangepi-one, orange-pc, to mention >> a few, and each one has a different u-boot, ubldr, dtb, and I keep = loosing track :-( >> I find myself too often wondering which ddb file got loaded. >=20 > Hi Daniel, >=20 > You can use ofwdump to read the DTB data from kernel: >=20 > ofwdump -a >=20 > ofwdump -p /path/to/node >=20 > Luiz Hi Luiz, ofwdump has always been a mystery for me, it reminds me of the days I = had to disassemble machine code :-) in any case, I guess what I really need is to know what dtb file is = loaded. thanks, danny From owner-freebsd-arm@freebsd.org Tue Dec 6 08:07:24 2016 Return-Path: Delivered-To: freebsd-arm@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 A8B27C66DDC for ; Tue, 6 Dec 2016 08:07:24 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id 8A4DC1AF4; Tue, 6 Dec 2016 08:07:24 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id EA9BB126; Tue, 6 Dec 2016 08:07:24 +0000 (UTC) Date: Tue, 6 Dec 2016 08:07:22 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: avos@FreeBSD.org, loos@FreeBSD.org, ngie@FreeBSD.org, markj@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <1947178150.18.1481011644971.JavaMail.jenkins@jenkins-9.freebsd.org> In-Reply-To: <1105036450.16.1480999010260.JavaMail.jenkins@jenkins-9.freebsd.org> References: <1105036450.16.1480999010260.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #4304 - Fixed MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: SUCCESS Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 08:07:24 -0000 FreeBSD_HEAD_arm64 - Build #4304 - Fixed: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4304/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4304/changes Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4304/console Change summaries: 309604 by loos: Fix the armv6 build after r309553. Sponsored by: Rubicon Communications, LLC (Netgate) 309603 by avos: rsu: fix printf format specifiers. 309602 by ngie: Remove svn[lite]{bench,fsfs} if either MK_SVN == no or MK_SVNLITE == no MFC after: 1 week 309599 by markj: libdtrace: Don't use a read-only handle for enumerating pid probes. Enumeration of return probes involves disassembling subroutines in the target process, and ptrace(2) is currently used to read from the target process. libproc could read from the backing file instead to avoid this problem, but in the common case libdtrace will have a writeable handle on the process anyway. In particular, a writeable handle is needed to list USDT probes, and libdtrace will cache such a handle for processes that it controls via dtrace -c and -p. 309598 by markj: Bump the libproc library version. 309597 by markj: libproc: Add support for some proc_attach() flags. This change adds some handling for the equivalent of Solaris' PGRAB_* flags. In particular, support for PGRAB_RDONLY is needed to avoid a nasty deadlock: dtrace(1) may otherwise stop the master process for its pseudo-terminal and end up blocking while writing to standard output. 309596 by markj: libproc: Cache symbol tables for mapped objects upon access. Extend the file handle cache entries to include symbol tables as well. An index is used to implement binary search by symbol value. Lookups by name are comparatively rare and are thus still implemented with a linear search, but support for a binary search by name would be straightforward to add if needed. 309595 by markj: libproc: Match prefixes when looking up mapped object by name. When looking up an object by name, allow prefix matches if no direct match is found. This allows one to, for example, match libc entry probes with: # dtrace -n 'pid$target:libc.so::entry' -c ./foo instead of requiring "libc.so.7" or a glob. Also remove proc_obj2map() as it currently just duplicates the functionality of proc_name2map(). It's supposed to take a Solaris link-map ID as a paramter, but support for this isn't implemented and isn't required to support DTrace's pid provider. 309594 by markj: libproc: Cache ELF handles for loaded objects. libproc previously created a new handle for each symbol lookup, which gives rather egregious performance for DTrace's ustack() action. With this change libproc will cache the libelf descriptor upon access, making lookups much faster in the common case. 309593 by markj: libproc: Improve .gnu_debuglink support. As of r278658 libproc looks for debug files under /usr/lib/debug and will use them if available. This change fleshes out that support a bit further: - Check for a .gnu_debuglink section and use the file name specified there if one is present. - Validate external debug files with the CRC in the .gnu_debuglink section so as to avoid using stale or corrupt debug files. - Search for debug files in the directory containing the referencing object or in the .debug subdirectory, as GDB does. 309592 by markj: libproc: Make proc_getpid() an accessor for struct proc_handle. This allows librtld_db to fetch the PID from a handle without calling into libproc. Together with r303531, this means that librtld_db no longer references symbols from libproc. 309591 by markj: Fix style bugs and remove trailing whitespace in libproc and librtld_db. MFC after: 1 week From owner-freebsd-arm@freebsd.org Tue Dec 6 09:17:29 2016 Return-Path: Delivered-To: freebsd-arm@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 C9CCEC69F95 for ; Tue, 6 Dec 2016 09:17:29 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id B8FC7114 for ; Tue, 6 Dec 2016 09:17:29 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id B8522C69F93; Tue, 6 Dec 2016 09:17:29 +0000 (UTC) Delivered-To: arm@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 B7F60C69F92 for ; Tue, 6 Dec 2016 09:17:29 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77FD3113; Tue, 6 Dec 2016 09:17:29 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.81.13]) by kabab.cs.huji.ac.il with esmtp id 1cEBsG-000D6M-O3; Tue, 06 Dec 2016 11:17:20 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: ubldr, was Re: dtb printout From: Daniel Braniss In-Reply-To: <1480950103.1889.251.camel@freebsd.org> Date: Tue, 6 Dec 2016 11:17:20 +0200 Cc: arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <93729768-D887-4568-8686-FE691A881BC6@cs.huji.ac.il> References: <7FD12DD6-B390-4EF3-811B-391798410BC0@cs.huji.ac.il> <1480950103.1889.251.camel@freebsd.org> To: Ian Lepore X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 09:17:29 -0000 > On 5 Dec 2016, at 17:01, Ian Lepore wrote: >=20 > On Mon, 2016-12-05 at 15:48 +0200, Daniel Braniss wrote: >> Hi, >> the short version: >> is there a way to obtain the dtb from the kernel? >>=20 >> the longer version: >> I am developing on several different arm boards, rpi, rpi2, orangepi- >> one, orange-pc, to mention=20 >> a few, and each one has a different u-boot, ubldr, dtb, and I keep >> loosing track :-( >> I find myself too often wondering which ddb file got loaded. >>=20 >> cheers, >> danny >=20 > First: each one does NOT have a different ubldr. All ubldr.bin files > are the same, they're not board-specific anymore. (The elf versions, > ubldr without the .bin, may have a different load address in the elf > header, but other than that, they're identical too and can actually be > loaded at any address.) >=20 > To see the contents of the dtb, use ofwdump. The output is not > especially pretty. There is a manpage for it. >=20 > To just get a quick reminder of which file was loaded, create a > /boot/loader.rc.local (<-- .rc not .conf) that contains > =20 > ubenv import fdtfile fdt_file >=20 > Then in the running system you can use kenv and you'll see >=20 > uboot.fdtfile=3D"bcm2835-rpi-b-rev2.dtb" >=20 > Unfortunately, some u-boots use fdtfile, some use fdt_file. Grrr. >=20 > You can, of course, use that ubenv import thing to pull any variable > from the uboot environment into the kernel environment. If you just > say ubenv import without naming a variable, you get all the vars > (including vars that contain scripts, which is kind of messy). >=20 > =E2=80=94 Ian >=20 as usual, I get more than I bargained for :-) on rpi adding ubenv import worked, but on orange/allwinner I got a = =E2=80=98syntax error=E2=80=99, I tried to upgrade the ubldr, but so far i get: U-Boot SPL 2016.09 (Dec 05 2016 - 15:02:38) DRAM: 1024 MiB Trying to boot from MMC1 U-Boot 2016.09 (Dec 05 2016 - 15:02:38 +0200) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi PC I2C: ready DRAM: 1 GiB WARNING: Caches not enabled MMC: SUNXI SD/MMC: 0 reading u-boot.env ** Unable to read "u-boot.env" from mmc0:1 ** Using default environment In: serial Out: serial Err: serial Net: phy interface0 eth0: ethernet@1c30000 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 USB4: USB EHCI 1.00 USB5: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning bus 4 for devices... 1 USB Device(s) found Hit any key to stop autoboot: 0=20 Booting from: mmc 0 ubldr.bin reading ubldr.bin 223912 bytes read in 53 ms (4 MiB/s) ## No elf image at address 0x42000000 ## Starting application at 0x42000000 ... From owner-freebsd-arm@freebsd.org Tue Dec 6 13:03:48 2016 Return-Path: Delivered-To: freebsd-arm@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 02941C6986E for ; Tue, 6 Dec 2016 13:03:48 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E543C1D17 for ; Tue, 6 Dec 2016 13:03:47 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id E1BBEC6986D; Tue, 6 Dec 2016 13:03:47 +0000 (UTC) Delivered-To: arm@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 E1637C6986C for ; Tue, 6 Dec 2016 13:03:47 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A10C01D16 for ; Tue, 6 Dec 2016 13:03:47 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.81.13]) by kabab.cs.huji.ac.il with esmtp id 1cEFPM-000He5-91; Tue, 06 Dec 2016 15:03:44 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: dtb printout From: Daniel Braniss In-Reply-To: <67BE2952-5253-44ED-82A6-9CE95F1D7EE8@bluezbox.com> Date: Tue, 6 Dec 2016 15:03:44 +0200 Cc: arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <7FD12DD6-B390-4EF3-811B-391798410BC0@cs.huji.ac.il> <67BE2952-5253-44ED-82A6-9CE95F1D7EE8@bluezbox.com> To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 13:03:48 -0000 > On 5 Dec 2016, at 19:18, Oleksandr Tymoshenko wrote: > > >> On Dec 5, 2016, at 5:48 AM, Daniel Braniss wrote: >> >> Hi, >> the short version: >> is there a way to obtain the dtb from the kernel? > > The full dtb can be obtained by running sysctl -b hw.fdt.dtb> file.dtb, dts > source: sysctl -b hw.fdt.dtb | dtc -I dtb bingo, thanks! danny From owner-freebsd-arm@freebsd.org Tue Dec 6 20:53:52 2016 Return-Path: Delivered-To: freebsd-arm@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 E790CC6B615 for ; Tue, 6 Dec 2016 20:53:52 +0000 (UTC) (envelope-from Nick@ip-knowhow.com) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0058.outbound.protection.outlook.com [104.47.2.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E8141EA for ; Tue, 6 Dec 2016 20:53:50 +0000 (UTC) (envelope-from Nick@ip-knowhow.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipknowhow.onmicrosoft.com; s=selector1-ipknowhow-com0e; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=0hGBbe0Ae2CPD1cnSiQbz/McrfmqTVfUa7TDyGDFf8g=; b=t3SxgV2xdhLegU/e8nmgtNKDsBUYEuJmRxq6QtT3j3/uSakXzrFeRl9vjq3Mmzu+nczVTGvj77VQQLYOjeGQaImqduLI/wMLafJUNYvOWLFY/L9tq2N0IbfbME0dVAi6kpoW3ZNvWyJKN/jQSQu+h5kGihSye/Rp9Qr8ulyQSxo= Received: from HE1PR0802MB2458.eurprd08.prod.outlook.com (10.175.34.143) by HE1PR0802MB2457.eurprd08.prod.outlook.com (10.175.34.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9; Tue, 6 Dec 2016 08:18:14 +0000 Received: from HE1PR0802MB2458.eurprd08.prod.outlook.com ([10.175.34.143]) by HE1PR0802MB2458.eurprd08.prod.outlook.com ([10.175.34.143]) with mapi id 15.01.0761.017; Tue, 6 Dec 2016 08:18:13 +0000 From: Nick Hibma To: Oleksandr Tymoshenko CC: Emmanuel Vadot , "freebsd-arm@freebsd.org" Subject: Re: Questions about i2c.c (TMP102 temperature sensor) Thread-Topic: Questions about i2c.c (TMP102 temperature sensor) Thread-Index: AQHSS7s6zdjYio61bEuiuqkZ9TlAkKD5EXvUgAErowCAAF39AA== Date: Tue, 6 Dec 2016 08:18:13 +0000 Message-ID: <204B3D82-0A92-4742-98F2-8E9A5A0845BB@ip-knowhow.com> References: <9424D7FD-C4B6-43D5-A0C5-76D5BE9ED1DE@ip-knowhow.com> <58B43D61-0B46-4310-868F-D7336585731B@bluezbox.com> <20161205094915.20847444789f803133b56af9@bidouilliste.com> <4F71632E-2EFB-417E-898B-394E1C5CC9E8@bluezbox.com> In-Reply-To: <4F71632E-2EFB-417E-898B-394E1C5CC9E8@bluezbox.com> Accept-Language: en-US, nl-NL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Nick@ip-knowhow.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2001:980:530a:1:404e:8df8:b827:aaa6] x-ms-office365-filtering-correlation-id: 6ba46a43-c022-41e2-fd7c-08d41db06c9a x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:HE1PR0802MB2457; x-microsoft-exchange-diagnostics: 1; HE1PR0802MB2457; 7:TY9LQn+v0oXnIFthjuDNlIwqBQWHcyyU402ez/8MdsKtU+WPp4XfWz6jT9UDtYUm2T+jg7dnMScOZLvJKvUCNKyzSg7LggBkyzFv6iaRjaWfLcsH6miOQ+byYLtyySMxG/IN+Ro8ymKowCHCbDfH19fPIXj9D+fdJF481hECX7/RRX3AEzQ8jYTwa0DRO6kUC58y4LxB728qJEBX5xsm8+QuNlRHbTAEXm9IjbHGHJlgxjwbsKhbOxYObtGLb6NQUbjvaCiCNTfWAoDL1IqUzUzvlqrz+a8Vi1kUPldRY0esyUHaOGBnmQ4KDudkss/GGRVNXQ7xcZhwXoLQQM6yPRtowSELuzSMGMJx5Da7SzRYzQvAomPqjihk7D2OvwBiZ6szKpK6TGs0to9ljq50IW9VFbv03olFCBNTTdgXAEDSKtZvU5mbzhuZV6PJsrgd7igSyPXU9sP51oAwNHoSDA== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123560025)(20161123562025)(20161123564025)(20161123555025)(2016111802025)(6072148)(6043046); SRVR:HE1PR0802MB2457; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0802MB2457; x-forefront-prvs: 01480965DA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(189002)(199003)(2906002)(36756003)(80792005)(3660700001)(5660300001)(3280700002)(93886004)(33656002)(7736002)(305945005)(189998001)(68736007)(122556002)(86362001)(4326007)(97736004)(7846002)(5890100001)(229853002)(92566002)(83716003)(102836003)(6116002)(8936002)(110136003)(81156014)(2900100001)(81166006)(101416001)(8676002)(38730400001)(77096006)(39450400002)(2950100002)(6486002)(6916009)(50986999)(106356001)(82746002)(6512006)(54356999)(76176999)(105586002)(106116001)(6506006)(104396002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0802MB2457; H:HE1PR0802MB2458.eurprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: ip-knowhow.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ip-knowhow.com X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2016 08:18:13.4194 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0ba30fa5-b42a-4534-8b5e-dc21f65040ad X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0802MB2457 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 20:53:53 -0000 PiBJIGhhdmUgYW4gdXBkYXRlZCB2ZXJzaW9uIG9mIGkyYyg4KSB3aGljaCBzdXBwb3J0IEkyQ1JE V1IgaGVyZSA6DQo+PiBodHRwczovL2dpdGh1Yi5jb20vZXZhZG90L2ZyZWVic2QvdHJlZS9pMmNf cmRydy91c3Iuc2Jpbi9pMmMNCj4+IA0KPj4gSSBkaWRuJ3QgY29tbWl0IGl0IGp1c3QgYmVjYXVz ZSBJIHdhbnQgdG8gbWFrZSBJMkNSRFdSIHRoZSBkZWZhdWx0DQo+PiBzaW5jZSB0aGVyZSBpcyBp aWNidXNfdHJhbnNmZXJfZ2VuLiBJIGp1c3QgbmVlZCB0byBtYWtlIHN1cmUgdGhhdCBpdA0KPj4g d29ya3MgYWxtb3N0IGV2ZXJ3aGVyZSAoaXQgZG9lcyBvbiBhbGx3aW5uZXIgYm9hcmQgd2hlcmUg dGhlIGRyaXZlcg0KPj4gZG9lc24ndCBzdXBwb3J0IEkyQ1JEV1IgYXQgbGVhc3QpLg0KPj4gDQo+ PiBDYW4geW91IHRlc3QgdXNpbmcgaTJjKDgpIGZyb20gbXkgYnJhbmNoIHdpdGggeW91ciBkZXZp Y2UgPw0KPiANCj4gSXQgd29ya3Mgb24gUlBpMiB3aXRoIFRNUDEwMiBhdHRhY2hlZC4gQWx0aG91 Z2ggcmR3ciBpcyBvZmYgYnkgZGVmYXVsdCwNCj4gSSBoYWQgdG8gcGFzcyAteCBvcHRpb24gdG8g ZW5hYmxlIHRoYXQgYmVoYXZpb3IuIEkgd2VudCB0aHJvdWdoIEkyQyBkcml2ZXJzDQo+IGluIEhF QUQgYW5kIHRoYXTigJlzIGlpY2J1cyBtZXRob2RzIHRoZXkgc3VwcG9ydCAoVFJBTlNGRVIgaXMg dGhlIG5hbWUNCj4gb2YgdGhlIG1ldGhvZCBmb3IgUkRXUik6DQo+IA0KPiBUSTogVFJBTlNGRVIs IFJFU0VUDQo+IGkuTVg6IFNUQVJULCBTVE9QLCBSRVBFQVRFRCBTVEFSVCwgUkVTRVQsIFJFQUQs IFdSSVRFLCBUUkFOU0ZFUg0KPiBWeWJyaWQ6IFNUQVJULCBTVE9QLCBSRVBFQVRFRCBTVEFSVCwg UkVTRVQsIFJFQUQsIFdSSVRFLCBUUkFOU0ZFUg0KPiBFeHlub3M6IFNUQVJULCBTVE9QLCBSRVBF QVRFRCBTVEFSVCwgUkVTRVQsIFJFQUQsIFdSSVRFLCBUUkFOU0ZFUg0KPiBBbGx3aW5uZXI6IFRS QU5TRkVSLCBSRVNFVA0KPiBUZWdyYTogVFJBTlNGRVIsIFJFU0VUDQo+IEJyb2FkY29tOiBUUkFO U0ZFUiwgUkVTRVQNCj4gQVQ5MTogVFJBTlNGRVIsIFJFU0VUDQo+IHBvd2VycGMvcG93ZXJtYWMv a2lpYy5jOiBUUkFOU0ZFUg0KPiBwb3dlcnBjL21wYzg1eHgvaTJjLmM6IFNUQVJULCBTVE9QLCBS RVBFQVRFRCBTVEFSVCwgUkVTRVQsIFJFQUQsIFdSSVRFLCBUUkFOU0ZFUg0KPiBYTFI6IFNUQVJU LCBTVE9QLCBSRVBFQVRFRCBTVEFSVCwgUkVTRVQsIFJFQUQsIFdSSVRFLCBUUkFOU0ZFUg0KPiAN Cj4gU28gaW4gdGhlb3J5IGl0IHNob3VsZCB3b3JrIG9uIGFsbCB0aGVzZSBwbGF0Zm9ybXMNCg0K Qml0IGJhbmdpbmcgb3ZlciB0aGUgbmN0Z3BpbyBHUElPIGRyaXZlciBpbiBDVVJSRU5UIGlzIHRo ZSBvbmUgSSB1c2UuIEl04oCZcyBwYXJ0IG9mIHRoZSBBTUQgU29DIHBhY2thZ2UgKHg4Ni9hbWQ2 NCkuIEkgY2Fu4oCZdCBiZSBhc2tlZCB0byBkaWcgaW50byBnaXQgdG8gZ2V0IGF0IHRoZSBzb3Vy Y2VzLCBzbyBpZiBzb21lb25lIGNvdWxkIHNlbmQgbWUgYSB0YXItYmFsbCBJIGNhbiB0ZXN0IGl0 IGhlcmUgb24gYSBQQyBFbmdpbmVzIEFQVSBib2FyZCB3aXRoIC4NCg0KSXQgZ3Vlc3MgdGhhdCBi aXQgYmFuZ2luZyB3b3VsZCBiZSBhIG1ham9yIGJvb3N0IGlmIGl0IHdvcmtzIGZvciB0aGF0IGJl Y2F1c2UgaGFja2VycyBsaWtlIHNpbXBsZSB0b29scyBsaWtlIGkyYyB0byBjb21iaW5lIGl0IHdp dGggcnJkdG9vbCB0byBncmFwaCB0aGVpciB3aGF0Y2hhbWFjYWxsaXRzIHRvIGF1dG9tYXRlIHRo ZWlyIGJpbmctYm9uZy1iYW5nLXRoaW5naWVzLg0KDQpOaWNr From owner-freebsd-arm@freebsd.org Wed Dec 7 07:12:53 2016 Return-Path: Delivered-To: freebsd-arm@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 D01E4C6B512 for ; Wed, 7 Dec 2016 07:12:53 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id B484E1957; Wed, 7 Dec 2016 07:12:53 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id DF9BA148; Wed, 7 Dec 2016 07:12:53 +0000 (UTC) Date: Wed, 7 Dec 2016 07:12:52 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: np@FreeBSD.org, adrian@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <1453537951.24.1481094773924.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #4312 - Failure MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: FAILURE Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2016 07:12:53 -0000 FreeBSD_HEAD_arm64 - Build #4312 - Failure: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4312/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4312/ch= anges Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4312/con= sole Change summaries: 309666 by np: cxgbe(4): unsigned short isn't large enough to store link speed (which is in Mbps) for 100Gbps links. MFC after:=093 days 309665 by adrian: [net80211] flesh out more RX phy information. I'm teaching my ath10k port to communicate up the per-rate / channel width information I get from the firmware. The HT40 flag field should just be retired and instead moved to use the PHY bandwidth field. 309664 by adrian: [net80211] start refactoring out the "am I a wep / group key!" code. This is a bunch of pointer arithmetic that is copypasta'ed everywhere. Let's undo that copypasta. The end of the build log: [...truncated 177169 lines...] cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.uhid.o -MTuhid.o -mgeneral-regs-only -ffixed-x18 -ffreesta= nding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-= externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -= Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wm= issing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-err= or-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equali= ty -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-nega= tive-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/uhid/../../..= /dev/usb/input/uhid.c -o uhid.o --- all_subdir_usb/ukbd --- --- ukbd.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.ukbd.o -MTukbd.o -mgeneral-regs-only -ffixed-x18 -ffreesta= nding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-= externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -= Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wm= issing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-err= or-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equali= ty -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-nega= tive-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/ukbd/../../..= /dev/usb/input/ukbd.c -o ukbd.o --- all_subdir_usb/uhid --- ctfconvert -L VERSION -g uhid.o --- all_subdir_usb/zyd --- ctfconvert -L VERSION -g if_zyd.o --- all_subdir_usb/uhid --- --- uhid.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o uhid.kld uhid.o ctfmerge -L VERSION -g -o uhid.kld uhid.o :> export_syms --- ixgbe_82599.o --- ctfconvert -L VERSION -g ixgbe_82599.o --- modules-all --- awk -f /usr/src/sys/conf/kmod_syms.awk uhid.kld export_syms | xargs -J% /u= sr/local/aarch64-freebsd/bin/objcopy % uhid.kld --- uhid.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o uhid.ko.fu= ll uhid.o --- uhid.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug uhid.ko.full uhid.= ko.debug --- uhid.ko --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=3D= uhid.ko.debug uhid.ko.full uhid.ko --- all_subdir_usb/ums --- =3D=3D=3D> usb/ums (all) --- all_subdir_wlan --- =3D=3D=3D> wlan (all) --- all_subdir_usb --- --- machine --- machine -> /usr/src/sys/arm64/include --- opt_bus.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_bus.h opt_bus.h --- all_subdir_usb/zyd --- --- if_zyd.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o if_zyd.kld if_zy= d.o --- all_subdir_usb/ums --- --- opt_evdev.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_evdev.h opt_evdev.h --- opt_usb.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_usb.h opt_usb.h --- all_subdir_usb/zyd --- ctfmerge -L VERSION -g -o if_zyd.kld if_zyd.o --- all_subdir_usb/ums --- --- vnode_if_newproto.h --- awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p --- all_subdir_wlan --- --- machine --- machine -> /usr/src/sys/arm64/include --- opt_ddb.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_ddb.h opt_ddb.h --- opt_inet.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_inet.h opt_inet.h --- all_subdir_usb --- --- vnode_if_typedef.h --- awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q --- all_subdir_wlan --- --- opt_inet6.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_inet6.h opt_inet6.h --- opt_tdma.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_tdma.h opt_tdma.h --- opt_wlan.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_wlan.h opt_wlan.h --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- all_subdir_usb --- --- all_subdir_usb/zyd --- :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk if_zyd.kld export_syms | xargs -J% = /usr/local/aarch64-freebsd/bin/objcopy % if_zyd.kld --- all_subdir_usb/ums --- --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- all_subdir_usb/zyd --- --- if_zyd.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o if_zyd.ko.= full if_zyd.o --- all_subdir_usb/ums --- --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- all_subdir_usb/zyd --- --- if_zyd.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug if_zyd.ko.full if_= zyd.ko.debug --- all_subdir_wlan --- --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- ieee80211_action.o --- --- all_subdir_usb --- --- if_zyd.ko --- --- all_subdir_wlan --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.ieee80211_action.o -MTieee80211_action.o -mgeneral-regs-on= ly -ffixed-x18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wr= edundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -W= pointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__= =3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wn= o-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wn= o-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-= sign -Wno-error-shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys= /modules/wlan/../../net80211/ieee80211_action.c -o ieee80211_action.o --- all_subdir_usb --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=3D= if_zyd.ko.debug if_zyd.ko.full if_zyd.ko --- all_subdir_usb/ums --- --- usb_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/usb/usb_if.m -h --- ixgbe_x540.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -c -O -pipe -g -nostdinc -I.= -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTIO= N_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-fra= me-pointer -MD -MF.depend.ixgbe_x540.o -MTixgbe_x540.o -mgeneral-regs-only= -ffixed-x18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wred= undant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpo= inter-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D_= _freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-un= known-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-er= ror-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign= -Wno-error-shift-negative-value -std=3Diso9899:1999 -Werror /usr/src/s= ys/dev/ixgbe/ixgbe_x540.c -I/usr/src/sys/dev/ixgbe --- modules-all --- --- vnode_if.h --- awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h --- usbdevs.h --- awk -f /usr/src/sys/tools/usbdevs2h.awk /usr/src/sys/dev/usb/usbdevs -h --- all_subdir_wlan --- ctfconvert -L VERSION -g ieee80211_action.o --- ieee80211_ageq.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.ieee80211_ageq.o -MTieee80211_ageq.o -mgeneral-regs-only -= ffixed-x18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredun= dant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpoin= ter-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__f= reebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unkn= own-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-erro= r-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -= Wno-error-shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modul= es/wlan/../../net80211/ieee80211_ageq.c -o ieee80211_ageq.o --- ixgbe_x540.o --- ctfconvert -L VERSION -g ixgbe_x540.o --- modules-all --- --- all_subdir_usb --- --- all_subdir_usb/udbp --- =3D=3D=3D> usb/udbp (all) --- machine --- --- all_subdir_usb/ukbd --- ctfconvert -L VERSION -g ukbd.o --- all_subdir_usb/udbp --- machine -> /usr/src/sys/arm64/include --- opt_bus.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_bus.h opt_bus.h --- opt_usb.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_usb.h opt_usb.h --- opt_netgraph.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_netgraph.h opt_netgra= ph.h --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- all_subdir_usb/ukbd --- --- ukbd.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o ukbd.kld ukbd.o --- all_subdir_usb/udbp --- --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- all_subdir_usb/ukbd --- ctfmerge -L VERSION -g -o ukbd.kld ukbd.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk ukbd.kld export_syms | xargs -J% /u= sr/local/aarch64-freebsd/bin/objcopy % ukbd.kld --- ukbd.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o ukbd.ko.fu= ll ukbd.o --- all_subdir_usb/udbp --- --- usb_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/usb/usb_if.m -h --- all_subdir_usb/ukbd --- --- ukbd.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug ukbd.ko.full ukbd.= ko.debug --- all_subdir_usb/udbp --- --- usbdevs.h --- awk -f /usr/src/sys/tools/usbdevs2h.awk /usr/src/sys/dev/usb/usbdevs -h --- all_subdir_usb/ukbd --- --- ukbd.ko --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=3D= ukbd.ko.debug ukbd.ko.full ukbd.ko --- all_subdir_wlan --- --- ieee80211_crypto.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.ieee80211_crypto.o -MTieee80211_crypto.o -mgeneral-regs-on= ly -ffixed-x18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wr= edundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -W= pointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__= =3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wn= o-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wn= o-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-= sign -Wno-error-shift-negative-value -Wno-unused-function -std=3Diso9899:= 1999 -c /usr/src/sys/modules/wlan/../../net80211/ieee80211_crypto.c -o ieee= 80211_crypto.o --- ieee80211_ageq.o --- ctfconvert -L VERSION -g ieee80211_ageq.o --- all_subdir_usb --- --- all_subdir_usb/ums --- --- ums.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.ums.o -MTums.o -mgeneral-regs-only -ffixed-x18 -ffreestand= ing -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-ex= terns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wc= ast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmis= sing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error= -tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality= -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negati= ve-value -std=3Diso9899:1999 -c /usr/src/sys/modules/usb/ums/../../../de= v/usb/input/ums.c -o ums.o --- all_subdir_wlan_acl --- =3D=3D=3D> wlan_acl (all) --- machine --- machine -> /usr/src/sys/arm64/include --- opt_wlan.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_wlan.h opt_wlan.h --- ieee80211_acl.o --- cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/arm64.aarch64/u= sr/src/tmp -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasi= ng -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS = -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr= /src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC = -MD -MF.depend.ieee80211_acl.o -MTieee80211_acl.o -mgeneral-regs-only -ff= ixed-x18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredunda= nt-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointe= r-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__fre= ebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknow= n-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-= parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wn= o-error-shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules= /wlan_acl/../../net80211/ieee80211_acl.c -o ieee80211_acl.o --- all_subdir_wlan --- --- ieee80211_crypto.o --- /usr/src/sys/modules/wlan/../../net80211/ieee80211_crypto.c:537:13: error: = expected ';' after return statement return (-1): ^ ; 1 error generated. *** [ieee80211_crypto.o] Error code 1 bmake[4]: stopped in /usr/src/sys/modules/wlan 1 error bmake[4]: stopped in /usr/src/sys/modules/wlan *** [all_subdir_wlan] Error code 2 bmake[3]: stopped in /usr/src/sys/modules --- all_subdir_wlan_acl --- ctfconvert -L VERSION -g ieee80211_acl.o A failure has been detected in another branch of the parallel make bmake[4]: stopped in /usr/src/sys/modules/wlan_acl *** [all_subdir_wlan_acl] Error code 2 bmake[3]: stopped in /usr/src/sys/modules --- all_subdir_usb --- --- all_subdir_usb/udbp --- A failure has been detected in another branch of the parallel make bmake[5]: stopped in /usr/src/sys/modules/usb/udbp *** [all_subdir_usb/udbp] Error code 2 bmake[4]: stopped in /usr/src/sys/modules/usb --- all_subdir_usb/ums --- ctfconvert -L VERSION -g ums.o A failure has been detected in another branch of the parallel make bmake[5]: stopped in /usr/src/sys/modules/usb/ums *** [all_subdir_usb/ums] Error code 2 bmake[4]: stopped in /usr/src/sys/modules/usb 2 errors bmake[4]: stopped in /usr/src/sys/modules/usb *** [all_subdir_usb] Error code 2 bmake[3]: stopped in /usr/src/sys/modules 3 errors bmake[3]: stopped in /usr/src/sys/modules *** [modules-all] Error code 2 bmake[2]: stopped in /usr/obj/arm64.aarch64/usr/src/sys/GENERIC 1 error bmake[2]: stopped in /usr/obj/arm64.aarch64/usr/src/sys/GENERIC *** [buildkernel] Error code 2 bmake[1]: stopped in /usr/src 1 error bmake[1]: stopped in /usr/src *** [buildkernel] Error code 2 make: stopped in /usr/src 1 error make: stopped in /usr/src Build step 'Execute shell' marked build as failure [WARNINGS] Skipping publisher since build result is FAILURE [PostBuildScript] - Execution post build scripts. [FreeBSD_HEAD_arm64] $ /bin/sh -xe /tmp/hudson5348589800520518384.sh + export 'PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/b= in' + export 'jname=3DFreeBSD_HEAD_arm64' + echo 'clean up jail FreeBSD_HEAD_arm64' clean up jail FreeBSD_HEAD_arm64 + sudo jail -r FreeBSD_HEAD_arm64 + sudo ifconfig igb0 inet6 2610:1c1:1:607c::101:1 -alias + sudo umount FreeBSD_HEAD_arm64/usr/src + sudo umount FreeBSD_HEAD_arm64/dev + sudo rm -fr FreeBSD_HEAD_arm64 + true + sudo chflags -R noschg FreeBSD_HEAD_arm64 + sudo rm -fr FreeBSD_HEAD_arm64 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any From owner-freebsd-arm@freebsd.org Wed Dec 7 08:15:50 2016 Return-Path: Delivered-To: freebsd-arm@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 EF18BC6BA5C for ; Wed, 7 Dec 2016 08:15:50 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 74A8E1A93 for ; Wed, 7 Dec 2016 08:15:49 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 37a37819; Wed, 7 Dec 2016 09:15:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=xxcy8CnKnw6zaO7ldNAbYQoFgkw=; b=PH9FPCZP5Jd+iPm9dqmKMtlmVdIi rZa+bIZeYLjLoaSSWumHxPN12/yM2FgeUOlElnjrfjlnJ5+Top/FjIyGQg3sx0Wd V3BERMRCRwOkJrrKEupATmkc0VxaiU23gvCxKiiHkx6mgCZ7AJsdmQpD9NxMMMP0 t31x86sBTuC8xZw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=WzUOW81AvbTMrVE5dM6zzT2HII3DQk4auW6j1u/ND2N0nV17Wf2JO4Qh mNeshNp3uTTzCnh7Rkts4nh/eJary+HdCnYUVu4NQWpOvEwjxrSYi649Cw1wOYm/ bviEZV5a8ikGReBhhtdUkHY+lmGXxz9CT8zGmTlJiRW48yMXRWg= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 4ca49493 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 7 Dec 2016 09:15:42 +0100 (CET) Date: Wed, 7 Dec 2016 09:15:38 +0100 From: Emmanuel Vadot To: Oleksandr Tymoshenko Cc: Nick Hibma , freebsd-arm@freebsd.org Subject: Re: Questions about i2c.c (TMP102 temperature sensor) Message-Id: <20161207091538.4d40298141773eb5ae586fd2@bidouilliste.com> In-Reply-To: <4F71632E-2EFB-417E-898B-394E1C5CC9E8@bluezbox.com> References: <9424D7FD-C4B6-43D5-A0C5-76D5BE9ED1DE@ip-knowhow.com> <58B43D61-0B46-4310-868F-D7336585731B@bluezbox.com> <20161205094915.20847444789f803133b56af9@bidouilliste.com> <4F71632E-2EFB-417E-898B-394E1C5CC9E8@bluezbox.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2016 08:15:51 -0000 On Mon, 5 Dec 2016 18:41:48 -0800 Oleksandr Tymoshenko wrote: >=20 > > On Dec 5, 2016, at 12:49 AM, Emmanuel Vadot wro= te: > >=20 > > On Fri, 2 Dec 2016 13:11:34 -0800 > > Oleksandr Tymoshenko wrote: > >=20 > >> Switching freebsd-embedded@ to freebsd-arm@ since the former does not = get as much attention as the latter. >=20 > .. skipped .. >=20 > > I have an updated version of i2c(8) which support I2CRDWR here : > > https://github.com/evadot/freebsd/tree/i2c_rdrw/usr.sbin/i2c > >=20 > > I didn't commit it just because I want to make I2CRDWR the default > > since there is iicbus_transfer_gen. I just need to make sure that it > > works almost everwhere (it does on allwinner board where the driver > > doesn't support I2CRDWR at least). > >=20 > > Can you test using i2c(8) from my branch with your device ? >=20 > It works on RPi2 with TMP102 attached. Although rdwr is off by default, > I had to pass -x option to enable that behavior. Yes, as I said RDWR isn't the default right now but it should, having i2c(8) working out of the box on RPI/TI would be good. > I went through I2C drivers > in HEAD and that?s iicbus methods they support (TRANSFER is the name > of the method for RDWR): >=20 > TI: TRANSFER, RESET > i.MX: START, STOP, REPEATED START, RESET, READ, WRITE, TRANSFER > Vybrid: START, STOP, REPEATED START, RESET, READ, WRITE, TRANSFER > Exynos: START, STOP, REPEATED START, RESET, READ, WRITE, TRANSFER > Allwinner: TRANSFER, RESET > Tegra: TRANSFER, RESET > Broadcom: TRANSFER, RESET > AT91: TRANSFER, RESET > powerpc/powermac/kiic.c: TRANSFER > powerpc/mpc85xx/i2c.c: START, STOP, REPEATED START, RESET, READ, WRITE, T= RANSFER > XLR: START, STOP, REPEATED START, RESET, READ, WRITE, TRANSFER >=20 > So in theory it should work on all these platforms Allwinner/Marvell only support transfer through transfer_gen (driver is in dev/iicbus/twsi so you likely matched on rsb/p2wi) I'll update my branch, make RDWR the default and put up a review soon. --=20 Emmanuel Vadot From owner-freebsd-arm@freebsd.org Wed Dec 7 09:43:25 2016 Return-Path: Delivered-To: freebsd-arm@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 56866C69A78 for ; Wed, 7 Dec 2016 09:43:25 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id 4A250D95; Wed, 7 Dec 2016 09:43:25 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id 9B84714C; Wed, 7 Dec 2016 09:43:25 +0000 (UTC) Date: Wed, 7 Dec 2016 09:43:23 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: sephe@FreeBSD.org, delphij@FreeBSD.org, gnn@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <1395141470.28.1481103805646.JavaMail.jenkins@jenkins-9.freebsd.org> In-Reply-To: <1453537951.24.1481094773924.JavaMail.jenkins@jenkins-9.freebsd.org> References: <1453537951.24.1481094773924.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #4313 - Fixed MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: SUCCESS Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2016 09:43:25 -0000 FreeBSD_HEAD_arm64 - Build #4313 - Fixed: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4313/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4313/changes Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4313/console Change summaries: 309670 by sephe: hyperv/vmbus: Use pause if possible. This makes booting on Hyper-V w/ small # of vCPUs work properly. Reported by: Hongxiong Xian , Hongjiang Zhang MFC after: 1 week Sponsored by: Microsoft 309669 by gnn: Fix a kernel panic in DTrace's rw_iswriter subroutine. On FreeBSD the sense of rw_write_held() and rw_iswriter() were reversed, probably due to a cut and paste error. Using rw_iswriter() would cause the kernel to panic. Reviewed by: markj MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D8718 309667 by delphij: Fix typo. From owner-freebsd-arm@freebsd.org Wed Dec 7 22:16:15 2016 Return-Path: Delivered-To: freebsd-arm@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 0EBD0C6CF15 for ; Wed, 7 Dec 2016 22:16:15 +0000 (UTC) (envelope-from bounce@e.bananabed.com.au) Received: from mx3.bananabed.com.au (mx3.bananabed.com.au [37.59.184.216]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A56E0115C for ; Wed, 7 Dec 2016 22:16:14 +0000 (UTC) (envelope-from bounce@e.bananabed.com.au) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=1481058667.bananabed; d=e.bananabed.com.au; h=To:Subject:Message-ID:Date:From:Reply-To:MIME-Version:List-Unsubscribe:Content-Type:Content-Transfer-Encoding; i=info@e.bananabed.com.au; bh=TQ2l7I+4TL/sLyUKjemtev7bI3w=; b=crj/l+Jqp+Ndwa2hAivurbDMAFp7uJCr0Nj883PSamArloSNSxD/ahtfAfLAVt+hbaDfpUHC7zA7 YEY+fNm7v44uPUVi+u6Thrn3s2P7zoc602nsBwDNgEe8RjVcWvBWxM6Dc9QBsqscVrCie3KmP+BB 5peHvjkT9Hcy6MVGr/w= DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=1481058667.bananabed; d=e.bananabed.com.au; b=lLeFy81qBqAjsXXsR08Q6sSIFQYCxiDVPLbkoVNOs/dOh6NfJ1w1X98uZbCNfE8IHCTLRPRWs8Rd Nd8hT3JqxNByZLfnTrL2F387sa0JKakkcrZwYhWAr+w7VH2z0I80ZEtpeyNz1FLOiKUXpbVOH6am bQKmgM3dmNF9mMFTHVI=; To: freebsd-arm@freebsd.org Subject: The perfect present for everyone.. Message-ID: <5270b1e12fb88e7c1a124f29ea862c7b@e.bananabed.com.au> Date: Wed, 07 Dec 2016 22:16:12 +0000 From: "Banana Bed" Reply-To: info@e.bananabed.com.au MIME-Version: 1.0 X-Mailer-LID: 2 X-Mailer-RecptId: 167257 X-Mailer-SID: 3 X-Mailer-Sent-By: 1 Content-Type: text/plain; format=flowed; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2016 22:16:15 -0000 Your email client cannot read this email. To view it online, please go here: http://e.bananabed.com.au/mail/display.php?M=167257&C=96067ad6b329b732f22d4915b1880203&S=3&L=2&N=1 To stop receiving these emails:http://e.bananabed.com.au/mail/unsubscribe.php?M=167257&C=96067ad6b329b732f22d4915b1880203&L=2&N=3 From owner-freebsd-arm@freebsd.org Thu Dec 8 12:41:08 2016 Return-Path: Delivered-To: freebsd-arm@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 01F3CC6D604 for ; Thu, 8 Dec 2016 12:41:08 +0000 (UTC) (envelope-from sanpei.ml@gmail.com) Received: from mail-yw0-x235.google.com (mail-yw0-x235.google.com [IPv6:2607:f8b0:4002:c05::235]) (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 B633B2E3 for ; Thu, 8 Dec 2016 12:41:07 +0000 (UTC) (envelope-from sanpei.ml@gmail.com) Received: by mail-yw0-x235.google.com with SMTP id t125so319729609ywc.1 for ; Thu, 08 Dec 2016 04:41:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=sUK8tfpvKay4Eh807OzZe2TCKxXb8VPjJpCSQgQ5bio=; b=W1bzu42YBvLvJ8Ocfw3dtbECWIu76t4e1MbgN0aDq+l8xHNcvhuQpoEUW99TdIF++p JJ+d/mnQB1UPfoWcpnTrwXYcRnv+xi+8095/7eqp1Zsf7DoXSmKY/UdE6kBgxnS5Jlz4 6sFaJ+CyNb/khR9RY5A9IeF7ikJ+eIkbALgRVQdxaCru0RaZ4D/qQtiiBVACa/BxEGml x/GBHcxkc6TVSkUgRHrDTbTzti/M5TBip6kqcB0olaFMf2Apy/uX4/7PGk6CBlGGzWDL QvJYi/IsY0ZiVwiKuEzpV+gVDJb0y54LNSag+QK6jH4/qI8gQbXhVsm2d1zdKwiofg3K VhWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=sUK8tfpvKay4Eh807OzZe2TCKxXb8VPjJpCSQgQ5bio=; b=QZ07KY18NcZEPB2806yt277SRqdiiQ1KNhYeM8WIF6spPxIzOA5mVHA3b7Qy6F8wbx BwODFN1FF7j6SQYRgujRir16ohhXsaJPFELeT9H6136ONI2tl35IU2V6dnAgV4tAgwf/ HNEzlqKbI5gMy4vQOBXoFZrHq7iEqmuSxVWLQnp7C1oIbGHFBOjpiICS5W5JgXdqUq0L o6T+ALXoVv/GGR5ykDVt33wAnOt5RqJLWnU9W4o4kD1noakAIc/7Ma2agJb/HYABZJaZ 5a3VXED0tUL4uLloq9lsKN+MWCo7DJlI/rHEk5zW8J1eGwSWot16D8xmih8puHyA9dxw Wo+A== X-Gm-Message-State: AKaTC02HKJYFXV+oZANzlECSt5pBsL89PKZ1Fg7doPd+MUaBTMd5+ecU+5u7UrE9hsv9P4fq76M3ADQ1rIv0OA== X-Received: by 10.13.219.205 with SMTP id d196mr65981845ywe.118.1481200866842; Thu, 08 Dec 2016 04:41:06 -0800 (PST) MIME-Version: 1.0 From: Yoshiro MIHIRA Date: Thu, 08 Dec 2016 12:40:56 +0000 Message-ID: Subject: latest current/SNAPSHOT on Raspberry PI zero To: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2016 12:41:08 -0000 Hi I have a Raspberry PI zero and I installed latest snapshot and latest current into 20161117-r308737, but I could not boot. Please let me know to solve issue. [Tested Snapshot] FreeBSD-12.0-CURRENT-arm-armv6-RPI-B-20161130-r309302.img.xz NG FreeBSD-12.0-CURRENT-arm-armv6-RPI-B-20161117-r308737.img.xz OK [Tested kernel] after install FreeBSD-12.0-CURRENT-arm-armv6-RPI-B-20161117-r308737.img.xz, I update latest kernel NG [boot message] U-Boot 2016.01 (Nov 17 2016 - 07:06:53 +0000) DRAM: 480 MiB RPI Zero (0x900093) MMC: bcm2835_sdhci: 0 reading uboot.env ** Unable to read "uboot.env" from mmc0:1 ** Using default environment In: serial Out: lcd Err: lcd Net: Net Initialization Skipped No ethernet found. reading uEnv.txt ** Unable to read file uEnv.txt ** Hit any key to stop autoboot: 0 starting USB... USB0: Core Release: 2.80a scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found scanning usb for ethernet devices... 0 Ethernet Device(s) found Booting from: mmc 0 ubldr.bin reading ubldr.bin 225016 bytes read in 35 ms (6.1 MiB/s) ## No elf image at address 0x00200000 ## Starting application at 0x00200000 ... Consoles: U-Boot console Compatible U-Boot API signature found @0x1db464d0 FreeBSD/armv6 U-Boot loader, Revision 1.2 (root@releng3.nyi.freebsd.org, Thu Nov 17 07:20:15 UTC 2016) DRAM: 480MB Number of U-Boot devices: 1 U-Boot env: loaderdev='mmc 0' Found U-Boot device: disk Checking unit=0 slice= partition=... good. Booting from disk0s2a: /boot/kernel/kernel data=0x775724+0x1828dc syms=[0x4+0x87b80+0x4+0x9b9f0] /boot/kernel/carp.ko text=0x73e8 data=0x4d0+0x74 syms=[0x4+0x14a0+0x4+0x1111] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by U-Boot at address 0x100. Kernel entry at 0x400100... Kernel args: (null) [NG] U-Boot 2016.01 (Nov 17 2016 - 07:06:53 +0000) Yours Yoshiro MIHIRA From owner-freebsd-arm@freebsd.org Sat Dec 10 09:00:17 2016 Return-Path: Delivered-To: freebsd-arm@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 6557AC6FFFD for ; Sat, 10 Dec 2016 09:00:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 554CE175 for ; Sat, 10 Dec 2016 09:00:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uBA90Hb4093138 for ; Sat, 10 Dec 2016 09:00:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 215194] [PATCH] Fix Raspberry Pi 1 no sound Date: Sat, 10 Dec 2016 09:00:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bughub@hotmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2016 09:00:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215194 Bug ID: 215194 Summary: [PATCH] Fix Raspberry Pi 1 no sound Product: Base System Version: CURRENT Hardware: arm OS: Any Status: New Keywords: patch Severity: Affects Many People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: bughub@hotmail.com Keywords: patch Created attachment 177847 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D177847&action= =3Dedit Fix raspberry pi 1 no sound. Hi, cat /dev/urandom > /dev/dsp The noise is gone after about 1 second and Control-C not working. The attachment is a patch. Regards! --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Sat Dec 10 11:55:56 2016 Return-Path: Delivered-To: freebsd-arm@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 34D8DC7021C for ; Sat, 10 Dec 2016 11:55:56 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id 2982618E5; Sat, 10 Dec 2016 11:55:56 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id 5D203228; Sat, 10 Dec 2016 11:55:56 +0000 (UTC) Date: Sat, 10 Dec 2016 11:55:56 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: bapt@FreeBSD.org, gnn@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <1937920195.46.1481370956414.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #4338 - Failure MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: FAILURE Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2016 11:55:56 -0000 FreeBSD_HEAD_arm64 - Build #4338 - Failure: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4338/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4338/changes Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4338/console Change summaries: 309795 by bapt: Update pci ids database to 2016.11.21 MFC after: 2 days 309791 by gnn: This adds a configuration for arm64 users that track CURRENT but don't need the extra debug facilities. Copied from the amd64 configuration of the same name. Submitted by: Nikolai Lifanov Reviewed by: emaste MFC after: 2 weeks The end of the build log: Started by an SCM change Building remotely on kyua1.nyi.freebsd.org (jailer) in workspace /jenkins/workspace/FreeBSD_HEAD_arm64 Updating svn://svnmir.freebsd.org/base/head at revision '2016-12-10T11:54:10.733 +0000' U share/misc/pci_vendors AU sys/arm64/conf/GENERIC-NODEBUG At revision 309795 No emails were triggered. [FreeBSD_HEAD_arm64] $ /bin/sh -xe /tmp/hudson8916676564115051884.sh + export 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin' + export 'jname=FreeBSD_HEAD_arm64' + echo 'clean up jail FreeBSD_HEAD_arm64' clean up jail FreeBSD_HEAD_arm64 + sudo jail -r FreeBSD_HEAD_arm64 + true + sudo ifconfig igb0 inet6 2610:1c1:1:607c::101:1 -alias + true + sudo umount FreeBSD_HEAD_arm64/usr/src + true + sudo umount FreeBSD_HEAD_arm64/dev + true + sudo rm -fr FreeBSD_HEAD_arm64 + sudo chflags -R noschg FreeBSD_HEAD_arm64 + true + sudo rm -fr FreeBSD_HEAD_arm64 [FreeBSD_HEAD_arm64] $ /bin/sh -xe /tmp/hudson2399553399177131398.sh + export 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin' + export 'jname=FreeBSD_HEAD_arm64' + echo env: env: + /usr/bin/env BUILD_NUMBER=4338 HUDSON_SERVER_COOKIE=0657dbe3541f1b1a JOB_NAME=FreeBSD_HEAD_arm64 LOGNAME=jenkins JAVA_HOME=/usr/local/openjdk8 SVN_URL=svn://svnmir.freebsd.org/base/head BUILDER_JAIL_IP=2610:1c1:1:607c::101:1 jname=FreeBSD_HEAD_arm64 JENKINS_URL=https://jenkins.FreeBSD.org/ JENKINS_HOME=/usr/local/jenkins PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin JOB_BASE_NAME=FreeBSD_HEAD_arm64 HUDSON_HOME=/usr/local/jenkins OLDPWD=/ BUILD_ID=4338 BUILDER_NETIF=igb0 JENKINS_SERVER_COOKIE=0657dbe3541f1b1a PWD=/jenkins/workspace/FreeBSD_HEAD_arm64 BUILD_TAG=jenkins-FreeBSD_HEAD_arm64-4338 NODE_LABELS=jailer kyua1.nyi.freebsd.org BUILD_DISPLAY_NAME=#4338 HOME=/jenkins USER=jenkins BUILD_URL=https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4338/ SVN_URL_1=svn://svnmir.freebsd.org/base/head SVN_REVISION=309795 SVN_REVISION_1=309795 BUILDER_JAIL_IP6=2610:1c1:1:607c::101:1 JOB_URL=https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/ SHELL=/bin/sh HUDSON_URL=https://jenkins.FreeBSD.org/ HUDSON_COOKIE=8385ee17-f493-4918-a2bf-ea2c0f5dcd22 BUILDER_RESOLV_CONF=nameserver 2610:1c1:1:6002::100\nnameserver 2610:1c1:1:6002::200\n WORKSPACE=/jenkins/workspace/FreeBSD_HEAD_arm64 NODE_NAME=kyua1.nyi.freebsd.org EXECUTOR_NUMBER=0 + echo 'setup jail FreeBSD_HEAD_arm64' setup jail FreeBSD_HEAD_arm64 + fetch -m http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/10.3-RELEASE/base.txz + fetch -m http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/10.3-RELEASE/lib32.txz + mkdir FreeBSD_HEAD_arm64 + cd FreeBSD_HEAD_arm64 + sudo tar Jxf ../base.txz + sudo tar Jxf ../lib32.txz + cd - + sudo mount -t devfs devfs FreeBSD_HEAD_arm64/dev + sudo devfs -m FreeBSD_HEAD_arm64/dev rule -s 4 applyset + sudo mount -t nullfs src FreeBSD_HEAD_arm64/usr/src + printf 'nameserver 2610:1c1:1:6002::100\nnameserver 2610:1c1:1:6002::200\n' + sudo tee FreeBSD_HEAD_arm64/etc/resolv.conf nameserver 2610:1c1:1:6002::100 nameserver 2610:1c1:1:6002::200 + sudo ifconfig igb0 inet6 2610:1c1:1:607c::101:1 alias + sudo jail -c persist 'name=FreeBSD_HEAD_arm64' 'path=FreeBSD_HEAD_arm64' 'host.hostname=FreeBSD_HEAD_arm64.jail.ci.FreeBSD.org' 'ip6.addr=2610:1c1:1:607c::101:1' 'ip4=disable' allow.chflags + echo 'setup build environment' setup build environment + sudo pkg -j FreeBSD_HEAD_arm64 install -y aarch64-binutils pkg: Warning: Major OS version upgrade detected. Running "pkg-static install -f pkg" recommended Updating FreeBSD repository catalogue... pkg: http://pkg.FreeBSD.org/FreeBSD:10:amd64/quarterly/meta.txz: No address record repository FreeBSD has no meta file, using default settings pkg: http://pkg.FreeBSD.org/FreeBSD:10:amd64/quarterly/packagesite.txz: No address record Unable to update repository FreeBSD All repositories are up-to-date. pkg: Repository FreeBSD cannot be opened. 'pkg update' required pkg: No packages available to install matching 'aarch64-binutils' have been found in the repositories Build step 'Execute shell' marked build as failure [WARNINGS] Skipping publisher since build result is FAILURE [PostBuildScript] - Execution post build scripts. [FreeBSD_HEAD_arm64] $ /bin/sh -xe /tmp/hudson5434296373860534971.sh + export 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin' + export 'jname=FreeBSD_HEAD_arm64' + echo 'clean up jail FreeBSD_HEAD_arm64' clean up jail FreeBSD_HEAD_arm64 + sudo jail -r FreeBSD_HEAD_arm64 + sudo ifconfig igb0 inet6 2610:1c1:1:607c::101:1 -alias ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address + true + sudo umount FreeBSD_HEAD_arm64/usr/src + sudo umount FreeBSD_HEAD_arm64/dev + sudo rm -fr FreeBSD_HEAD_arm64 + true + sudo chflags -R noschg FreeBSD_HEAD_arm64 + sudo rm -fr FreeBSD_HEAD_arm64 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any From owner-freebsd-arm@freebsd.org Sat Dec 10 15:02:16 2016 Return-Path: Delivered-To: freebsd-arm@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 59B04C6F9AD for ; Sat, 10 Dec 2016 15:02:16 +0000 (UTC) (envelope-from John.Kitz@xs4all.nl) Received: from lb2-smtp-cloud6.xs4all.net (lb2-smtp-cloud6.xs4all.net [194.109.24.28]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "*.xs4all.nl", Issuer "GlobalSign Domain Validation CA - SHA256 - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 03C0A1BBE for ; Sat, 10 Dec 2016 15:02:15 +0000 (UTC) (envelope-from John.Kitz@xs4all.nl) Received: from picard ([82.95.89.208]) by smtp-cloud6.xs4all.net with ESMTP id JF251u00A4VixDu01F26HC; Sat, 10 Dec 2016 16:02:07 +0100 Reply-To: From: "John W. Kitz" To: Subject: Cubieboard inaccessible and factory LED's on Cubieboard2. Date: Sat, 10 Dec 2016 16:02:07 +0100 Message-ID: <000001d252f6$649d5270$2dd7f750$@Kitz@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdJS9l/wBgmY7N92Tdu7TIbK2hACwA== Content-Language: en-us X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2016 15:02:16 -0000 Hi, I know that this isn't a Cubieboard hardware forum, but I'm gonna give it a try anyway... 1. For quite some time visiting cubieboard.org results in this message: "Error establishing a database connection". As far as I can see this doesn't seem to be an actual error message, but a bit of HTML code that displays this message. Does anybody know if the site has been taken offline permanently or if this is only temporary until some error has been fixed or an upgrade has been completed and the site is accessible again? 2. The cubieboard2 has several LED's on its PCB. Has anybody on this forum tried to install a cubieboard2 in an enclosure and replace these three LED's with one's external to the board mounted in the front panel of the enclosure? Regards, Jk. From owner-freebsd-arm@freebsd.org Sat Dec 10 15:15:46 2016 Return-Path: Delivered-To: freebsd-arm@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 28214C6FDDC for ; Sat, 10 Dec 2016 15:15:46 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id 1BD1B158B; Sat, 10 Dec 2016 15:15:46 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id 297CB230; Sat, 10 Dec 2016 15:15:46 +0000 (UTC) Date: Sat, 10 Dec 2016 15:15:41 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: avos@FreeBSD.org, bapt@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <2062152481.56.1481382946175.JavaMail.jenkins@jenkins-9.freebsd.org> In-Reply-To: <1937920195.46.1481370956414.JavaMail.jenkins@jenkins-9.freebsd.org> References: <1937920195.46.1481370956414.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #4339 - Fixed MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: SUCCESS Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2016 15:15:46 -0000 FreeBSD_HEAD_arm64 - Build #4339 - Fixed: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4339/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4339/changes Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/4339/console Change summaries: 309807 by bapt: Regen after 309805 309806 by avos: rsu: add TSF field into Rx radiotap. Tested with Asus USB-N10. 309805 by bapt: Make WITHOUT_CAPSICUM implying WITHOUT_CASPER PR: 214562 Reported by: dewayne@heuristicsystems.com.au MFC after: 2 days 309803 by bapt: Fix pkg groupshow PR: 204676 Submitted by: longwitz@incore.de MFC after: 2 days 309802 by bapt: Respect WITHOUT_FINGER in src.conf when running make delete-old PR: 213719 Submitted by: philippe.michel7@sfr.fr MFC after: 2 days 309801 by bapt: Respect WITHOUT_BOOTPD in src.conf when running make delete-old PR: 213720 Submitted by: philippe.michel7@sfr.fr MFC after: 2 days 309800 by bapt: Respect WITHOUT_BOOTPARAMD in src.conf when running make delete-old PR: 213721 Submitted by: philippe.michel7@sfr.fr MFC after: 2 days 309799 by bapt: Respect WITHOUT_RBOOTD in src.conf when running make delete-old PR: 213722 Submitted by: philippe.michel7@sfr.fr MFC after: 2 days 309798 by bapt: Also remove auditdistd files if src.conf has WITHOUT_AUDIT PR: 213723 Submitted by: philippe.michel7@sfr.fr MFC after: 2 days 309797 by bapt: Add entries to remove timed files with make delete-old if WITHOUT_TIMED is set PR: 213724 Submitted by: philippe.michel7@sfr.fr MFC after: 2 days 309796 by bapt: Perl is not available in base fix scripts depending on it to use the version from ports PR: 215159 Reported by: Anatoly Kamchatnov MFC after: 2 days