From owner-freebsd-arm@FreeBSD.ORG Sun Feb 22 01:12:40 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5D201671 for ; Sun, 22 Feb 2015 01:12:40 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 3A7C91D5 for ; Sun, 22 Feb 2015 01:12:40 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1M1CdAX085213 for ; Sun, 22 Feb 2015 01:12:39 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1M1CdOY085212; Sun, 22 Feb 2015 01:12:39 GMT (envelope-from root) Date: Sun, 22 Feb 2015 01:12:39 +0000 To: freebsd-arm@freebsd.org From: "kmacy (Kip Macy)" Subject: [Differential] [Commented On] D1833: Add memory barriers to buf_ring Message-ID: <31c66607cc2e8a4ce997fcc05e223550@localhost.localdomain> X-Priority: 3 Thread-Topic: D1833: Add memory barriers to buf_ring X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OGRiNDkxY2NmMjRiNTc0MjQ4YTYwNWVkNzIyIFTpLQc= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 01:12:40 -0000 kmacy added a comment. >>! In D1833#26, @meloun-miracle-cz wrote: > > Even I’m not able to evaluate all aspect, I see some serious defects here - at least from ARM point of view. > The buf_ring_enqueue() guarantees proper write ordering (and visibility): > - Store with acquire to br->br_prod_head > - Normal store to br_ring[] > - Store with release to br_prod_tail. > Unfortunately buf_ring_dequeue_sc() have not defined any read ordering and code can see > updated br_prod_tail and stale br_ring[]. (imho, this is true for amd64/i386 too). > Unlike of Semihalf guys, I see little different solution for race in buf_ring_dequeue_sc() read logic. > The br_ring[] must be read after br_prod_tail, but read order of br_cons_head and br_prod_tail is not important. > So (line 183) > > > buf = atomic_load_rel_32(&br->br_ring[cons_head]); > > > looks more correct to me. The update to prod_tail happens _after_ the store to br_ring and is done with an atomic_store_rel_int subsequently in dequeue_sc the read of prod_tail will be done with an atomic_load_acq_int before loading br_prod. Since there is a memory barrier after the update in enqueue and one before the read where is the problem? > > On ARM, all stores to variable referenced by atomic_cmpset() must be done by atomic_store (or by other > atomic_* functions), normal store doesn’t clear exclusive monitor. > Thus, for ARM we **!!MUST!!** use atomic_store() for each store to variable referenced by atomic_cmpset() ! Great, but the only variable that is updated with atomic_cmpset is prod_head to atomically acquire the right to store in to that index in br_ring. Please clarify what the actual problem is. This change fixes the only real issue that I can glean from your comment. REVISION DETAIL https://reviews.freebsd.org/D1833 To: zbb, kmacy, rpaulo, imp Cc: meloun-miracle-cz, onwahe-gmail-com, andrew, ian, adrian, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Sun Feb 22 02:41:33 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E3016D08 for ; Sun, 22 Feb 2015 02:41:33 +0000 (UTC) Received: from mail-qa0-f42.google.com (mail-qa0-f42.google.com [209.85.216.42]) (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 A01B4C50 for ; Sun, 22 Feb 2015 02:41:32 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id w8so17850464qac.1 for ; Sat, 21 Feb 2015 18:41:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=z6RAzrpvqCAlXb9Pb616IijEWTOfy02kjFDR6Nizo9o=; b=Yk6tHragg1CxZShcSj9CmdGZtc2AJGltzwP7PGRjYDn5PPy7GkIyOuM6G4cZ9knNn5 aKurX2ma3eF6LbNUkQWSCTOtmOKW6ov38kHkucIcYpw4ZZZX5IL/+UGmMfwgfBKyIyNF 0y5+Qh9ynzI4lHxIvWic0q3Mvxy/zhBAGqIcYMqEaRrhstjODXdCFcZEypB1fB6DX9RZ UEvyifx9zn+iGz+ru5+R/1fSOQSd0TOR3cznq95gWqbmsJlY+fSKLFlEHSzf90Jd9cys e8tZaQg4KffFc6oa7A42h3r+K5E0QHWO9myBr8Yhqhsb3Ok7h/suWnY7xZ9rvJVapjmO 5Tpg== X-Gm-Message-State: ALoCoQlWosiGlVRI9RxtVG1Pv9Ng2pC+q7qHQ6J43bNvN7dqfT0a9ajGGlYIpi7DZHgRsqEFonsQ X-Received: by 10.140.42.13 with SMTP id b13mr9444642qga.43.1424572886378; Sat, 21 Feb 2015 18:41:26 -0800 (PST) Received: from [172.26.26.1] (ip69-17-247-231.vif.net. [69.17.247.231]) by mx.google.com with ESMTPSA id u20sm23164604qah.12.2015.02.21.18.41.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Feb 2015 18:41:25 -0800 (PST) Message-ID: <54E941CE.3010704@ambient-md.com> Date: Sat, 21 Feb 2015 21:41:18 -0500 From: Peter Garshtja User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: arm xdev question Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 02:41:34 -0000 Hello everyone, Could someone explain me the arm arch support. For instance the xdev is ARMv6 and the main question how is FreeBSD working on BeagleBone where on board the cpu is ARMv7? Thanks in advance, Peter From owner-freebsd-arm@FreeBSD.ORG Sun Feb 22 03:06:56 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 17E7146E for ; Sun, 22 Feb 2015 03:06:56 +0000 (UTC) Received: from pmta2.delivery9.ore.mailhop.org (pmta2.delivery9.ore.mailhop.org [54.148.30.215]) by mx1.freebsd.org (Postfix) with ESMTP id EAD82F34 for ; Sun, 22 Feb 2015 03:06:55 +0000 (UTC) Received: from smtp1.ore.mailhop.org (172.31.18.134) by pmta2.delivery1.ore.mailhop.org id ht53t420u50a for ; Sun, 22 Feb 2015 02:56:51 +0000 (envelope-from ) Received: from c-73-34-117-227.hsd1.co.comcast.net ([73.34.117.227] helo=ilsoft.org) by smtp1.ore.mailhop.org with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82) (envelope-from ) id 1YPMiv-0002iy-3A; Sun, 22 Feb 2015 02:56:49 +0000 Received: from fb864.hippie.lan (fb864.hippie.lan [172.22.42.242]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t1M2ul8Q014157; Sat, 21 Feb 2015 19:56:47 -0700 (MST) (envelope-from ian@freebsd.org) X-Mail-Handler: DuoCircle Outbound SMTP X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@duocircle.com (see https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information for abuse reporting information) X-MHO-User: U2FsdGVkX1+UUP8qt1p+3S3nEunnKG70 Message-ID: <1424573807.56366.5.camel@freebsd.org> Subject: Re: arm xdev question From: Ian Lepore To: Peter Garshtja Date: Sat, 21 Feb 2015 19:56:47 -0700 In-Reply-To: <54E941CE.3010704@ambient-md.com> References: <54E941CE.3010704@ambient-md.com> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.8 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 03:06:56 -0000 On Sat, 2015-02-21 at 21:41 -0500, Peter Garshtja wrote: > Hello everyone, > > Could someone explain me the arm arch support. For instance the > xdev is ARMv6 and the main question how is FreeBSD working on BeagleBone > where on board the cpu is ARMv7? > > Thanks in advance, > Peter For historical and probably not-very-good reasons all support for armv6 and armv7 is lumped together under the armv6 name. These days the right arch to use for both v6 and v7 is armv6hf (hardfloat). The only true armv6 platform we support is RPi, everything else armv6[hf] runs on is really v7. -- Ian From owner-freebsd-arm@FreeBSD.ORG Sun Feb 22 09:20:52 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E8DDB708 for ; Sun, 22 Feb 2015 09:20:52 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 C5ED3304 for ; Sun, 22 Feb 2015 09:20:52 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1M9KqIu080015 for ; Sun, 22 Feb 2015 09:20:52 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1M9KqVb080014; Sun, 22 Feb 2015 09:20:52 GMT (envelope-from root) Date: Sun, 22 Feb 2015 09:20:52 +0000 To: freebsd-arm@freebsd.org From: "meloun-miracle-cz (Michal Meloun)" Subject: [Differential] [Commented On] D1833: Add memory barriers to buf_ring Message-ID: <460482fd8d4c5fc63ada8a2bb63b2e36@localhost.localdomain> X-Priority: 3 Thread-Topic: D1833: Add memory barriers to buf_ring X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OGRiNDkxY2NmMjRiNTc0MjQ4YTYwNWVkNzIyIFTpn3Q= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 09:20:53 -0000 meloun-miracle-cz added a comment. First of all, I was wrong in the behavior of atomic operations on ARM. After yesterday’s long session on IRC with Ian and Andy, we concluded that pure (non atomic) store affects(clears) state of exclusive monitor. So our implementation of atomics is fine on ARM. I apologize for my mistake, and, please, ignore everything about atomic_cmpset() in my previous message. Back to your first question. I thought it only as a technical note (because misordered read occurs on br_ring[]). So, i'm fine with proposed patch. And again, sorry for noise. I certainly did not intend to be “destructive”. REVISION DETAIL https://reviews.freebsd.org/D1833 To: zbb, kmacy, rpaulo, imp Cc: meloun-miracle-cz, onwahe-gmail-com, andrew, ian, adrian, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Sun Feb 22 15:52:11 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98639794 for ; Sun, 22 Feb 2015 15:52:11 +0000 (UTC) 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 7F221181 for ; Sun, 22 Feb 2015 15:52:11 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1MFqBms036615 for ; Sun, 22 Feb 2015 15:52:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 196987] clang failure report for build of devel/radare2 Date: Sun, 22 Feb 2015 15:52:11 +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-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 15:52:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196987 --- Comment #2 from commit-hook@freebsd.org --- A commit references this bug: Author: dim Date: Sun Feb 22 15:51:50 UTC 2015 New revision: 279161 URL: https://svnweb.freebsd.org/changeset/base/279161 Log: Pull in r230058 from upstream llvm trunk (by Benjamin Kramer): LoopRotate: When reconstructing loop simplify form don't split edges from indirectbrs. Yet another chapter in the endless story. While this looks like we leave the loop in a non-canonical state this replicates the logic in LoopSimplify so it doesn't diverge from the canonical form in any way. http://llvm.org/PR21968 This fixes a "Cannot split critical edge from IndirectBrInst" assertion failure when building the devel/radare2 port. PR: 195480, 196987 MFC after: 3 days Changes: head/contrib/llvm/lib/Transforms/Scalar/LoopRotation.cpp -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-arm@FreeBSD.ORG Sun Feb 22 15:56:17 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99D807F9; Sun, 22 Feb 2015 15:56:17 +0000 (UTC) Received: from moon.peach.ne.jp (moon.peach.ne.jp [203.141.148.98]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28603198; Sun, 22 Feb 2015 15:56:16 +0000 (UTC) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id 826396811F; Mon, 23 Feb 2015 00:56:14 +0900 (JST) Received: from artemis (unknown [172.18.0.21]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTPSA id 758526811E; Mon, 23 Feb 2015 00:56:14 +0900 (JST) Message-ID: <640B1015D2984FE0A5FB69DBA9ECD23E@ad.peach.ne.jp> From: "Daisuke Aoyama" To: "Brenden Bartelt" , "George Rosamond" References: <54DB7B07.4080704@ceetonetechnology.com> In-Reply-To: Subject: Re: "geli: Wrong key" unable to attach in RPi/ARM environment Date: Mon, 23 Feb 2015 00:56:15 +0900 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0571_01D04F03.866B0080" X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-arm@freebsd.org, Pawel Jakub Dawidek X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 15:56:17 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0571_01D04F03.866B0080 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Hi all, It seems openssl(/usr/src/crypto/openssl/crypto/evp) doesn't like unaligned buffer. We use it from g_eli_key.c. decrypt() is called with tmpmkey located stack but encrypt() is called with the value passed to the function. According to definition in g_eli.h, md_mkeys is located odd address due to "uint8_t md_keys". So encrypt() is called with odd address! In armv6, it's a bad thing of course. armv6 can't handle unaligned data by some op. Fixing is very simple, don't pass mkey directly to openssl. Please try the patch attached this mail. (usage is bottom of this mail) I've only checked "geli init". If it does not work in other place, please follow up this mail. -------------------------------------------------- From: "Brenden Bartelt" Sent: Thursday, February 12, 2015 1:08 AM To: "George Rosamond" Cc: ; "Pawel Jakub Dawidek" Subject: Re: "geli: Wrong key" unable to attach in RPi/ARM environment > I have tried it both with and without a -K/-k keyfile specified and with > and without a passphrase (-P/-p). Any combination results in the same > "geli: Wrong key for mmcsd0s3." > For the sake of thoroughness I have even tried it with no PKCS#5v2 > iterations and with a NULL ealgo. > Each attempt writes a master key to the device metadata, but subsequent > attempts to attach the device fail with a wrong key. > > On Wed, Feb 11, 2015 at 10:53 AM, George Rosamond < > george@ceetonetechnology.com> wrote: > >> Brenden Bartelt: >> > Hi all, >> > >> > This a follow up to a previous thread in freebsd-geom where it was >> > determined that geli is functional in 11.0-CURRENT and it could be an ARM >> > problem. >> > >> > I have been unable to geli attach in RPi, even with a very simple >> > passphrase ("test"). Has anyone had success with this? I have tried on an >> > external usb, da0 as well as a partition on the SD card itself, mmcsd0s3. >> > The geli init appears to work, and a geli dump reveals that a master key >> > was indeed written to the device. What is even more puzzling is that a >> geli >> > onetime will work for the device, so it would appear that geli is >> > functional, but something has gone wrong with the master key >> > generating/writing/reading operation. >> > >> > Can anyone shed some light on something I am missing? Is geli not fully >> > supported on ARM? >> > >> > Thanks, >> > Brenden >> >> I haven't tried this, but two things: >> >> 1. did you try setting the key with -k when you attach? >> >> 2. I don't know if he's on this list, but I'm adding pdj@ to the cc. >> >> g >> >> > >> > Log: >> > >> > # uname -a >> > FreeBSD raspberry-pi 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r278031: Mon >> Feb >> > 2 02:54:08 UTC 2015 >> > root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B >> > arm >> > >> > # kldstat >> > Id Refs Address Size Name >> > 8 1 0xc5657000 17000 geom_eli.ko >> > 9 1 0xc572e000 2c000 crypto.ko >> > >> > # geli init mmcsd0s3 >> > Enter new passphrase: >> > Reenter new passphrase: >> > >> > Metadata backup can be found in /var/backups/mmcsd0s3.eli and >> > can be restored with the following command: >> > >> > # geli restore /var/backups/mmcsd0s3.eli mmcsd0s3 >> > >> > # geli attach mmcsd0s3 >> > Enter passphrase: >> > geli: Wrong key for mmcsd0s3. >> > >> > # geli dump mmcsd0s3 >> > Metadata on mmcsd0s3: >> > magic: GEOM::ELI >> > version: 7 >> > flags: 0x0 >> > ealgo: AES-XTS >> > keylen: 128 >> > provsize: 24796725248 >> > sectorsize: 512 >> > keys: 0x01 >> > iterations: 21660 >> > Salt: >> > >> d2678fa977889263b18cbbb2e5a3151ac8185d9d0bc5dafa548abc4510ca49ce134ef9410cc63a9b0881514d9e9fedb6a3d392ba4096775030d0646fbfb4cce5 >> > Master Key: >> > >> 4c26413b864d809b7e537e13ad442d22eada3a12ef61cd538f3a2bc9fd3a1dbbe80e19d6a009c51784461380ff150602c31c4910ad63aa52d105fc93b2005f18cd0b187e0e56b44eabc9784a6255e696a9c398653e4ec669cae64961bd7b43d9af01fa0897f84fef1608c632bbb881d418bdf81e637afff4191ceda6ec829f33c93a0cb5ead63ee63e4c4ccc3ee0b076e6f86b05d514c8b006bf8a11e3f78ac658e56bd824d6958747f09f3c8e80861d2f19eed3f334bbcc83aa28a227239c4bd9c4390a9e1acb5aefed4ef4602432359271217bfb9676eb753930f5c9c45899b0f44bdd230517d3238fc9ab9763b2def43658f44fc76094ccb4af54c7c492a790eca0b407adf66fccf2f3b049c874b66d4bbccd4e82fe8a2e79985ae5e1d64affed7ac66808a2bbd9d661b460c2b9acc1bac5a537bc7d862c711c9ca4892fcf3e607b6ee255555b742352483b7ffda80545bd3774f90ff0e74db58ef87c6c050501c0643c3921345df6e6d7a296c7c535ec81468a8a739824673303664a8874 >> > MD5 hash: f97f3ca1cf95c25144c84a12b10d81ef >> > >> > # geli onetime mmcsd0s3 >> > # geli list >> > Geom name: mmcsd0s3.eli >> > State: ACTIVE >> > EncryptionAlgorithm: AES-XTS >> > KeyLength: 128 >> > Crypto: software >> > Version: 7 >> > Flags: ONETIME >> > KeysAllocated: 47 >> > KeysTotal: 47 >> > Providers: >> > 1. Name: mmcsd0s3.eli >> > Mediasize: 24796725248 (23G) >> > Sectorsize: 512 >> > Mode: r0w0e0 >> > Consumers: >> > 1. Name: mmcsd0s3 >> > Mediasize: 24796725248 (23G) >> > Sectorsize: 512 >> > Stripesize: 4194304 >> > Stripeoffset: 0 >> > Mode: r1w1e1 >> > _______________________________________________ >> > freebsd-arm@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-arm >> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >> > >> >> > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" g_eli_mkey_decrypt() @ /usr/src/sys/geom/eli/g_eli_key.c: ---------------------------------------------------------------------- 108 int 109 g_eli_mkey_decrypt(const struct g_eli_metadata *md, const unsigned char *key, 110 unsigned char *mkey, unsigned *nkeyp) 111 { 112 unsigned char tmpmkey[G_ELI_MKEYLEN]; 113 unsigned char enckey[SHA512_MDLEN]; /* Key for encryption. */ 114 const unsigned char *mmkey; 125 mmkey = md->md_mkeys; 126 for (nkey = 0; nkey < G_ELI_MAXMKEYS; nkey++, mmkey += G_ELI_MKEYLEN) { 127 bit = (1 << nkey); 128 if (!(md->md_keys & bit)) 129 continue; 130 bcopy(mmkey, tmpmkey, G_ELI_MKEYLEN); 131 error = g_eli_crypto_decrypt(md->md_ealgo, tmpmkey, 132 G_ELI_MKEYLEN, enckey, md->md_keylen); ---------------------------------------------------------------------- g_eli_mkey_encrypt() @ /usr/src/sys/geom/eli/g_eli_key.c: ---------------------------------------------------------------------- 156 int 157 g_eli_mkey_encrypt(unsigned algo, const unsigned char *key, unsigned keylen, 158 unsigned char *mkey) 176 error = g_eli_crypto_encrypt(algo, mkey, G_ELI_MKEYLEN, enckey, keylen); ---------------------------------------------------------------------- /usr/src/sys/geom/eli/g_eli.h: ---------------------------------------------------------------------- 210 struct g_eli_metadata { 211 char md_magic[16]; /* Magic value. */ 212 uint32_t md_version; /* Version number. */ 213 uint32_t md_flags; /* Additional flags. */ 214 uint16_t md_ealgo; /* Encryption algorithm. */ 215 uint16_t md_keylen; /* Key length. */ 216 uint16_t md_aalgo; /* Authentication algorithm. */ 217 uint64_t md_provsize; /* Provider's size. */ 218 uint32_t md_sectorsize; /* Sector size. */ 219 uint8_t md_keys; /* Available keys. */ 220 int32_t md_iterations; /* Number of iterations for PKCS#5v2. */ 221 uint8_t md_salt[G_ELI_SALTLEN]; /* Salt. */ 222 /* Encrypted master key (IV-key, Data-key, HMAC). */ 223 uint8_t md_mkeys[G_ELI_MAXMKEYS * G_ELI_MKEYLEN]; 224 u_char md_hash[16]; /* MD5 hash. */ 225 } __packed; ---------------------------------------------------------------------- /usr/src/sys/geom/eli/g_eli_crypto.c: ---------------------------------------------------------------------- 119 static int 120 g_eli_crypto_cipher(u_int algo, int enc, u_char *data, size_t datasize, 121 const u_char *key, size_t keysize) 176 EVP_CIPHER_CTX_init(&ctx); 177 178 EVP_CipherInit_ex(&ctx, type, NULL, NULL, NULL, enc); 179 EVP_CIPHER_CTX_set_key_length(&ctx, keysize / 8); 180 EVP_CIPHER_CTX_set_padding(&ctx, 0); 181 bzero(iv, sizeof(iv)); 182 EVP_CipherInit_ex(&ctx, NULL, NULL, key, iv, enc); 183 184 if (EVP_CipherUpdate(&ctx, data, &outsize, data, datasize) == 0) { 185 EVP_CIPHER_CTX_cleanup(&ctx); 186 return (EINVAL); 187 } 188 assert(outsize == (int)datasize); 189 190 if (EVP_CipherFinal_ex(&ctx, data + outsize, &outsize) == 0) { 191 EVP_CIPHER_CTX_cleanup(&ctx); 192 return (EINVAL); 193 } 194 assert(outsize == 0); 195 196 EVP_CIPHER_CTX_cleanup(&ctx); 201 int 202 g_eli_crypto_encrypt(u_int algo, u_char *data, size_t datasize, 203 const u_char *key, size_t keysize) 204 { 205 206 /* We prefer AES-CBC for metadata protection. */ 207 if (algo == CRYPTO_AES_XTS) 208 algo = CRYPTO_AES_CBC; 209 210 return (g_eli_crypto_cipher(algo, 1, data, datasize, key, keysize)); 211 } ---------------------------------------------------------------------- How to use this patch on running system: ---------------------------------------------------------------------- If you don't have source tree, check out with your kernel version specified by "-r". # uname -v FreeBSD 11.0-CURRENT #0 r277169M: Wed Jan 14 22:06:07 JST 2015 aoyama@fbs11.local:/usr/local/src/crochet-freebsd/work/obj/arm.armv6/usr/src/sys/RPI-B-test22 # svnlite checkout -r 277169 svn://svn.FreeBSD.org/base/head /usr/src Apply the patch # cd /usr/src # patch < /path/to/g_eli_key.c.patch Build the patched shared library # cd /usr/src/sbin/geom/class/eli # make && make install Now you have patched shared library in /lib/geom/geom_eli.so geli command use this library. ---------------------------------------------------------------------- Thanks, -- Daisuke Aoyama ------=_NextPart_000_0571_01D04F03.866B0080 Content-Type: application/octet-stream; name="g_eli_key.c.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="g_eli_key.c.patch" Index: sys/geom/eli/g_eli_key.c=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= --- sys/geom/eli/g_eli_key.c (revision 277169)=0A= +++ sys/geom/eli/g_eli_key.c (working copy)=0A= @@ -158,6 +158,9 @@=0A= unsigned char *mkey)=0A= {=0A= unsigned char enckey[SHA512_MDLEN]; /* Key for encryption. */=0A= +#if !defined(__NO_STRICT_ALIGNMENT)=0A= + unsigned char tmpmkey[G_ELI_MKEYLEN];=0A= +#endif=0A= int error;=0A= =0A= /*=0A= @@ -164,7 +167,13 @@=0A= * To calculate HMAC, the whole key (G_ELI_USERKEYLEN bytes long) will=0A= * be used.=0A= */=0A= +#if !defined(__NO_STRICT_ALIGNMENT)=0A= + /* copy mkey to tmpmkey (sp aligned) */=0A= + bcopy(mkey, tmpmkey, G_ELI_MKEYLEN);=0A= + g_eli_mkey_hmac(tmpmkey, key);=0A= +#else=0A= g_eli_mkey_hmac(mkey, key);=0A= +#endif=0A= /*=0A= * The key for encryption is: enckey =3D HMAC_SHA512(Derived-Key, 1)=0A= */=0A= @@ -173,7 +182,14 @@=0A= * Encrypt the Master-Key and HMAC() result with the given key (this=0A= * time only 'keylen' bits from the key are used).=0A= */=0A= +#if !defined(__NO_STRICT_ALIGNMENT)=0A= + /* encrypt and back to mkey */=0A= + error =3D g_eli_crypto_encrypt(algo, tmpmkey, G_ELI_MKEYLEN, enckey, = keylen);=0A= + bcopy(tmpmkey, mkey, G_ELI_MKEYLEN);=0A= + bzero(tmpmkey, G_ELI_MKEYLEN);=0A= +#else=0A= error =3D g_eli_crypto_encrypt(algo, mkey, G_ELI_MKEYLEN, enckey, = keylen);=0A= +#endif=0A= =0A= bzero(enckey, sizeof(enckey));=0A= =0A= ------=_NextPart_000_0571_01D04F03.866B0080-- From owner-freebsd-arm@FreeBSD.ORG Sun Feb 22 15:57:31 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87154974 for ; Sun, 22 Feb 2015 15:57:31 +0000 (UTC) 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 6D5EC19D for ; Sun, 22 Feb 2015 15:57:31 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1MFvVpb041429 for ; Sun, 22 Feb 2015 15:57:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 196987] clang failure report for build of devel/radare2 Date: Sun, 22 Feb 2015 15:57:31 +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-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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: 7bit 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.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 15:57:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196987 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|Open |Closed --- Comment #3 from Dimitry Andric --- Fixed in r279161. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-arm@FreeBSD.ORG Sun Feb 22 17:50:31 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E29D3406; Sun, 22 Feb 2015 17:50:31 +0000 (UTC) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9BE96DFD; Sun, 22 Feb 2015 17:50:31 +0000 (UTC) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t1MHoECA084825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 22 Feb 2015 09:50:14 -0800 (PST) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t1MHoDoj084824; Sun, 22 Feb 2015 09:50:13 -0800 (PST) (envelope-from jmg) Date: Sun, 22 Feb 2015 09:50:13 -0800 From: John-Mark Gurney To: Daisuke Aoyama Subject: Re: "geli: Wrong key" unable to attach in RPi/ARM environment Message-ID: <20150222175013.GH46794@funkthat.com> References: <54DB7B07.4080704@ceetonetechnology.com> <640B1015D2984FE0A5FB69DBA9ECD23E@ad.peach.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <640B1015D2984FE0A5FB69DBA9ECD23E@ad.peach.ne.jp> X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Sun, 22 Feb 2015 09:50:14 -0800 (PST) Cc: freebsd-arm@freebsd.org, Brenden Bartelt , Pawel Jakub Dawidek X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 17:50:32 -0000 Daisuke Aoyama wrote this message on Mon, Feb 23, 2015 at 00:56 +0900: > It seems openssl(/usr/src/crypto/openssl/crypto/evp) doesn't like unaligned buffer. We should fix OpenSSL... I just checked the docs for EVP_CipherUpdate, and there is no documented alignment requirements... and the fact that the parameters are of type char, tells the compiler that there are no requirements... Could you check to see if this is fixed in a more recent version of OpenSSL (say, from ports)? And if it isn't work w/ OpenSSL to fix this bug? > We use it from g_eli_key.c. decrypt() is called with tmpmkey located stack but encrypt() is > called with the value passed to the function. > According to definition in g_eli.h, md_mkeys is located odd address due to "uint8_t md_keys". > So encrypt() is called with odd address! In armv6, it's a bad thing of course. armv6 can't > handle unaligned data by some op. I thought we faulted on this issue? or maybe we don't have the registers for armv6 programmer properly? Could someone who knows out port of armv6 well comment on this? > Fixing is very simple, don't pass mkey directly to openssl. > > Please try the patch attached this mail. (usage is bottom of this mail) > I've only checked "geli init". If it does not work in other place, please follow up this mail. If this patch does work, then we definately need to get OpenSSL to fix their code... If we don't, other parts of our tree could fail due to this too.. Thanks for tracking this down! -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-arm@FreeBSD.ORG Mon Feb 23 00:13:58 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CA814B43 for ; Mon, 23 Feb 2015 00:13:58 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 A802DBD5 for ; Mon, 23 Feb 2015 00:13:58 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1N0Dwht009624 for ; Mon, 23 Feb 2015 00:13:58 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1N0DwMM009623; Mon, 23 Feb 2015 00:13:58 GMT (envelope-from root) Date: Mon, 23 Feb 2015 00:13:58 +0000 To: freebsd-arm@freebsd.org From: "kmacy (Kip Macy)" Subject: [Differential] [Commented On] D1833: Add memory barriers to buf_ring Message-ID: <86f2bf07aa933a7a1898696286dd8a5c@localhost.localdomain> X-Priority: 3 Thread-Topic: D1833: Add memory barriers to buf_ring X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OGRiNDkxY2NmMjRiNTc0MjQ4YTYwNWVkNzIyIFTqcMY= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 00:13:58 -0000 kmacy added a comment. Reading this again, cons_head is used only by dequeue and is thus protected by the lock or an atomic update. Hence the atomic_load_acq_32 isn't needed for it. On the other hand, there are other places where prod_tail needs to be read with a memory barrier. REVISION DETAIL https://reviews.freebsd.org/D1833 To: zbb, kmacy, rpaulo, imp Cc: meloun-miracle-cz, onwahe-gmail-com, andrew, ian, adrian, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Mon Feb 23 13:41:23 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A0CF4F1 for ; Mon, 23 Feb 2015 13:41:23 +0000 (UTC) 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 702583B9 for ; Mon, 23 Feb 2015 13:41:23 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1NDfNkE099500 for ; Mon, 23 Feb 2015 13:41:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 197551] [arm] emulators/dolphin-emu fails to build on armv6 Date: Mon, 23 Feb 2015 13:41:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: martymac@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 13:41:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197551 --- Comment #2 from commit-hook@freebsd.org --- A commit references this bug: Author: martymac Date: Mon Feb 23 13:40:56 UTC 2015 New revision: 379674 URL: https://svnweb.freebsd.org/changeset/ports/379674 Log: Mark the port as broken on armv6. Progress has been done upstream to add arm support to Dolphin, so this will probably be for a future release. PR: 197551 Submitted by: sbruno Changes: head/emulators/dolphin-emu/Makefile -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-arm@FreeBSD.ORG Mon Feb 23 13:43:30 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9FF196D8 for ; Mon, 23 Feb 2015 13:43:30 +0000 (UTC) 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 854F864E for ; Mon, 23 Feb 2015 13:43:30 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1NDhUYh001130 for ; Mon, 23 Feb 2015 13:43:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 197551] [arm] emulators/dolphin-emu fails to build on armv6 Date: Mon, 23 Feb 2015 13:43:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: martymac@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: martymac@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? 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.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 13:43:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197551 Ganael LAPLANCHE changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --- Comment #3 from Ganael LAPLANCHE --- Hi Sean, Thanks for your report. As you can see, I've marked the port as broken for armv6. This version is q= uite old by now ; let's wait for a newer one to dig more into this. Regards, Gana=C3=ABl. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-arm@FreeBSD.ORG Mon Feb 23 22:37:40 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 37F7D4CE for ; Mon, 23 Feb 2015 22:37:40 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (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 D071BB89 for ; Mon, 23 Feb 2015 22:37:39 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1NMbVMX051605 for ; Mon, 23 Feb 2015 17:37:31 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Mon, 23 Feb 2015 17:37:31 -0500 From: Brett Wynkoop To: freebsd-arm@freebsd.org Subject: kernel build fails Message-ID: <20150223173731.4902457d@ivory.wynn.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 22:37:40 -0000 Greeting- Well I just did an svn up and the kernel build still fails on arm when trying to build directly on my BeagleBone. Here is the end of make depend: machine -> /usr/src/sys/arm/include rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/contrib/opensolaris/uts/common -I/usr/src/sys/arm/compile/BEAGLEBONE/../../.. -DHAVE_KERNEL_OPTION_HEADERS -I. -I/usr/src/sys/arm/compile/BEAGLEBONE/../../.. -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../contrib/altq -I/usr/src/sys/arm/compile/BEAGLEBONE -std=iso9899:1999 /usr/src/sys/arm/compile/BEAGLEBONE/../../../fs/nfsclient/nfs_clkdtrace.c ===> dtrace/dtrace (depend) machine -> /usr/src/sys/arm/include cc -c -O -pipe -mcpu=arm1176jzf-s -mfloat-abi=softfp -DDIS_MEM -DSMP -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/dev/dtrace -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/dev/dtrace/arm -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/contrib/opensolaris/uts/common -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/contrib/opensolaris/common/util -I/usr/src/sys/arm/compile/BEAGLEBONE/../../.. -DHAVE_KERNEL_OPTION_HEADERS -include /usr/src/sys/arm/compile/BEAGLEBONE/opt_global.h -I. -I/usr/src/sys/arm/compile/BEAGLEBONE/../../.. -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../contrib/altq -g -funwind-tables -I/usr/src/sys/arm/compile/BEAGLEBONE -march=armv7a -ffreestanding -fwrapv -gdwarf-2 -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-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-parentheses -Wno-uninitialized -Wno-cast-qual -Wno-unused -mllvm -arm-use-movt=0 -mfpu=none -std=iso9899:1999 -include /usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris/sys/debug_compat.h /usr/src/sys/arm/compile/BEAGLEBONE/../../../arm/arm/genassym.c cc: error: argument unused during compilation: '-march=armv7a' [-Werror,-Wunused-command-line-argument] *** Error code 1 Stop. make[3]: stopped in /usr/src/sys/modules/dtrace/dtrace *** Error code 1 Stop. make[2]: stopped in /usr/src/sys/modules/dtrace *** Error code 1 Stop. make[1]: stopped in /usr/src/sys/modules *** Error code 1 Stop. make: stopped in /usr/src/sys/arm/compile/BEAGLEBONE root@beaglebone:/usr/src/sys/arm/compile/BEAGLEBONE # Any ideas folks? -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 929-272-0000 Amendment I Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances. From owner-freebsd-arm@FreeBSD.ORG Mon Feb 23 23:21:46 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E28D128E for ; Mon, 23 Feb 2015 23:21:46 +0000 (UTC) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) (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 AB461F5 for ; Mon, 23 Feb 2015 23:21:46 +0000 (UTC) Received: by iecrp18 with SMTP id rp18so27653346iec.9 for ; Mon, 23 Feb 2015 15:21:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=toQC1MZQTEMi/nQ3edd8LvddZC+33IqBzo3xiRsH2xE=; b=LQcuWMYQrmmuMatz9LaMdl+awQenQ9vLdUhgfDbNOZS2YUBtniDSlMLFuFNzVUoBOp Zkk80OxwUmFqIjA/J0nzfbQ6VaKa+EWLr8CNuSyelcXQ/xQdpw4/7FU5EpzMsA+pVddO 14I0bPltQTJdB0nsJG2VaPgz/mecLgXyU6e2hf8XFRDGKzLD31bGLaQbjczLaqbTc29P ahz2P/d89BH4IL1r7EE4vafE3UWozFxbaco/BWL+5bBO9foUn77irz0ErfBUVZ9L2Rsy wT6gi4itjsVn+RHMJFckYAw/iPTOO3SzEbH8Bdr/ggW7h29qj8zmgXDZq0YJtv5Gscif oZuQ== MIME-Version: 1.0 X-Received: by 10.50.111.115 with SMTP id ih19mr8879796igb.47.1424733705919; Mon, 23 Feb 2015 15:21:45 -0800 (PST) Received: by 10.107.18.36 with HTTP; Mon, 23 Feb 2015 15:21:45 -0800 (PST) In-Reply-To: <20150223173731.4902457d@ivory.wynn.com> References: <20150223173731.4902457d@ivory.wynn.com> Date: Mon, 23 Feb 2015 15:21:45 -0800 Message-ID: Subject: Re: kernel build fails From: Michael Mitchell To: Brett Wynkoop Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 23:21:47 -0000 i thought any arch except armv6 is currently problematic. (this is my experience with 10.x so far). On Mon, Feb 23, 2015 at 2:37 PM, Brett Wynkoop wrote: > Greeting- > > Well I just did an svn up and the kernel build still fails on arm when > trying to build directly on my BeagleBone. > > Here is the end of make depend: > > machine -> /usr/src/sys/arm/include > rm -f .depend > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE > -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris > > -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/contrib/opensolaris/uts/common > -I/usr/src/sys/arm/compile/BEAGLEBONE/../../.. > -DHAVE_KERNEL_OPTION_HEADERS -I. > -I/usr/src/sys/arm/compile/BEAGLEBONE/../../.. > -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../contrib/altq > -I/usr/src/sys/arm/compile/BEAGLEBONE > -std=iso9899:1999 > /usr/src/sys/arm/compile/BEAGLEBONE/../../../fs/nfsclient/nfs_clkdtrace.c > ===> dtrace/dtrace (depend) machine -> /usr/src/sys/arm/include cc -c > -O -pipe -mcpu=arm1176jzf-s -mfloat-abi=softfp -DDIS_MEM -DSMP -Werror > -D_KERNEL -DKLD_MODULE -nostdinc > -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris > -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/dev/dtrace > -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/dev/dtrace/arm > > -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/contrib/opensolaris/uts/common > > -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/contrib/opensolaris/common/util > -I/usr/src/sys/arm/compile/BEAGLEBONE/../../.. > -DHAVE_KERNEL_OPTION_HEADERS > -include /usr/src/sys/arm/compile/BEAGLEBONE/opt_global.h -I. > -I/usr/src/sys/arm/compile/BEAGLEBONE/../../.. > -I/usr/src/sys/arm/compile/BEAGLEBONE/../../../contrib/altq -g > -funwind-tables -I/usr/src/sys/arm/compile/BEAGLEBONE -march=armv7a > -ffreestanding -fwrapv -gdwarf-2 -Wno-error-tautological-compare > -Wno-error-empty-body -Wno-error-parentheses-equality > -Wno-error-unused-function -Wno-error-pointer-sign -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -Wmissing-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-parentheses -Wno-uninitialized > -Wno-cast-qual -Wno-unused -mllvm -arm-use-movt=0 -mfpu=none > -std=iso9899:1999 > -include > /usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris/sys/debug_compat.h > /usr/src/sys/arm/compile/BEAGLEBONE/../../../arm/arm/genassym.c > cc: error: argument unused during compilation: > '-march=armv7a' [-Werror,-Wunused-command-line-argument] *** Error code > 1 > > Stop. > make[3]: stopped in /usr/src/sys/modules/dtrace/dtrace > *** Error code 1 > > Stop. > make[2]: stopped in /usr/src/sys/modules/dtrace > *** Error code 1 > > Stop. > make[1]: stopped in /usr/src/sys/modules > *** Error code 1 > > Stop. > make: stopped in /usr/src/sys/arm/compile/BEAGLEBONE > root@beaglebone:/usr/src/sys/arm/compile/BEAGLEBONE # > > > Any ideas folks? > > -Brett > > -- > > wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt > 917-642-6925 > 929-272-0000 > > Amendment I > > Congress shall make no law respecting an establishment of religion, or > prohibiting the free exercise thereof; or abridging the freedom of > speech, or of the press; or the right of the people peaceably to > assemble, and to petition the government for a redress of grievances. > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@FreeBSD.ORG Mon Feb 23 23:53:38 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 17A745A9 for ; Mon, 23 Feb 2015 23:53:38 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (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 C845A3DE for ; Mon, 23 Feb 2015 23:53:37 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1NNrXeF055835; Mon, 23 Feb 2015 18:53:34 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Mon, 23 Feb 2015 18:53:33 -0500 From: Brett Wynkoop To: Michael Mitchell Subject: Re: kernel build fails Message-ID: <20150223185333.0b6c56c4@ivory.wynn.com> In-Reply-To: References: <20150223173731.4902457d@ivory.wynn.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 23:53:38 -0000 On Mon, 23 Feb 2015 15:21:45 -0800 Michael Mitchell wrote: > i thought any arch except armv6 is currently problematic. (this is my > experience with 10.x so far). > See I think someone introduced a bug in the arm stuff as this was a build using the GENERIC BEAGLEBONE config that was there when I finished the svn up of the sources. I did not specify armv7! -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 929-272-0000 Amendment I Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances. From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 00:34:09 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 81C29BD0 for ; Tue, 24 Feb 2015 00:34:09 +0000 (UTC) Received: from mail-ie0-f171.google.com (mail-ie0-f171.google.com [209.85.223.171]) (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 48EFA9A6 for ; Tue, 24 Feb 2015 00:34:08 +0000 (UTC) Received: by iebtr6 with SMTP id tr6so27929932ieb.10 for ; Mon, 23 Feb 2015 16:34:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=qkTo/kG/GNVScbOtuclt23z2A+IVFufKrfbZNREdnc8=; b=hCW+rhQU12skEYCgwqNWvpLlpFDx7blT3+gA3VMKqKIoqJJ6O1rtmIwxJFxpOtwMJT QhgTREGWgYU6uAdXQ2BksRHk84hZO1aZwHScp5Krw0/fzAgMDuKTsdPjoQkGKBGHEA4+ M98toBnJrwa4gPOfGNy/D3NHSw69As28ntM2CY+CiCwhgUZjfLTSmLrNrWkszNu3/Fgf 5mNLHkTEXKuAfTJTnOaeiHkzMHNq11auxj1bgs+05PTHqfSLtr4+I3mXGLirNHt4IL8Q aII12a7onVGnG53Y63/l55GeGhCveLNnM3mr26vDhnE9jVsCSllOCOrvR07nX2CfxGU6 mfbw== X-Gm-Message-State: ALoCoQmWVrBI23LaqKpf6kTdZObKh35J2A8lk00j+Jg8iOjYY1WNjV9038Aiv7baLlqlb3VMLq1h X-Received: by 10.107.36.9 with SMTP id k9mr17859889iok.2.1424738042381; Mon, 23 Feb 2015 16:34:02 -0800 (PST) Received: from netflix-mac-wired.bsdimp.com ([50.253.99.174]) by mx.google.com with ESMTPSA id q89sm10941562ioi.37.2015.02.23.16.34.01 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Feb 2015 16:34:01 -0800 (PST) Sender: Warner Losh Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: kernel build fails From: Warner Losh In-Reply-To: <20150223185333.0b6c56c4@ivory.wynn.com> Date: Mon, 23 Feb 2015 17:34:00 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <96BAB57B-85DD-4056-A19C-6853687A0413@bsdimp.com> References: <20150223173731.4902457d@ivory.wynn.com> <20150223185333.0b6c56c4@ivory.wynn.com> To: Brett Wynkoop X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 00:34:09 -0000 > On Feb 23, 2015, at 4:53 PM, Brett Wynkoop = wrote: >=20 > On Mon, 23 Feb 2015 15:21:45 -0800 > Michael Mitchell wrote: >=20 >> i thought any arch except armv6 is currently problematic. (this is my >> experience with 10.x so far). >>=20 >=20 > See I think someone introduced a bug in the arm stuff as this was a > build using the GENERIC BEAGLEBONE config that was there when I > finished the svn up of the sources. I did not specify armv7! Can you describe your host environment, including the date it was last = updated, as well as the exact version of the sources you are trying to = build? It sounds like a tool mismatch. We=E2=80=99ve been moving very = quickly and lately the =E2=80=9Calways works=E2=80=9D buildkernel will = often fail when you haven=E2=80=99t updated your tools with a make = buildworld or make kernel-toolchain before make buildkernel. Warner From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 00:58:53 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 14514CC for ; Tue, 24 Feb 2015 00:58:53 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (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 BFC1BC40 for ; Tue, 24 Feb 2015 00:58:52 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1O0wntM058467; Mon, 23 Feb 2015 19:58:49 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Mon, 23 Feb 2015 19:58:49 -0500 From: Brett Wynkoop To: Michael Mitchell Subject: Re: kernel build fails Message-ID: <20150223195849.2bd35212@ivory.wynn.com> In-Reply-To: References: <20150223173731.4902457d@ivory.wynn.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 00:58:53 -0000 On Mon, 23 Feb 2015 15:21:45 -0800 Michael Mitchell wrote: > i thought any arch except armv6 is currently problematic. (this is my > experience with 10.x so far). > > /usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris/sys/debug_compat.h > > /usr/src/sys/arm/compile/BEAGLEBONE/../../../arm/arm/genassym.c > > cc: error: argument unused during compilation: > > '-march=armv7a' [-Werror,-Wunused-command-line-argument] *** Error > > code 1 > > > > Stop. > > make[3]: stopped in /usr/src/sys/modules/dtrace/dtrace > > *** Error code 1 > > > > Stop. > > make[2]: stopped in /usr/src/sys/modules/dtrace > > *** Error code 1 > > > > Stop. > > make[1]: stopped in /usr/src/sys/modules > > *** Error code 1 > > > > Stop. > > make: stopped in /usr/src/sys/arm/compile/BEAGLEBONE > > root@beaglebone:/usr/src/sys/arm/compile/BEAGLEBONE # > > So the question is where did the -march-arm7a come from? It seems to me it should not be in the kernel tree and someone introduced it in error. Am I the only person who tries native kernel builds? -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 929-272-0000 Amendment IV The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures, shall not be violated, and no warrants shall issue, but upon probable cause, supported by oath or affirmation, and particularly describing the place to be searched, and the persons or things to be seized. From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 01:10:38 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0934C2F2 for ; Tue, 24 Feb 2015 01:10:38 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (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 B83BCD22 for ; Tue, 24 Feb 2015 01:10:37 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1O1AXFX058973; Mon, 23 Feb 2015 20:10:33 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Mon, 23 Feb 2015 20:10:30 -0500 From: Brett Wynkoop To: Peter Garshtja Subject: Re: kernel build fails Message-ID: <20150223201030.3a3d0a32@ivory.wynn.com> In-Reply-To: <54EBC6AD.30707@ambient-md.com> References: <20150223173731.4902457d@ivory.wynn.com> <54EBC6AD.30707@ambient-md.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 01:10:38 -0000 On Mon, 23 Feb 2015 19:32:45 -0500 Peter Garshtja wrote: > Hi, > > In your output i see > > *-O -pipe -mcpu=arm1176jzf-s > > arm1176 is armv6, but beaglebone has armv7 cpu. > > Are you compiling using crochet ? > > If not, try crochet its easy to use. > > Thanks, > Peter > * Peter- This is a native kernel build on the BeagleBone. The disk image this build is being done on was prepared with crochet on a FreeBSD 10.1 x86 box. My point is that a native kernel build should be possible. It was possible under 10.0 when that was head. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 929-272-0000 If cowardly and dishonorable men sometimes shoot unarmed men with army pistols or guns, the evil must be prevented by the penitentiary and gallows, and not by a general deprivation of a constitutional privilege. -Honorable J. A. Williams, Circuit Judge - Wilson v. State, 33 Ark. 557, 34 Am. Rep. 52 (1878). From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 01:14:50 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 46E9336F for ; Tue, 24 Feb 2015 01:14:50 +0000 (UTC) Received: from pmta1.delivery8.ore.mailhop.org (pmta1.delivery8.ore.mailhop.org [54.191.158.99]) by mx1.freebsd.org (Postfix) with ESMTP id 22C2EDD1 for ; Tue, 24 Feb 2015 01:14:49 +0000 (UTC) Received: from smtp2.ore.mailhop.org (172.31.36.112) by pmta1.delivery1.ore.mailhop.org id htf88i20r844 for ; Tue, 24 Feb 2015 01:04:42 +0000 (envelope-from ) Received: from c-73-34-117-227.hsd1.co.comcast.net ([73.34.117.227] helo=ilsoft.org) by smtp2.ore.mailhop.org with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82) (envelope-from ) id 1YQ3vW-00061d-8Q; Tue, 24 Feb 2015 01:04:42 +0000 Received: from fb864.hippie.lan (fb864.hippie.lan [172.22.42.242]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t1O14dGD005444; Mon, 23 Feb 2015 18:04:40 -0700 (MST) (envelope-from ian@freebsd.org) X-Mail-Handler: DuoCircle Outbound SMTP X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@duocircle.com (see https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information for abuse reporting information) X-MHO-User: U2FsdGVkX1/KD+94jtTNARS1gzjUW6J5 Message-ID: <1424739879.56366.47.camel@freebsd.org> Subject: Re: kernel build fails From: Ian Lepore To: Brett Wynkoop Date: Mon, 23 Feb 2015 18:04:39 -0700 In-Reply-To: <20150223195849.2bd35212@ivory.wynn.com> References: <20150223173731.4902457d@ivory.wynn.com> <20150223195849.2bd35212@ivory.wynn.com> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.8 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 01:14:50 -0000 On Mon, 2015-02-23 at 19:58 -0500, Brett Wynkoop wrote: > On Mon, 23 Feb 2015 15:21:45 -0800 > Michael Mitchell wrote: > > > i thought any arch except armv6 is currently problematic. (this is my > > experience with 10.x so far). > > > > /usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris/sys/debug_compat.h > > > /usr/src/sys/arm/compile/BEAGLEBONE/../../../arm/arm/genassym.c > > > cc: error: argument unused during compilation: > > > '-march=armv7a' [-Werror,-Wunused-command-line-argument] *** Error > > > code 1 > > > > > > Stop. > > > make[3]: stopped in /usr/src/sys/modules/dtrace/dtrace > > > *** Error code 1 > > > > > > Stop. > > > make[2]: stopped in /usr/src/sys/modules/dtrace > > > *** Error code 1 > > > > > > Stop. > > > make[1]: stopped in /usr/src/sys/modules > > > *** Error code 1 > > > > > > Stop. > > > make: stopped in /usr/src/sys/arm/compile/BEAGLEBONE > > > root@beaglebone:/usr/src/sys/arm/compile/BEAGLEBONE # > > > > > So the question is where did the -march-arm7a come from? It seems to > me it should not be in the kernel tree and someone introduced it in > error. > > Am I the only person who tries native kernel builds? > > -Brett > Why do you think -march=armv7 shouldn't be present on a build for an armv7 kernel? In fact it's now required to build the kernel correctly. I can build wandboard kernels on the wandboard. I haven't tried a bbb (because it's really too slow to build on). The real question is "why does -mcpu=arm1176jzf-s appear on your compile command line?" I wonder if the answer is that you've set the wrong CPUTYPE in make.conf or src.conf. -- Ian From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 01:25:53 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A3C89862 for ; Tue, 24 Feb 2015 01:25:53 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (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 5C850ED9 for ; Tue, 24 Feb 2015 01:25:53 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1O1Pnqk059586; Mon, 23 Feb 2015 20:25:49 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Mon, 23 Feb 2015 20:25:49 -0500 From: Brett Wynkoop To: Peter Garshtja Subject: Re: kernel build fails Message-ID: <20150223202549.74fc38ae@ivory.wynn.com> In-Reply-To: <54EBC6AD.30707@ambient-md.com> References: <20150223173731.4902457d@ivory.wynn.com> <54EBC6AD.30707@ambient-md.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 01:25:53 -0000 Greeting- I yanked the arm7 reference from the Makefile generated by config and now we have the following: In file included from /usr/src/sys/arm/compile/BEAGLEBONE/../../../arm/arm/genassym.c:36: In file included from /usr/src/sys/arm/compile/BEAGLEBONE/../../../sys/bus.h:129: In file included from /usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris/sys/kobj.h:41: In file included from /usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris/sys/vnode.h:41: In file included from /usr/src/sys/arm/compile/BEAGLEBONE/../../../sys/namei.h:37: In file included from /usr/src/sys/arm/compile/BEAGLEBONE/../../../sys/filedesc.h:41: In file included from /usr/src/sys/arm/compile/BEAGLEBONE/../../../sys/seq.h:70: ./machine/cpu.h:22:9: error: implicit declaration of function 'cp15_pmccntr_get' is invalid in C99 [-Werror,-Wimplicit-function-declaration] return cp15_pmccntr_get(); ^ 1 error generated. *** Error code 1 Stop. make[3]: stopped in /usr/src/sys/modules/dtrace/dtrace *** Error code 1 Stop. make[2]: stopped in /usr/src/sys/modules/dtrace *** Error code 1 Stop. make[1]: stopped in /usr/src/sys/modules *** Error code 1 Stop. make: stopped in /usr/src/sys/arm/compile/BEAGLEBONE root@beaglebone:/usr/src/sys/arm/compile/BEAGLEBONE # I think some of the arm kernel folks need to try a native build of the kernel. We should be able to native builds of the kernel. I can provide ssh and root access to my BB if needs be, but I bet there are lots of them in the hands of arm kernel devs. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 The Second Amendment extends, prima facie, to all instruments that constitute bearable arms, even those that were not in existence at the time of the founding. ~ Justice Scalia From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 02:02:04 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45BE82CC for ; Tue, 24 Feb 2015 02:02:04 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (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 D6666338 for ; Tue, 24 Feb 2015 02:02:03 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1O21wPE061078; Mon, 23 Feb 2015 21:01:59 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Mon, 23 Feb 2015 21:01:58 -0500 From: Brett Wynkoop To: Warner Losh Subject: Re: kernel build fails Message-ID: <20150223210158.4274a951@ivory.wynn.com> In-Reply-To: <96BAB57B-85DD-4056-A19C-6853687A0413@bsdimp.com> References: <20150223173731.4902457d@ivory.wynn.com> <20150223185333.0b6c56c4@ivory.wynn.com> <96BAB57B-85DD-4056-A19C-6853687A0413@bsdimp.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 02:02:04 -0000 On Mon, 23 Feb 2015 17:34:00 -0700 Warner Losh wrote: > Can you describe your host environment, including the date it was > last updated, as well as the exact version of the sources you are > trying to build? It sounds like a tool mismatch. We=E2=80=99ve been moving > very quickly and lately the =E2=80=9Calways works=E2=80=9D buildkernel wi= ll often > fail when you haven=E2=80=99t updated your tools with a make buildworld or > make kernel-toolchain before make buildkernel. >=20 > Warner >=20 The hardware is a bog standard BeagleBone (not black). The environment was produced with crochet a couple of weeks ago. FreeBSD beaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r278741: Sat Feb 14 06:04:22 EST 2015 wynkoop@prd2.wynn.com:/proj/wynkoop/crochet/crochet-freebsd-master/work/obj= /arm.armv6/proj/wynkoop/armsrc/sys/BEAGLEBONE arm A few days ago I tried to NFS mount the arm sources from prd2 and do a kernel build directly on the BB using the generic BEAGLEBONE config file. That build failed, so I then did a svn up of my arm source tree on prd2 and tried again. =20 After that to make sure NFS was not any part of the issue I rsynced the sources to the BB /usr/src and tried again, then most recently today I did another svn up and tried again. I have set nothing on the BeagleBone in any way other than what was produced by crochet. I hope this provides needed clues. BTW I have 512M swap. My first attempts to build failed on out of memory. -Brett --=20 wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 The Second Amendment extends, prima facie, to all instruments that=20 constitute bearable arms, even those that were not in existence=20 at the time of the founding. ~ Justice Scalia From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 02:02:06 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE7952CF for ; Tue, 24 Feb 2015 02:02:05 +0000 (UTC) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) (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 9646A33A for ; Tue, 24 Feb 2015 02:02:05 +0000 (UTC) Received: by qcwr17 with SMTP id r17so1982633qcw.1 for ; Mon, 23 Feb 2015 18:01:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=jeTcP/6oZSbnrE6qe0tyDwdonoiw1KWMsLCQRBbDhH8=; b=I1Jk7iH5bOfJLUFOrVljP0n64wg+b6pXwd1zFhr3RpcVFPqKPeHN6tNV7/mDXO3e41 zeqeSWnmUhHBoTZ/I9Vjxqs/os0VlrbgheradgzSFnhO+qi2ZjBrk+ApoQZffIu1hP3n haRPf1vVg2/W5DaySHklhnO0bNEwyuCB1Lcuaz7/XrllYDWlzEEw5L/SqcvsNYTpaJri +jNapenN8ootLAbwM6anMjFhYVfwb9BDEFA6+DjBjPmcWE/hbYAhgzd2gVtKpjKDwQ1G ajUR4kglaHcKHEuYXaAZoQMjX39mLBSo7kBGg6l17USDvRATwhBwv9GTmxxjU+dQlbZa OHWA== X-Gm-Message-State: ALoCoQmU4v+xfriOZB84xtbf5AnbNlsrYyYLfRdJZ4MuasvSV8AfFHgxaN0RTp8Qc6UGgl8ZDeay X-Received: by 10.229.83.196 with SMTP id g4mr32012395qcl.18.1424743318145; Mon, 23 Feb 2015 18:01:58 -0800 (PST) Received: from [172.26.26.1] (ip69-17-247-231.vif.net. [69.17.247.231]) by mx.google.com with ESMTPSA id f46sm28667434qgd.3.2015.02.23.18.01.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Feb 2015 18:01:57 -0800 (PST) Message-ID: <54EBDB94.5030702@ambient-md.com> Date: Mon, 23 Feb 2015 21:01:56 -0500 From: Peter Garshtja User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Brett Wynkoop Subject: Re: kernel build fails References: <20150223173731.4902457d@ivory.wynn.com> <54EBC6AD.30707@ambient-md.com> <20150223202549.74fc38ae@ivory.wynn.com> In-Reply-To: <20150223202549.74fc38ae@ivory.wynn.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 02:02:06 -0000 Hi, Im not a developer, but i will try tomorrow. Im running in qemu freebsd v10.1 armv6 (arm1176). I will keep posted. Thanks, Peter On 2/23/2015 8:25 PM, Brett Wynkoop wrote: > Greeting- > > I yanked the arm7 reference from the Makefile generated by config and > now we have the following: > > In file included > from /usr/src/sys/arm/compile/BEAGLEBONE/../../../arm/arm/genassym.c:36: > In file included > from /usr/src/sys/arm/compile/BEAGLEBONE/../../../sys/bus.h:129: In > file included > from /usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris/sys/kobj.h:41: > In file included > from /usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris/sys/vnode.h:41: > In file included > from /usr/src/sys/arm/compile/BEAGLEBONE/../../../sys/namei.h:37: In > file included > from /usr/src/sys/arm/compile/BEAGLEBONE/../../../sys/filedesc.h:41: In > file included > from /usr/src/sys/arm/compile/BEAGLEBONE/../../../sys/seq.h:70: ./machine/cpu.h:22:9: > error: implicit declaration of function 'cp15_pmccntr_get' is invalid > in C99 [-Werror,-Wimplicit-function-declaration] return > cp15_pmccntr_get(); ^ 1 error generated. *** Error code 1 > > Stop. > make[3]: stopped in /usr/src/sys/modules/dtrace/dtrace > *** Error code 1 > > Stop. > make[2]: stopped in /usr/src/sys/modules/dtrace > *** Error code 1 > > Stop. > make[1]: stopped in /usr/src/sys/modules > *** Error code 1 > > Stop. > make: stopped in /usr/src/sys/arm/compile/BEAGLEBONE > root@beaglebone:/usr/src/sys/arm/compile/BEAGLEBONE # > > > I think some of the arm kernel folks need to try a native build of the > kernel. We should be able to native builds of the kernel. > > I can provide ssh and root access to my BB if needs be, but I bet there > are lots of them in the hands of arm kernel devs. > > > -Brett > From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 02:15:38 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5042B8AF for ; Tue, 24 Feb 2015 02:15:38 +0000 (UTC) Received: from mail-qa0-f52.google.com (mail-qa0-f52.google.com [209.85.216.52]) (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 07523671 for ; Tue, 24 Feb 2015 02:15:37 +0000 (UTC) Received: by mail-qa0-f52.google.com with SMTP id v10so25086490qac.11 for ; Mon, 23 Feb 2015 18:15:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=tjptKSXjpRTIrQ5KiwvkZqsiHH7zb+wvdkbUHIUklsE=; b=UEd3PgVirHBj0XyiLpB4d490tvfv/l3MotbQRN0ud63OA0pvsMbe7mbWkmvicnwApo 42mQww8zDuG3loVveg9f/TU0ynZTEMkXZ0VtfUc6rDrrvb8Qz9jy1EfUGW9i4eK7RDZ9 /I+pY7uk0Qb5pNJOh+qgDBAhCWx9kgXMSZzcFWsRTKNKa7c6HHu2y5FzreVgZuqriYRr Nds4XRs7oo4kPO6JSaqvq7yNfsfhVq26wqACPChOSihRC+NvS0FN88KfsQIaBB07oGzn CQ6YQVJOw508U9bv1FQ/F4+6bBScsPkSLrUehFpI7wpVJ1L6T4EvSoqAUwiO2QhSWZkn VIgw== X-Gm-Message-State: ALoCoQnjUMZLD2a5TaCCMNII/xjg9i7k07Cc03HAHtCiuYTuXU1RxLxaTuAKUoyWZDxtDZGvXZpP X-Received: by 10.229.248.138 with SMTP id mg10mr31195089qcb.29.1424737968694; Mon, 23 Feb 2015 16:32:48 -0800 (PST) Received: from [172.26.26.1] (ip69-17-247-231.vif.net. [69.17.247.231]) by mx.google.com with ESMTPSA id k11sm28664520qaj.17.2015.02.23.16.32.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Feb 2015 16:32:47 -0800 (PST) Message-ID: <54EBC6AD.30707@ambient-md.com> Date: Mon, 23 Feb 2015 19:32:45 -0500 From: Peter Garshtja User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Michael Mitchell , Brett Wynkoop Subject: Re: kernel build fails References: <20150223173731.4902457d@ivory.wynn.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 02:15:38 -0000 Hi, In your output i see *-O -pipe -mcpu=arm1176jzf-s arm1176 is armv6, but beaglebone has armv7 cpu. Are you compiling using crochet ? If not, try crochet its easy to use. Thanks, Peter * From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 02:16:18 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EFAF2933 for ; Tue, 24 Feb 2015 02:16:18 +0000 (UTC) Received: from mail-ig0-f182.google.com (mail-ig0-f182.google.com [209.85.213.182]) (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 B773067D for ; Tue, 24 Feb 2015 02:16:18 +0000 (UTC) Received: by mail-ig0-f182.google.com with SMTP id h15so23451852igd.3 for ; Mon, 23 Feb 2015 18:16:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=kcBZ9KfvmdNWElW17c29mHtt9YHMgaZp87cRQrp43gY=; b=bmK8DCUKXlqFN1NpWRls73UUu2E0AnwgBwKTsQJskdtD1i1nrvXcFHKBT/jW16cZ8p Z4bR7jcwuC/kylPzJ9o62M9SO3Xanz93loUTTLAJR1RO1dBad95kDsB33l4I6FMMCMNl JbfOfdTFhggJ391mH0vbywlrxjxQWB3ShENq6x13LvANsifUE/DnPkbkv7Xxx41iJM7v zkXVK24UKD668VnUBFBPD9GyByeLMwZ7Hve8FiZNJVuA640lHm83Ts35uSX5HKFNnYaV pPgUNkLgIpnzzWbBg3TVoIvgjgr8/iZwS0R3bk6Gkw6UEAw5X/GLBLmwJeGal526Vlkj OZFg== X-Gm-Message-State: ALoCoQlEuiqNunYL16GR6xRKr0mrIchyX9rnnWokfkX8HFV2AebG53gt3tYk1BoPBlWBlTsiZ4so X-Received: by 10.107.17.89 with SMTP id z86mr18172513ioi.52.1424744172189; Mon, 23 Feb 2015 18:16:12 -0800 (PST) Received: from netflix-mac-wired.bsdimp.com ([50.253.99.174]) by mx.google.com with ESMTPSA id m132sm17540146ioe.33.2015.02.23.18.16.11 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Feb 2015 18:16:11 -0800 (PST) Sender: Warner Losh Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: kernel build fails From: Warner Losh In-Reply-To: <20150223195849.2bd35212@ivory.wynn.com> Date: Mon, 23 Feb 2015 19:16:10 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20150223173731.4902457d@ivory.wynn.com> <20150223195849.2bd35212@ivory.wynn.com> To: Brett Wynkoop X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 02:16:19 -0000 > On Feb 23, 2015, at 5:58 PM, Brett Wynkoop = wrote: >=20 > On Mon, 23 Feb 2015 15:21:45 -0800 > Michael Mitchell wrote: >=20 >> i thought any arch except armv6 is currently problematic. (this is my >> experience with 10.x so far). >=20 >>> = /usr/src/sys/arm/compile/BEAGLEBONE/../../../cddl/compat/opensolaris/sys/d= ebug_compat.h >>> /usr/src/sys/arm/compile/BEAGLEBONE/../../../arm/arm/genassym.c >>> cc: error: argument unused during compilation: >>> '-march=3Darmv7a' [-Werror,-Wunused-command-line-argument] *** Error >>> code 1 >>>=20 >>> Stop. >>> make[3]: stopped in /usr/src/sys/modules/dtrace/dtrace >>> *** Error code 1 >>>=20 >>> Stop. >>> make[2]: stopped in /usr/src/sys/modules/dtrace >>> *** Error code 1 >>>=20 >>> Stop. >>> make[1]: stopped in /usr/src/sys/modules >>> *** Error code 1 >>>=20 >>> Stop. >>> make: stopped in /usr/src/sys/arm/compile/BEAGLEBONE >>> root@beaglebone:/usr/src/sys/arm/compile/BEAGLEBONE # >>>=20 >=20 > So the question is where did the -march-arm7a come from? It seems to > me it should not be in the kernel tree and someone introduced it in > error. >=20 > Am I the only person who tries native kernel builds? It comes from the config file. If your toolchain doesn=E2=80=99t = understand it, you need to update. Warner From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 02:21:00 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ECFC4AC6 for ; Tue, 24 Feb 2015 02:21:00 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 C9C5579B for ; Tue, 24 Feb 2015 02:21:00 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1O2L0rk089868 for ; Tue, 24 Feb 2015 02:21:00 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1O2L0g9089865; Tue, 24 Feb 2015 02:21:00 GMT (envelope-from root) Date: Tue, 24 Feb 2015 02:21:00 +0000 To: freebsd-arm@freebsd.org From: "kmacy (Kip Macy)" Subject: [Differential] [Commented On] D1833: Add memory barriers to buf_ring Message-ID: <2be0f8f73e751b59e35a2d2e802d4379@localhost.localdomain> X-Priority: 3 Thread-Topic: D1833: Add memory barriers to buf_ring X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OGRiNDkxY2NmMjRiNTc0MjQ4YTYwNWVkNzIyIFTr4Aw= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 02:21:01 -0000 kmacy added a comment. I've been spending more time looking at this than I care to admit. I don't understand why we need the load_acq_32 on prod_tail. The atomic_store_rel_int in enqueue should guarantee that the store to the ring happens before the update to prod_tail. So the consumer should _never_ see a prod_tail that is newer than the ring[prod_next] value. I suspect that something else is going on that we don't understand. REVISION DETAIL https://reviews.freebsd.org/D1833 To: zbb, kmacy, rpaulo, imp Cc: meloun-miracle-cz, onwahe-gmail-com, andrew, ian, adrian, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 02:30:16 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 35A71CFE for ; Tue, 24 Feb 2015 02:30:16 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (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 E3E957DB for ; Tue, 24 Feb 2015 02:30:15 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1O2UA7i062172; Mon, 23 Feb 2015 21:30:11 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Mon, 23 Feb 2015 21:30:10 -0500 From: Brett Wynkoop To: Warner Losh Subject: Re: kernel build fails Message-ID: <20150223213010.62462307@ivory.wynn.com> In-Reply-To: <96BAB57B-85DD-4056-A19C-6853687A0413@bsdimp.com> References: <20150223173731.4902457d@ivory.wynn.com> <20150223185333.0b6c56c4@ivory.wynn.com> <96BAB57B-85DD-4056-A19C-6853687A0413@bsdimp.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 02:30:16 -0000 On Mon, 23 Feb 2015 17:34:00 -0700 Warner Losh wrote: > make kernel-toolchain Doing that now, but I would think there must be something else going on as my first attempt was using the kernel toolchain that was built by crochet when I built the disk image. On that first attempt the toolchain and the kernel were in perfect sync. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 929-272-0000 Amendment III No soldier shall, in time of peace be quartered in any house, without the consent of the owner, nor in time of war, but in a manner to be prescribed by law. From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 12:42:07 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E0A71415 for ; Tue, 24 Feb 2015 12:42:07 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 BE64521F for ; Tue, 24 Feb 2015 12:42:07 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1OCg7oX078660 for ; Tue, 24 Feb 2015 12:42:07 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1OCg7mL078659; Tue, 24 Feb 2015 12:42:07 GMT (envelope-from root) Date: Tue, 24 Feb 2015 12:42:07 +0000 To: freebsd-arm@freebsd.org From: "zbb (Zbigniew Bodek)" Subject: [Differential] [Closed] D1912: Fix endianness on FDT read in ARM GIC Message-ID: <2a489a82bc14addfc8710e41f74168dc@localhost.localdomain> X-Priority: 3 Thread-Topic: D1912: Fix endianness on FDT read in ARM GIC X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: YmE3NzVmMjk2ZDk4MjdlMDE0NzYyNDAwMDVmIFTscZ8= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 12:42:08 -0000 zbb closed this revision. zbb added a comment. Thanks! Committed to: 279235 https://svnweb.freebsd.org/changeset/base/279235 REVISION DETAIL https://reviews.freebsd.org/D1912 To: zbb, imp, andrew, ian Cc: ian, nwhitehorn, onwahe-gmail-com, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 13:19:52 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CCE97B05 for ; Tue, 24 Feb 2015 13:19:52 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 AC56A818 for ; Tue, 24 Feb 2015 13:19:52 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1ODJqPh015319 for ; Tue, 24 Feb 2015 13:19:52 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1ODJq4l015318; Tue, 24 Feb 2015 13:19:52 GMT (envelope-from root) Date: Tue, 24 Feb 2015 13:19:52 +0000 To: freebsd-arm@freebsd.org From: "zbb (Zbigniew Bodek)" Subject: [Differential] [Commented On] D1810: Leave HYP mode upon startup Message-ID: X-Priority: 3 Thread-Topic: D1810: Leave HYP mode upon startup X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: ZjlkNDcyMzZlMWIyNDBkZTI1NTY5ZjZiZGRjIFTseng= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 13:19:52 -0000 zbb added a comment. >>! In D1810#16, @andrew wrote: > It looks like there is support for eret in llvm http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20141201/246665.html. Can you test with this, if it works we can pull it into FreeBSD. This patch doesn't work (Toolchain will not compile). I'm posting the patch as it is. REVISION DETAIL https://reviews.freebsd.org/D1810 To: zbb, andrew, ian Cc: marius, imp, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 13:45:41 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 13ECB1BD for ; Tue, 24 Feb 2015 13:45:41 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 E7888B8F for ; Tue, 24 Feb 2015 13:45:40 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1ODje3Y043596 for ; Tue, 24 Feb 2015 13:45:40 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1ODjeVg043595; Tue, 24 Feb 2015 13:45:40 GMT (envelope-from root) Date: Tue, 24 Feb 2015 13:45:40 +0000 To: freebsd-arm@freebsd.org From: "andrew (Andrew Turner)" Subject: [Differential] [Commented On] D1810: Leave HYP mode upon startup Message-ID: X-Priority: 3 Thread-Topic: D1810: Leave HYP mode upon startup X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: ZjlkNDcyMzZlMWIyNDBkZTI1NTY5ZjZiZGRjIFTsgIQ= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 13:45:41 -0000 andrew added a comment. Can you wait for a few days. The change is part of llvm 3.6 which should be imported soon. We would still need to either stop supporting gcc on armv6 or fix binutils to also handle the instructions. REVISION DETAIL https://reviews.freebsd.org/D1810 To: zbb, andrew, ian Cc: marius, imp, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 13:55:23 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B59E1542 for ; Tue, 24 Feb 2015 13:55:23 +0000 (UTC) Received: from moon.peach.ne.jp (moon.peach.ne.jp [203.141.148.98]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 60CCFC9B for ; Tue, 24 Feb 2015 13:55:23 +0000 (UTC) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id C839B6811E for ; Tue, 24 Feb 2015 22:55:13 +0900 (JST) Received: from artemis (unknown [172.18.0.21]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTPSA id C173868121 for ; Tue, 24 Feb 2015 22:55:13 +0900 (JST) Message-ID: <34D37D2811D246BEB11080D19F03FECE@ad.peach.ne.jp> From: "Daisuke Aoyama" To: References: <1DA948EA255F4963ACBC0EBE7D046401@ad.peach.ne.jp> In-Reply-To: <1DA948EA255F4963ACBC0EBE7D046401@ad.peach.ne.jp> Subject: Re: Ready for NAS4Free on ODROID-C1 Date: Tue, 24 Feb 2015 22:55:09 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 13:55:23 -0000 Hi all, I fix problem and improve intr code. Now iperf3 reached to over 400Mbps. I'm doing stress test by read/write 5GB movie file via USB HDD. Also starting widely test both rpi and oc1 on official project forum. I miss previous mail, USB HDD is formatted by NTFS. So, NAS4Free can use NTFS USB drive without any additional tool/step. I retest on UFS formatted USB HDD. It seems all score is better than RPi@900MHz. But it still slower writing than expected. RPi version old log is here: http://shell.peach.ne.jp/aoyama/archives/3016 Changes: Add recent g_eli_key.c.patch. Implement more effective CPU affinity and GIC affinity. Reduce platform code in arm shared source. (still remain) Improve Ether and SDHC intr code. Fix MicroSD timeout if boot from eMMC and reboot it. You can get latest test image of NAS4Free 9.3.0.2 for ODROID-C1(2GB eMMC or MicroSD card) from: http://www.peach.ne.jp/archives/nas4free/test/NAS4Free-oc1-SD-9.3.0.2.1349-20150224.img.gz Download the image, decompress it, and write it to the eMMC module or MicroSD card of 2GB or more capacity. You need serial console cable or USB keyboard/HDMI display for initial IP address setup. For more info, please read previous mail: http://lists.freebsd.org/pipermail/freebsd-arm/2015-February/010357.html Current affinity/priority setting: ---------------------------------------------------------------------- GIC priority / GIC affinity / used for IRQ/ithread 0x10 CPU0 TimerF 0x10 CPU1 TimerG (reserved) 0x10 CPU2 TimerH (reserved) 0x10 CPU3 TimerI (reserved) 0x30 CPU0 Other IRQs 0x30 CPU1 SDHC, SDIO 0x30 CPU2 Ether 0x50 CPU3 USB0, USB1 Explicitly thread(taskqueue) CPU affinity CPU2 Ether RX/TX (may not need...) ---------------------------------------------------------------------- Detailed result: ---------------------------------------------------------------------- # iperf3 -c 172.18.0.135 -w32k Connecting to host 172.18.0.135, port 5201 [ 4] local 172.18.0.136 port 27797 connected to 172.18.0.135 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 47.6 MBytes 400 Mbits/sec [ 4] 1.00-2.00 sec 47.7 MBytes 400 Mbits/sec [ 4] 2.00-3.00 sec 47.9 MBytes 402 Mbits/sec [ 4] 3.00-4.00 sec 47.7 MBytes 401 Mbits/sec [ 4] 4.00-5.00 sec 48.2 MBytes 404 Mbits/sec [ 4] 5.00-6.00 sec 48.0 MBytes 403 Mbits/sec [ 4] 6.00-7.00 sec 48.1 MBytes 403 Mbits/sec [ 4] 7.00-8.00 sec 48.0 MBytes 403 Mbits/sec [ 4] 8.00-9.00 sec 48.0 MBytes 403 Mbits/sec [ 4] 9.00-10.00 sec 48.0 MBytes 402 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth [ 4] 0.00-10.00 sec 479 MBytes 402 Mbits/sec sender [ 4] 0.00-10.00 sec 479 MBytes 402 Mbits/sec receiver ----------------------------------------------------------------------- CrystalDiskMark 3.0.2 Shizuku Edition x64 (C) 2007-2012 hiyohiyo Crystal Dew World : http://crystalmark.info/ ----------------------------------------------------------------------- * MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s] Sequential Read : 22.709 MB/s Sequential Write : 5.817 MB/s Random Read 512KB : 21.654 MB/s Random Write 512KB : 5.287 MB/s Random Read 4KB (QD=1) : 2.852 MB/s [ 696.3 IOPS] Random Write 4KB (QD=1) : 1.085 MB/s [ 264.9 IOPS] Random Read 4KB (QD=32) : 2.674 MB/s [ 652.7 IOPS] Random Write 4KB (QD=32) : 0.924 MB/s [ 225.6 IOPS] Test : 100 MB [Z: 9.2% (41.4/451.1 GB)] (x5) Date : 2015/02/24 9:03:38 OS : Windows 7 Ultimate Edition SP1 [6.1 Build 7601] (x64) NAS4Free/OC1 1512MHz w/TOSHIBA MK5065GSX ---------------------------------------------------------------------- Enjoy NAS4Free world on ARM device. -- Daisuke Aoyama From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 14:03:05 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E9C5C36 for ; Tue, 24 Feb 2015 14:03:05 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 6D242DD0 for ; Tue, 24 Feb 2015 14:03:05 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1OE35qs062503 for ; Tue, 24 Feb 2015 14:03:05 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1OE35JZ062502; Tue, 24 Feb 2015 14:03:05 GMT (envelope-from root) Date: Tue, 24 Feb 2015 14:03:05 +0000 To: freebsd-arm@freebsd.org From: "emaste (Ed Maste)" Subject: [Differential] [Changed Subscribers] D1810: Leave HYP mode upon startup Message-ID: <94c24301f64c76756a11d8ef08320f0e@localhost.localdomain> X-Priority: 3 Thread-Topic: D1810: Leave HYP mode upon startup X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: ZjlkNDcyMzZlMWIyNDBkZTI1NTY5ZjZiZGRjIFTshJk= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 14:03:05 -0000 emaste added a subscriber: emaste. INLINE COMMENTS sys/arm/include/asm.h:232 Personally I think the hack is acceptable as long as it is clearly a short-term workaround. But I would like to see a comment explaining why it's done like this and what steps need to be taken before it can be replaced with the proper instruction, ideally with links to patches, PRs etc. for those steps. Here we need the Clang 3.6 import and either a local patch to gas (or a deprecated binutils) REVISION DETAIL https://reviews.freebsd.org/D1810 To: zbb, andrew, ian Cc: emaste, marius, imp, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 15:47:20 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BFBDD7CF for ; Tue, 24 Feb 2015 15:47:20 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (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 7A2C1C35 for ; Tue, 24 Feb 2015 15:47:20 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id EF9D76A6002; Tue, 24 Feb 2015 16:47:16 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id t1OFlGmX065689; Tue, 24 Feb 2015 16:47:16 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id t1OFlDO4065142; Tue, 24 Feb 2015 16:47:13 +0100 (CET) (envelope-from lars) Date: Tue, 24 Feb 2015 16:47:13 +0100 From: Lars Engels To: Daisuke Aoyama Subject: Re: Ready for NAS4Free on ODROID-C1 Message-ID: <20150224154713.GS52053@e-new.0x20.net> References: <1DA948EA255F4963ACBC0EBE7D046401@ad.peach.ne.jp> <34D37D2811D246BEB11080D19F03FECE@ad.peach.ne.jp> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+nLR7g8KNfrRqv5t" Content-Disposition: inline In-Reply-To: <34D37D2811D246BEB11080D19F03FECE@ad.peach.ne.jp> X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p23 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 15:47:20 -0000 --+nLR7g8KNfrRqv5t Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 24, 2015 at 10:55:09PM +0900, Daisuke Aoyama wrote: > Hi all, >=20 > I fix problem and improve intr code. > Now iperf3 reached to over 400Mbps. > I'm doing stress test by read/write 5GB movie file via USB HDD. > Also starting widely test both rpi and oc1 on official project forum. >=20 > I miss previous mail, USB HDD is formatted by NTFS. > So, NAS4Free can use NTFS USB drive without any additional tool/step. That's probably why the write speeds are so slow? Have you tested writing to a UFS formatted USB HDD? --+nLR7g8KNfrRqv5t Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJU7J0BXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1t+UEIAIbi/cODPgPh7XcoVC1CyfMv py1VvqEleIJq7QcV6UpQpB79xr1O0TMc5GFInQlRuihjgXAofdFfh0KclXFzA+UH pFnOyt1Cmh9TWFLoiAQQgli1+x53zJc2DMDxGBS2mtVcxVmA6rmvPC8fVzZkJojL pX0NF9Adil4210Dnh5YlOX80bUv5c3wYwviYhvWQyOlqQVUGCMORGH3VXGq6z2or GPE0qYbjtsKkkX6d7JayK+b8UYNow4cirKqzMUC7KlgzKWuH39qVA2eTiiCYnmkY tFos89IZ7H+l3zJ/ZprznMZEYrBeT9ZERqehkPKqJjxgo/xdPNzZmpkEpGXt4+o= =+HEd -----END PGP SIGNATURE----- --+nLR7g8KNfrRqv5t-- From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 17:18:19 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 14EF79A4 for ; Tue, 24 Feb 2015 17:18:19 +0000 (UTC) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) (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 DD32D973 for ; Tue, 24 Feb 2015 17:18:18 +0000 (UTC) Received: by pabkx10 with SMTP id kx10so37412195pab.13 for ; Tue, 24 Feb 2015 09:18:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=447pm7A721Pg0Jxgs+Rh8KP662FZYWj/t3nQspgEv3c=; b=ZDM7PJh+Nc2DPi1QfqQGmZMB7j4XlXpAvPKnaFLvBkUsd3DRM6fhVcJ5pdFvWlof9e 7l+slBbPOePckJX7buGGnPsKXETFa9r2p8PlK4FEtu8PtwVl610uxRVETopix/WZmCrQ IrgXJ14II3SMw9m7SMQypJtSpHPLiPUOsqNRD0QYLfSyLfZKffJSGfPqCuY1AgBVpo8A jRUYSlPdSN3qIl93CWnRab6U3JPT6JOXUx+GNogDHhmZv7TBNEk4L6vK+hduZxu5AWpl CDsef8aOW+gowRXrLCm3r3556Pg9yqbSgFaiddSjo/FQ1Oh0j5/jfinCwXE+Ztqz4Ris f1bg== X-Gm-Message-State: ALoCoQnyUVDYEpBAyre/nIc3o2CS53+gdoq9zsczKJ3RbVCncw8av+HwAGoXolHYLaZ6SVE38M31 X-Received: by 10.70.96.145 with SMTP id ds17mr25128370pdb.153.1424798292150; Tue, 24 Feb 2015 09:18:12 -0800 (PST) Received: from [10.1.1.10] (cpe-104-172-243-44.socal.res.rr.com. [104.172.243.44]) by mx.google.com with ESMTPSA id bt2sm29316915pad.12.2015.02.24.09.18.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Feb 2015 09:18:11 -0800 (PST) Message-ID: <54ECB24E.3030802@telting.org> Date: Tue, 24 Feb 2015 09:18:06 -0800 From: Chris Telting User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: Beaglebone Implemented Features so far? Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 17:18:19 -0000 Just wondering what the current state for the Beaglebone features are. GPIO is working. Interrupts on Input. Anyone working on this? PWM and ADC. I find it funky that they are accessed though sysctl rather than a device file and library like GPIO. Hardware watchdog? From what I can tell the ti_wdt0 exists but I don't see any way to turn it on and control it. PRU's. Libpru is shaping up. PASM for assembly is in ports. i2c seems like it should work but so far it's a bust for me. I've seen mention of people saying they have it working. SPI? CAM? Changing Pin Modes? What about functioning as a USB client? From owner-freebsd-arm@FreeBSD.ORG Tue Feb 24 23:02:46 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9EFDBBF8 for ; Tue, 24 Feb 2015 23:02:46 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (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 57CCC94E for ; Tue, 24 Feb 2015 23:02:45 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1ON2blv049283 for ; Tue, 24 Feb 2015 18:02:38 -0500 (EST) (envelope-from wynkoop@wynn.com) Date: Tue, 24 Feb 2015 18:02:30 -0500 From: Brett Wynkoop To: Brett Wynkoop Subject: Re: kernel build fails Message-ID: <20150224180230.5872a022@ivory.wynn.com> In-Reply-To: <20150223210158.4274a951@ivory.wynn.com> References: <20150223173731.4902457d@ivory.wynn.com> <20150223185333.0b6c56c4@ivory.wynn.com> <96BAB57B-85DD-4056-A19C-6853687A0413@bsdimp.com> <20150223210158.4274a951@ivory.wynn.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: base64 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 23:02:46 -0000 LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQ0KSGFzaDogU0hBMQ0KDQpHcmVldGlu Zy0NCg0KV2VsbCAxMiBob3VycyBpbnRvIHJlYnVpbGRpbmcgdGhlIGtlcm5lbCB0b29sY2hhaW4g YXMgc3VnZ2VzdGVkIG15IEJCDQpsb2NrZWQgdXAuICBJIGFtIHRoaW5raW5nIGl0IG1pZ2h0IGJl IGJldHRlciB0byBidWlsZCBhIG5ldyBzZGNhcmQNCmltYWdlIHdpdGggdGhlIGxhdGVzdCBzb3Vy Y2VzIGFuZCBzZWUgaWYgdGhhdCBjYW4gZG8gYSBuYXRpdmUga2VybmVsDQpidWlsZC4gIEkgc3Vz cGVjdCBpdCB3aWxsIG5vdCwgYnV0IGF0IGxlYXN0IHdlIHdpbGwgaGF2ZSBzb21lIGdvb2QNCmlu Zm9ybWF0aW9uLg0KDQpUaG91Z2h0cz8NCg0KLSAtQnJldHQNCg0KDQotIC0tIA0KDQp3eW5rb29w QHd5bm4uY29tICAgICAgICAgICAgICAgaHR0cDovL3ByZDQud3lubi5jb20vd3lua29vcC9wZ3At a2V5cy50eHQNCjkxNy02NDItNjkyNQ0KOTI5LTI3Mi0wMDAwDQoNCkkgd291bGQgbmV2ZXIgaW52 YWRlIHRoZSBVbml0ZWQgU3RhdGVzLiAgVGhlcmUgd291bGQgYmUgYSBndW4gYmVoaW5kDQpldmVy eSBibGFkZSBvZiBncmFzcy4gIC0tSXNvcm9rdSBZYW1hbW90bw0KDQotLS0tLUJFR0lOIFBHUCBT SUdOQVRVUkUtLS0tLQ0KVmVyc2lvbjogR251UEcgdjINCg0KaVFFY0JBRUJBZ0FHQlFKVTdRTU1B QW9KRUs2SzN5cmMrUnVEK2lFSC9pcHBlMmZGM1pEQU15SjdYaW5rRXd6Vw0KN2Z2enFjRkFENjRs MEc2WEJndXhpc0huQStnN2JQZmhuSisyU2h2cU9yTVdkN1F1d0xxb0Vodkk5OHB6QVhLaQ0KMGxs bDRMYlZVSzB2VGxYa2o4RnBTaDBnTVVkNnNBKzRRdmhQU1loYlRRb25zd3RoNjMxZHRHd25Pdy9M S2NEdQ0KdWNZa2RFdVpQbnc5dXRyWElkTlkzMVhPSGNhc3p0eVR6blNPVXhmK0lrLzRRc1lMRW5q TDRrSkR6a2Z2ZjMvNw0KY2VGVHpVOE1PT3BJcVNacmNSU3NNbjU5OGpPYitrZnB0NW9mUlZOblEv dVJJdzREUUducGFyTmtEYzJIa0EzaA0KdzBnY05HYmg3T3dmUzdFeDNxRis3c08xcVUraGRZbDUw NHlISDFGN3AwR0lOaHJvRkcvaDV0SHRkT0djcWFRPQ0KPUwybnANCi0tLS0tRU5EIFBHUCBTSUdO QVRVUkUtLS0tLQ0K From owner-freebsd-arm@FreeBSD.ORG Wed Feb 25 13:52:40 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8FC91264 for ; Wed, 25 Feb 2015 13:52:40 +0000 (UTC) Received: from mail-we0-x22f.google.com (mail-we0-x22f.google.com [IPv6:2a00:1450:400c:c03::22f]) (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 23794AD0 for ; Wed, 25 Feb 2015 13:52:40 +0000 (UTC) Received: by wesw55 with SMTP id w55so3741236wes.5 for ; Wed, 25 Feb 2015 05:52:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=i05bADMJaCMI8sNzZfTlO5Ecr0YiCPlWZCLXKFF8bXM=; b=Ot3la61nBeIdLYFKhGQlolpQWvaPw8XTT1hXeCjqjSGPolgUv4ZMuMvMhAR2TjYMeL OGWemptaI7U0C/JnroomWY6FP3qlNhYGlZf4jhkBZ9cVnkqg8y5zjRQAlXEoPJqU9Fea LtAsUDiVtYgmpcihxdZ5CboEQd20Exnjzj2l74fylfRClPt5qaRQYc7v6QcF0aRpEoel UBY5ji5NyWDRkp2L985AH2lFrTpw/7tVRSqFCa2Bd1V1vQjS72HNi3EwoqGJbBzitOvf fWuchvgW3t0Qhl8JoPaB3MnDe90451UDRu+HrFEHB1zEdyGEoo1nq3rFvOlubyesbtDn 8dfg== MIME-Version: 1.0 X-Received: by 10.180.8.98 with SMTP id q2mr39126223wia.80.1424872358497; Wed, 25 Feb 2015 05:52:38 -0800 (PST) Received: by 10.180.195.99 with HTTP; Wed, 25 Feb 2015 05:52:38 -0800 (PST) In-Reply-To: <54ECB24E.3030802@telting.org> References: <54ECB24E.3030802@telting.org> Date: Wed, 25 Feb 2015 10:52:38 -0300 Message-ID: Subject: Re: Beaglebone Implemented Features so far? From: Luiz Otavio O Souza To: Chris Telting Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 13:52:40 -0000 On 24 February 2015 at 14:18, Chris Telting wrote: > Just wondering what the current state for the Beaglebone features are. > > GPIO is working. > > Interrupts on Input. Anyone working on this? Hi, The interrupt support for kernel devices was committed in r276207. You need a device driver that attaches directly to gpiobus to use GPIO interrupts ATM. Here is an example of such driver: https://people.freebsd.org/~loos/gpiointr.diff Userland notification of GPIO interrupt events should be available soon too. > > PWM and ADC. I find it funky that they are accessed though sysctl rather > than a device file and library like GPIO. Yes, I've plans to integrated these devices into GPIO framework, but I also have a few things to finish before I can look into that. > > Hardware watchdog? From what I can tell the ti_wdt0 exists but I don't see > any way to turn it on and control it. Check the watchdog(8) man page, I haven't tried myself but it seems to work. > > PRU's. Libpru is shaping up. PASM for assembly is in ports. > > i2c seems like it should work but so far it's a bust for me. I've seen > mention of people saying they have it working. I2C works fine, it is used to access the onboard PMIC and HDMI framer and I also have used the i2c to access a few other external devices (RTC, GPIO expanders, thermometers). > > SPI? CAM? No SPI support ATM, but it is not hard. > > Changing Pin Modes? It is specified on DTS data and cannot be changed at runtime. > > What about functioning as a USB client? > Not sure about this one. HTH, Luiz From owner-freebsd-arm@FreeBSD.ORG Wed Feb 25 15:37:52 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 949B5482 for ; Wed, 25 Feb 2015 15:37:52 +0000 (UTC) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 26A678CE for ; Wed, 25 Feb 2015 15:37:52 +0000 (UTC) Received: by wggx12 with SMTP id x12so4423352wgg.6 for ; Wed, 25 Feb 2015 07:37:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=shn7HAoM3kZjTXGBK+VSmFD10nXjbDWI5nnQOcNhE5s=; b=DtTdbyttkoNKV/yn7TLNiSkA3In16Ck66twRvBmxqKEENkmNAZ/n57RHHmgYNZDMVO 0UQ4jo3eHc71BMoa/1UlyNBSBSbrh++VbuD3IjUztrurRZJP/H2eb5sODsN856Cp7W7X vvVHvxno0WywjXgHLR1Oredly6AozVHBQ0Ao3JUwjwkLh0QhNrxd+WYvBPX8QgyrE5IR FpZ7kkF6vK/JCgp9ul47udGsory8D0Mcn3LnjV/GzcuiBQfImWUIgriLadNF/6QMBRqk mJpejC1KUVG+oT6kBhUCa1x/lqwosbukYT878n9NJDU7ltjJAinhY5OcY5j3oheTeNuk EP4w== MIME-Version: 1.0 X-Received: by 10.194.77.133 with SMTP id s5mr7303858wjw.71.1424878670579; Wed, 25 Feb 2015 07:37:50 -0800 (PST) Received: by 10.180.195.99 with HTTP; Wed, 25 Feb 2015 07:37:50 -0800 (PST) In-Reply-To: <20150223201030.3a3d0a32@ivory.wynn.com> References: <20150223173731.4902457d@ivory.wynn.com> <54EBC6AD.30707@ambient-md.com> <20150223201030.3a3d0a32@ivory.wynn.com> Date: Wed, 25 Feb 2015 12:37:50 -0300 Message-ID: Subject: Re: kernel build fails From: Luiz Otavio O Souza To: Brett Wynkoop Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" , Peter Garshtja X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 15:37:52 -0000 On 23 February 2015 at 22:10, Brett Wynkoop wrote: > On Mon, 23 Feb 2015 19:32:45 -0500 > Peter Garshtja wrote: > >> Hi, >> >> In your output i see >> >> *-O -pipe -mcpu=arm1176jzf-s >> >> arm1176 is armv6, but beaglebone has armv7 cpu. >> >> Are you compiling using crochet ? >> >> If not, try crochet its easy to use. >> >> Thanks, >> Peter >> * > > Peter- > > This is a native kernel build on the BeagleBone. The disk image this > build is being done on was prepared with crochet on a FreeBSD 10.1 x86 > box. > > My point is that a native kernel build should be possible. It was > possible under 10.0 when that was head. > > -Brett > Brett, Things have evolved since 10.0 and the defaults used by crochet don't work anymore. Please remove the /etc/make.conf file. The CPUTYPE in that file is wrong for Beaglebones (ARMv7): https://github.com/kientzle/crochet-freebsd/blob/master/board/BeagleBone/overlay/etc/make.conf Luiz From owner-freebsd-arm@FreeBSD.ORG Wed Feb 25 15:47:08 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9216786F for ; Wed, 25 Feb 2015 15:47:08 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 6F3AF9CE for ; Wed, 25 Feb 2015 15:47:08 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1PFl8Sh015603 for ; Wed, 25 Feb 2015 15:47:08 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1PFl8Su015600; Wed, 25 Feb 2015 15:47:08 GMT (envelope-from root) Date: Wed, 25 Feb 2015 15:47:08 +0000 To: freebsd-arm@freebsd.org From: "zbb (Zbigniew Bodek)" Subject: [Differential] [Abandoned] D1833: Add memory barriers to buf_ring Message-ID: <6121e2d859a1139cb1bcdd96497e1f27@localhost.localdomain> X-Priority: 3 Thread-Topic: D1833: Add memory barriers to buf_ring X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OGRiNDkxY2NmMjRiNTc0MjQ4YTYwNWVkNzIyIFTt7nw= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 15:47:08 -0000 zbb abandoned this revision. zbb added a comment. **kmacy** was so kind to offer posting the final solution to this ticket so I'm changing status to //abandoned//. Thank you all for your review and discussion. REVISION DETAIL https://reviews.freebsd.org/D1833 To: zbb, kmacy, rpaulo, imp Cc: meloun-miracle-cz, onwahe-gmail-com, andrew, ian, adrian, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Wed Feb 25 17:53:04 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E143EA01 for ; Wed, 25 Feb 2015 17:53:04 +0000 (UTC) Received: from mail-03.1984.is (mail-03.1984.is [93.95.224.70]) (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 9EB6CCCA for ; Wed, 25 Feb 2015 17:53:03 +0000 (UTC) Received: from 93-95-226-32.1984.is ([93.95.226.32] helo=ikornapostur.1984.is) by mail-03.1984.is with esmtpa (Exim 4.80) (envelope-from ) id 1YQfJM-0005cU-1x for freebsd-arm@freebsd.org; Wed, 25 Feb 2015 16:59:48 +0000 Received: from 212.95.7.126 (SquirrelMail authenticated user beastie@nawi.is) by ikornapostur.1984.is with HTTP; Wed, 25 Feb 2015 16:59:57 -0000 Message-ID: Date: Wed, 25 Feb 2015 16:59:57 -0000 Subject: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? From: beastie@nawi.is To: freebsd-arm@freebsd.org User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 17:53:05 -0000 Hello ! Could it be possible, that the existing binary snapshots will work on the new Raspberry Pi 2 ? At the moment I have ordered a version B+ and be interested whether X also could be configured using the above listed images (the link on the info page refers to another image) ? Is it possible to run the forked daapd server (https://github.com/jasonmc/forked-daapd) ? I don't know whether it is in the ports or whether there is another solution to stream music over WiFi to existing Apple iDevices (DRM is no problem) ? Thanks for your answers. C. M. From owner-freebsd-arm@FreeBSD.ORG Wed Feb 25 19:42:07 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AE040CF1 for ; Wed, 25 Feb 2015 19:42:07 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (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 67863C68 for ; Wed, 25 Feb 2015 19:42:07 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1PJg1B2027005; Wed, 25 Feb 2015 14:42:01 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Wed, 25 Feb 2015 14:42:01 -0500 From: Brett Wynkoop To: Luiz Otavio O Souza Subject: Re: kernel build fails Message-ID: <20150225144201.48124440@ivory.wynn.com> In-Reply-To: References: <20150223173731.4902457d@ivory.wynn.com> <54EBC6AD.30707@ambient-md.com> <20150223201030.3a3d0a32@ivory.wynn.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" , Peter Garshtja X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 19:42:07 -0000 On Wed, 25 Feb 2015 12:37:50 -0300 Luiz Otavio O Souza wrote: > Brett, > > Things have evolved since 10.0 and the defaults used by crochet don't > work anymore. > > Please remove the /etc/make.conf file. > > The CPUTYPE in that file is wrong for Beaglebones (ARMv7): > https://github.com/kientzle/crochet-freebsd/blob/master/board/BeagleBone/overlay/etc/make.conf > > Luiz So are you saying just remove make.conf, or replace it with the one from the URL above? -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 The Second Amendment extends, prima facie, to all instruments that constitute bearable arms, even those that were not in existence at the time of the founding. ~ Justice Scalia From owner-freebsd-arm@FreeBSD.ORG Wed Feb 25 22:10:37 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 392F27BC for ; Wed, 25 Feb 2015 22:10:37 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 F2DAFD4 for ; Wed, 25 Feb 2015 22:10:36 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1PMAaB9075281 for ; Wed, 25 Feb 2015 22:10:36 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1PMAa0X075280; Wed, 25 Feb 2015 22:10:36 GMT (envelope-from root) Date: Wed, 25 Feb 2015 22:10:36 +0000 To: freebsd-arm@freebsd.org From: "dim (Dimitry Andric)" Subject: [Differential] [Request, 122 lines] D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment Message-ID: X-Priority: 3 Thread-Topic: D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Thread-Index: OWI2ZDlhM2EzZjk0NzYzNDhlNmU2YmYxZmFm X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 22:10:37 -0000 dim created this revision. dim added reviewers: andrew, bapt, ian, theraven. dim added a subscriber: freebsd-arm. REVISION SUMMARY In the thread starting here: https://lists.freebsd.org/pipermail/freebsd-arm/2015-January/009998.html Daisuke Aoyama describes how libcxxrt does not properly handle parsing an exception table on an RPi (e.g. arm). This is because parts of dwarf_eh.h read 16 bit, 32 bit and 64 bit values directly from possibly unaligned addresses. He posted a workaround patch here: https://lists.freebsd.org/pipermail/freebsd-arm/2015-January/010014.html but it is incomplete, as it does not handle the 16 and 64 bit cases, nor does it work for other architectures with strict alignment. Here is another attempt, where I put the reading of different sized objects into their own static inline functions, and try to handle alignment and endianness properly. This seems to work on i386 and amd64, but I can't test arm and/or mips myself. Also, I now assume the __NO_STRICT_ALIGNMENT and __LITTLE_ENDIAN__ macros are available, and works as expected. That shoudl probably be refined before we send this upstream. Unfortunately these are both non-standard, and there seems to be no reliable way of determining them portably. TEST PLAN Build and install on various arches, with and without strict alignment, and with little and big endian ordering. BRANCH /head REVISION DETAIL https://reviews.freebsd.org/D1967 AFFECTED FILES contrib/libcxxrt/dwarf_eh.h To: dim, andrew, bapt, ian, theraven Cc: freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Wed Feb 25 22:29:41 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5CA517AA for ; Wed, 25 Feb 2015 22:29:41 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 3AA1536E for ; Wed, 25 Feb 2015 22:29:41 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1PMTe2C098221 for ; Wed, 25 Feb 2015 22:29:40 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1PMTesp098218; Wed, 25 Feb 2015 22:29:40 GMT (envelope-from root) Date: Wed, 25 Feb 2015 22:29:40 +0000 To: freebsd-arm@freebsd.org From: "emaste (Ed Maste)" Subject: [Differential] [Changed Subscribers] D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment Message-ID: <56dca7a562a0b81bc6c2fee52cc21a77@localhost.localdomain> X-Priority: 3 Thread-Topic: D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OWI2ZDlhM2EzZjk0NzYzNDhlNmU2YmYxZmFmIFTuTNQ= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 22:29:41 -0000 emaste added a subscriber: emaste. REVISION DETAIL https://reviews.freebsd.org/D1967 To: dim, andrew, bapt, ian, theraven Cc: emaste, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Wed Feb 25 22:45:12 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AFF00ED5 for ; Wed, 25 Feb 2015 22:45:12 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 8CDD37D1 for ; Wed, 25 Feb 2015 22:45:12 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1PMjCh6016079 for ; Wed, 25 Feb 2015 22:45:12 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1PMjCo6016078; Wed, 25 Feb 2015 22:45:12 GMT (envelope-from root) Date: Wed, 25 Feb 2015 22:45:12 +0000 To: freebsd-arm@freebsd.org From: "imp (Warner Losh)" Subject: [Differential] [Changed Subscribers] D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment Message-ID: X-Priority: 3 Thread-Topic: D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OWI2ZDlhM2EzZjk0NzYzNDhlNmU2YmYxZmFmIFTuUHg= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 22:45:12 -0000 imp added a subscriber: imp. imp added a comment. I'd just do a memcpy version of the read routines. All this #ifdef junk is insane. It will do the right thing every time. INLINE COMMENTS contrib/libcxxrt/dwarf_eh.h:154-163 uint16_t res; memcpy(&res, reinterpret_cast(*data), sizeof(uint16_)t); would be better. contrib/libcxxrt/dwarf_eh.h:176-188 see above for less insane code. contrib/libcxxrt/dwarf_eh.h:200-221 see above for less insane code. REVISION DETAIL https://reviews.freebsd.org/D1967 To: dim, andrew, bapt, ian, theraven Cc: imp, emaste, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Wed Feb 25 22:46:44 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 687B5F8A for ; Wed, 25 Feb 2015 22:46:44 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 45E40810 for ; Wed, 25 Feb 2015 22:46:44 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1PMkiUs017603 for ; Wed, 25 Feb 2015 22:46:44 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1PMki8W017602; Wed, 25 Feb 2015 22:46:44 GMT (envelope-from root) Date: Wed, 25 Feb 2015 22:46:43 +0000 To: freebsd-arm@freebsd.org From: "imp (Warner Losh)" Subject: [Differential] [Commented On] D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment Message-ID: <0c6fe05881e13bab9c781c5c2b35faa4@localhost.localdomain> X-Priority: 3 Thread-Topic: D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OWI2ZDlhM2EzZjk0NzYzNDhlNmU2YmYxZmFmIFTuUNM= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 22:46:44 -0000 imp added a comment. ah, forgot that __LITTLE_ENDIAN__ isn't universally available (or didn't used to be, that may have changed). INLINE COMMENTS contrib/libcxxrt/dwarf_eh.h:157 Also, __LITTLE_ENDIAN__ isn't universally available (or hasn't been in the past). But there's no need since a memcpy version doesn't need it or NO_STRICT_ALIGNMENT. REVISION DETAIL https://reviews.freebsd.org/D1967 To: dim, andrew, bapt, ian, theraven Cc: imp, emaste, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Wed Feb 25 22:50:33 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EEF41FF9 for ; Wed, 25 Feb 2015 22:50:33 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 CC34982D for ; Wed, 25 Feb 2015 22:50:33 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1PMoXr8021769 for ; Wed, 25 Feb 2015 22:50:33 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1PMoXs1021768; Wed, 25 Feb 2015 22:50:33 GMT (envelope-from root) Date: Wed, 25 Feb 2015 22:50:33 +0000 To: freebsd-arm@freebsd.org From: "dim (Dimitry Andric)" Subject: [Differential] [Commented On] D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment Message-ID: X-Priority: 3 Thread-Topic: D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OWI2ZDlhM2EzZjk0NzYzNDhlNmU2YmYxZmFmIFTuUbk= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 22:50:34 -0000 dim added inline comments. INLINE COMMENTS contrib/libcxxrt/dwarf_eh.h:157 But memcpy doesn't handle endianness? Or are we assuming the data has been written in the same endianness as the machine is using? REVISION DETAIL https://reviews.freebsd.org/D1967 To: dim, andrew, bapt, ian, theraven Cc: imp, emaste, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Wed Feb 25 22:53:26 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AE269244 for ; Wed, 25 Feb 2015 22:53:26 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 8B5158E8 for ; Wed, 25 Feb 2015 22:53:26 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1PMrQTK026419 for ; Wed, 25 Feb 2015 22:53:26 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1PMrQf6026418; Wed, 25 Feb 2015 22:53:26 GMT (envelope-from root) Date: Wed, 25 Feb 2015 22:53:26 +0000 To: freebsd-arm@freebsd.org From: "imp (Warner Losh)" Subject: [Differential] [Commented On] D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment Message-ID: <5b93831e00dd3de4df17d8b9dd792b80@localhost.localdomain> X-Priority: 3 Thread-Topic: D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OWI2ZDlhM2EzZjk0NzYzNDhlNmU2YmYxZmFmIFTuUmY= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 22:53:26 -0000 imp added a comment. It doesn't matter because the code already assumed endianness with its preprocessor __LITTLE_ENDIAN__. The prior code assumed native endinaness as well, since it just did the cast. memcpy is exactly what you want to replace the old code with. REVISION DETAIL https://reviews.freebsd.org/D1967 To: dim, andrew, bapt, ian, theraven Cc: imp, emaste, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Wed Feb 25 23:07:02 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 62FA4362 for ; Wed, 25 Feb 2015 23:07:02 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 3F88B9F1 for ; Wed, 25 Feb 2015 23:07:02 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1PN72Qf039757 for ; Wed, 25 Feb 2015 23:07:02 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1PN71NV039756; Wed, 25 Feb 2015 23:07:01 GMT (envelope-from root) Date: Wed, 25 Feb 2015 23:07:01 +0000 To: freebsd-arm@freebsd.org From: "dim (Dimitry Andric)" Subject: [Differential] [Updated, 8 lines] D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment Message-ID: <66ea620309bdbb69e7bb1dc9612fb043@localhost.localdomain> X-Priority: 3 Thread-Topic: D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OWI2ZDlhM2EzZjk0NzYzNDhlNmU2YmYxZmFmIFTuVZU= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 23:07:02 -0000 dim updated this revision to Diff 3981. dim added a comment. Replacing the assignments with memcpy. This is indeed much more concise, thanks Warner. :-) CHANGES SINCE LAST UPDATE https://reviews.freebsd.org/D1967?vs=3978&id=3981 BRANCH /head REVISION DETAIL https://reviews.freebsd.org/D1967 AFFECTED FILES contrib/libcxxrt/dwarf_eh.h To: dim, andrew, bapt, ian, theraven Cc: imp, emaste, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Wed Feb 25 23:10:55 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D4C34544 for ; Wed, 25 Feb 2015 23:10:55 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 B1673AB3 for ; Wed, 25 Feb 2015 23:10:55 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1PNAtlA043584 for ; Wed, 25 Feb 2015 23:10:55 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1PNAtW8043583; Wed, 25 Feb 2015 23:10:55 GMT (envelope-from root) Date: Wed, 25 Feb 2015 23:10:55 +0000 To: freebsd-arm@freebsd.org From: "dim (Dimitry Andric)" Subject: [Differential] [Updated, 18 lines] D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment Message-ID: <763dc55b970579f2e25b1d511c57e81b@localhost.localdomain> X-Priority: 3 Thread-Topic: D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OWI2ZDlhM2EzZjk0NzYzNDhlNmU2YmYxZmFmIFTuVn8= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 23:10:55 -0000 dim updated this revision to Diff 3982. dim added a comment. Simplify even more, by getting rid of the unnecessary 'v' variable. CHANGES SINCE LAST UPDATE https://reviews.freebsd.org/D1967?vs=3981&id=3982 BRANCH /head REVISION DETAIL https://reviews.freebsd.org/D1967 AFFECTED FILES contrib/libcxxrt/dwarf_eh.h To: dim, andrew, bapt, ian, theraven Cc: imp, emaste, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Wed Feb 25 23:15:08 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BCD3A5E7 for ; Wed, 25 Feb 2015 23:15:08 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 991C7AE8 for ; Wed, 25 Feb 2015 23:15:08 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1PNF83t048498 for ; Wed, 25 Feb 2015 23:15:08 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1PNF8LJ048497; Wed, 25 Feb 2015 23:15:08 GMT (envelope-from root) Date: Wed, 25 Feb 2015 23:15:08 +0000 To: freebsd-arm@freebsd.org From: "imp (Warner Losh)" Subject: [Differential] [Accepted] D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment Message-ID: <1327d1d2fe4a56861ed84a75fd57118c@localhost.localdomain> X-Priority: 3 Thread-Topic: D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OWI2ZDlhM2EzZjk0NzYzNDhlNmU2YmYxZmFmIFTuV3w= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 23:15:08 -0000 imp accepted this revision. imp added a reviewer: imp. This revision is now accepted and ready to land. BRANCH /head REVISION DETAIL https://reviews.freebsd.org/D1967 To: dim, andrew, bapt, ian, theraven, imp Cc: imp, emaste, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Thu Feb 26 01:03:10 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8BFB88EC for ; Thu, 26 Feb 2015 01:03:10 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 68456801 for ; Thu, 26 Feb 2015 01:03:10 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1Q13App061224 for ; Thu, 26 Feb 2015 01:03:10 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1Q13A0f061221; Thu, 26 Feb 2015 01:03:10 GMT (envelope-from root) Date: Thu, 26 Feb 2015 01:03:10 +0000 To: freebsd-arm@freebsd.org From: "bapt (Baptiste Daroussin)" Subject: [Differential] [Accepted] D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment Message-ID: <371c44a49be0318c86037fb013f90681@localhost.localdomain> X-Priority: 3 Thread-Topic: D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OWI2ZDlhM2EzZjk0NzYzNDhlNmU2YmYxZmFmIFTucM4= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2015 01:03:10 -0000 bapt accepted this revision. bapt added a comment. tested successfully with kyua which was triggering the bug BRANCH /head REVISION DETAIL https://reviews.freebsd.org/D1967 To: dim, andrew, ian, theraven, imp, bapt Cc: imp, emaste, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Thu Feb 26 04:45:35 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8550D6F5 for ; Thu, 26 Feb 2015 04:45:35 +0000 (UTC) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 159406E7 for ; Thu, 26 Feb 2015 04:45:35 +0000 (UTC) Received: by wgha1 with SMTP id a1so7663965wgh.12 for ; Wed, 25 Feb 2015 20:45:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kr8IVCFpu0V4bT9GNB2fRjbcbPQ9Nwf/LaZ1ROOoMQA=; b=RdqZgbrPo7nRsQ4ApeaumfED6h4ZsAuzkgrk8vDi9IilHeYMEbcKdrLrNVtuH2phi/ RULfbFHBJeTWi5tFuWu7qz7QWxHoygw8lj6SwdW+vEEUScr/u6UiBJEm/2PwdSAxpfup 8zf8DvE5i8IB67hG0MK2EqtHXdom+g0PIcU0YKTdHEZGktiUGNA2e/SNCZUnxEtYZ135 aI7dlh5Xi7TEsbS2zpJe3VoKKYcCP6HX8WOTfEZVpoB6pBTmHm+1R7Z4tnPZvhApe1Uc 9PGqnJCdRNtSRyXd4yEc3Uv7YHVXQpOvNnVpmwtOjf0AeFZt5ePHNZFoSffdKMglU83t MoyQ== MIME-Version: 1.0 X-Received: by 10.180.87.103 with SMTP id w7mr12297755wiz.48.1424925933564; Wed, 25 Feb 2015 20:45:33 -0800 (PST) Received: by 10.180.195.99 with HTTP; Wed, 25 Feb 2015 20:45:33 -0800 (PST) In-Reply-To: <20150225144201.48124440@ivory.wynn.com> References: <20150223173731.4902457d@ivory.wynn.com> <54EBC6AD.30707@ambient-md.com> <20150223201030.3a3d0a32@ivory.wynn.com> <20150225144201.48124440@ivory.wynn.com> Date: Thu, 26 Feb 2015 01:45:33 -0300 Message-ID: Subject: Re: kernel build fails From: Luiz Otavio O Souza To: Brett Wynkoop Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" , Peter Garshtja X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2015 04:45:35 -0000 On 25 February 2015 at 16:42, Brett Wynkoop wrote: > On Wed, 25 Feb 2015 12:37:50 -0300 > Luiz Otavio O Souza wrote: > > >> Brett, >> >> Things have evolved since 10.0 and the defaults used by crochet don't >> work anymore. >> >> Please remove the /etc/make.conf file. >> >> The CPUTYPE in that file is wrong for Beaglebones (ARMv7): >> https://github.com/kientzle/crochet-freebsd/blob/master/board/BeagleBone/overlay/etc/make.conf >> >> Luiz > > > So are you saying just remove make.conf, or replace it with the one > from the URL above? > > -Brett Just remove the file. The URL was to give a hint about the crochet issue to other people involved in this thread. Luiz From owner-freebsd-arm@FreeBSD.ORG Thu Feb 26 06:08:08 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BD164F54 for ; Thu, 26 Feb 2015 06:08:08 +0000 (UTC) Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) (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 89614DD2 for ; Thu, 26 Feb 2015 06:08:08 +0000 (UTC) Received: by padet14 with SMTP id et14so11335396pad.11 for ; Wed, 25 Feb 2015 22:08:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=97Co+VfagWWlbm/37bSHtNwgtvAox+EABOHjzcaoVjY=; b=KRRHWhH4KDGO6O+o1DJI20Vyeb2D3MjOXSMQRRfv0hm2x59DL1BMTYrGzg6j62ArdK 7VRN9tutY3AWgDtPM2pX8x87emjy0M8SZMqq1Oo02dt4xlWEkwKHnmPNysCBvJa+ShDl hKNctGytSFM0NDX1HEinXU7bmZN270I6Kz9Qpe57spgCGkO5F3DCwFua4iKz48LUQgF5 xP5WeBJpfZ0GYaH5J9L9CrTvwHrJZTaxOrS1FsGexQgoRU1sIH0EyyxjGS9Yght58nPe YfkblGCE5dJPh67ZmZRwjXHMVbSTK5nk60Mnlhb/HlTjhC1dlkjTX99DFcPR/72heedh nemQ== X-Gm-Message-State: ALoCoQnWBx9pcdZQhwn5A30N/yj8L1brEVDu8vyT2wwBj62404c5ERQFeZmOpyKIrbANX60+CAC+ X-Received: by 10.68.224.71 with SMTP id ra7mr11989850pbc.140.1424930882477; Wed, 25 Feb 2015 22:08:02 -0800 (PST) Received: from [192.168.1.100] (c-24-6-220-224.hsd1.ca.comcast.net. [24.6.220.224]) by mx.google.com with ESMTPSA id bs2sm27143134pbd.74.2015.02.25.22.07.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 25 Feb 2015 22:08:00 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: kernel build fails From: Tim Kientzle In-Reply-To: Date: Wed, 25 Feb 2015 22:07:58 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <8534AFAC-4DB3-4FA2-8F9B-203994E6369E@kientzle.com> References: <20150223173731.4902457d@ivory.wynn.com> <54EBC6AD.30707@ambient-md.com> <20150223201030.3a3d0a32@ivory.wynn.com> <20150225144201.48124440@ivory.wynn.com> To: Luiz Otavio O Souza X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-arm@freebsd.org" , Peter Garshtja X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2015 06:08:08 -0000 > On Feb 25, 2015, at 8:45 PM, Luiz Otavio O Souza = wrote: >=20 > On 25 February 2015 at 16:42, Brett Wynkoop wrote: >> On Wed, 25 Feb 2015 12:37:50 -0300 >> Luiz Otavio O Souza wrote: >>=20 >>=20 >>> Brett, >>>=20 >>> Things have evolved since 10.0 and the defaults used by crochet = don't >>> work anymore. >>>=20 >>> Please remove the /etc/make.conf file. >>>=20 >>> The CPUTYPE in that file is wrong for Beaglebones (ARMv7): >>> = https://github.com/kientzle/crochet-freebsd/blob/master/board/BeagleBone/o= verlay/etc/make.conf >>>=20 >>> Luiz >>=20 >>=20 >> So are you saying just remove make.conf, or replace it with the one >> from the URL above? >>=20 >> -Brett >=20 > Just remove the file. The URL was to give a hint about the crochet > issue to other people involved in this thread. Thanks. I=E2=80=99ve removed it from Crochet. I=E2=80=99m glad that = finally got fixed. Tim From owner-freebsd-arm@FreeBSD.ORG Thu Feb 26 07:20:56 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A06DEB1D for ; Thu, 26 Feb 2015 07:20:56 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (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 7CA456C4 for ; Thu, 26 Feb 2015 07:20:56 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1Q7Kusb058636 for ; Thu, 26 Feb 2015 07:20:56 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1Q7Kuvf058635; Thu, 26 Feb 2015 07:20:56 GMT (envelope-from root) Date: Thu, 26 Feb 2015 07:20:56 +0000 To: freebsd-arm@freebsd.org From: "dim (Dimitry Andric)" Subject: [Differential] [Closed] D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment Message-ID: X-Priority: 3 Thread-Topic: D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OWI2ZDlhM2EzZjk0NzYzNDhlNmU2YmYxZmFmIFTuyVg= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2015 07:20:56 -0000 dim closed this revision. dim updated this revision to Diff 3987. dim added a comment. Closed by commit rS279307 (authored by @dim). REVISION DETAIL https://reviews.freebsd.org/D1967 AFFECTED FILES head/contrib/libcxxrt/dwarf_eh.h To: dim, andrew, ian, theraven, imp, bapt Cc: imp, emaste, freebsd-arm From owner-freebsd-arm@FreeBSD.ORG Thu Feb 26 10:02:25 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7AD4EC6E for ; Thu, 26 Feb 2015 10:02:25 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (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 0A143AEB for ; Thu, 26 Feb 2015 10:02:24 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1QA2Ehe086994; Thu, 26 Feb 2015 05:02:15 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Thu, 26 Feb 2015 05:02:14 -0500 From: Brett Wynkoop To: Tim Kientzle Subject: Re: kernel build fails Message-ID: <20150226050214.6eaa1ad2@ivory.wynn.com> In-Reply-To: <8534AFAC-4DB3-4FA2-8F9B-203994E6369E@kientzle.com> References: <20150223173731.4902457d@ivory.wynn.com> <54EBC6AD.30707@ambient-md.com> <20150223201030.3a3d0a32@ivory.wynn.com> <20150225144201.48124440@ivory.wynn.com> <8534AFAC-4DB3-4FA2-8F9B-203994E6369E@kientzle.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Peter Garshtja , "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2015 10:02:25 -0000 On Wed, 25 Feb 2015 22:07:58 -0800 Tim Kientzle wrote: >=20 > > On Feb 25, 2015, at 8:45 PM, Luiz Otavio O Souza > > wrote: > >=20 > > On 25 February 2015 at 16:42, Brett Wynkoop wrote: > >> On Wed, 25 Feb 2015 12:37:50 -0300 > >> Luiz Otavio O Souza wrote: > >>=20 > >>=20 > >>> Brett, > >>>=20 > >>> Things have evolved since 10.0 and the defaults used by crochet > >>> don't work anymore. > >>>=20 > >>> Please remove the /etc/make.conf file. > > Thanks. I=E2=80=99ve removed it from Crochet. I=E2=80=99m glad that fin= ally got > fixed. >=20 > Tim >=20 >=20 Thanks everyone! I just completed a native build of the Kernel on the BB. As always I am here to break things since I am not as good a coder as many of you my best contribution to the project is to do odd things that will break things! [wynkoop@beaglebone ~]$ uname -a FreeBSD beaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r279219: Thu Feb 26 04:14:55 EST 2015 wynkoop@beaglebone:/usr/src/sys/arm/compile/BEAGLEBONE arm [wynkoop@beaglebone ~]$=20 As you can see it worked! Now to build world and see if that all works! If that brings joy I suppose it will be time to build a new image for my Pi! -Brett --=20 wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 929-272-0000 Gun Control: The theory that a woman found dead in an alley, raped and strangled with her own pantyhose, is somehow morally superior to a woman explaining to police how her attacker got that fatal bullet wound From owner-freebsd-arm@FreeBSD.ORG Thu Feb 26 17:36:47 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21839E60 for ; Thu, 26 Feb 2015 17:36:47 +0000 (UTC) Received: from feynman.konjz.org (feynman.konjz.org [64.147.119.39]) (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 C45908F4 for ; Thu, 26 Feb 2015 17:36:46 +0000 (UTC) Received: from 127.0.0.1 (dreamatorium.badexample.net [89.31.57.5]) (authenticated bits=0) by feynman.konjz.org (8.14.7/8.14.4) with ESMTP id t1QHhBbg038342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 26 Feb 2015 12:43:14 -0500 (EST) (envelope-from george@ceetonetechnology.com) Message-ID: <54EF59A1.9020101@ceetonetechnology.com> Date: Thu, 26 Feb 2015 12:36:33 -0500 From: George Rosamond MIME-Version: 1.0 To: "freebsd-arm@freebsd.org" Subject: Crochet broken build on -current? Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2015 17:36:47 -0000 Anyone also experience Crochet not building with -current the past two days? Building FreeBSD version: 11.0 Unknown modifier 'U' "/data/fbsd-head/share/mk/src.sys.mk", line 20: Malformed conditional (${MAKESYSPATH:Uno:M*.../*} != "") Unknown modifier 't' Unclosed substitution for MAKESYSPATH (, missing) The last commit on that file was r279247 on 2/24, which seems to be the issue. g From owner-freebsd-arm@FreeBSD.ORG Thu Feb 26 18:26:28 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 75C1E883 for ; Thu, 26 Feb 2015 18:26:28 +0000 (UTC) Received: from st11p02mm-asmtp002.mac.com (st11p02mm-asmtp002.mac.com [17.172.220.237]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43CECF68 for ; Thu, 26 Feb 2015 18:26:27 +0000 (UTC) Received: from st11p02mm-spool001.mac.com ([17.172.220.246]) by st11p02mm-asmtp002.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTP id <0NKE00JKP5VUTI50@st11p02mm-asmtp002.mac.com> for freebsd-arm@freebsd.org; Thu, 26 Feb 2015 18:26:20 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-02-26_07:2015-02-26,2015-02-26,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1502260184 MIME-version: 1.0 Received: from localhost ([17.172.220.163]) by st11p02mm-spool001.mac.com (Oracle Communications Messaging Server 7.0.5.33.0 64bit (built Aug 27 2014)) with ESMTP id <0NKE0019K5VVMY20@st11p02mm-spool001.mac.com>; Thu, 26 Feb 2015 18:26:19 +0000 (GMT) To: Chris Telting From: Rui Paulo Subject: Re: Beaglebone Implemented Features so far? Date: Thu, 26 Feb 2015 18:26:19 +0000 (GMT) X-Mailer: iCloud MailClient15A99 MailServer15B76.18307 X-Originating-IP: [12.218.212.178] Message-id: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2015 18:26:28 -0000 On Feb 24, 2015, at 09:18 AM, Chris Telting w= rote:=0APRU's. Libpru is shaping up. PASM for assembly is in ports.=0A=0Al= ibpru and pructl are both in ports already, but they are old. =C2=A0I hope= to do a new release this weekend and I'll update ports.= From owner-freebsd-arm@FreeBSD.ORG Fri Feb 27 17:35:59 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 428B4179 for ; Fri, 27 Feb 2015 17:35:59 +0000 (UTC) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com [209.85.217.178]) (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 BD33DB9B for ; Fri, 27 Feb 2015 17:35:58 +0000 (UTC) Received: by lbiw7 with SMTP id w7so18757949lbi.10 for ; Fri, 27 Feb 2015 09:35:50 -0800 (PST) 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:date :message-id:subject:from:to:cc:content-type; bh=msxHsUkQuxlwQIP9ASGrv6IYBpA0MDGkOgBz2vjrcDE=; b=cCqvB+plGY8PsY9tiZ7B5wkDsunB20x/b2gda8qdyOCDAInRH4Tk0pJI8XGZNi7pNk MvBL4baGFnFQh1kF0tldW3tPV0I7Y5GmoaipVgBEjW2Q5eJCvqeVmOAVEezsDZgMm3B8 tRtFAdlM/G/vN3wiqCjDTqi3Irr3IrM/CeNaBoRtIegnCwbtUpiTxz8zsnsWEvx9qCpU cX9rajbtjHMD2+nfPJSUv2inTfsZsHOcy7zLpQMCTAWNAbiyOJoHms/6uK3eo9xdiTqj XrZgDc6cPqvsaOjsrk2YRguisuIc0bXNeajlsZ8Wrz9dMjJLkuVzHYGIEKVaTGjeN4Jh ZbCw== X-Gm-Message-State: ALoCoQnIcsHsrJRWA6Yzs5oiiq/giwTVnrvypqnOqQEMUo+2gJyJLibSdoEEZIc6TUEOaWrMCt0Z MIME-Version: 1.0 X-Received: by 10.112.126.98 with SMTP id mx2mr13607219lbb.52.1425058550219; Fri, 27 Feb 2015 09:35:50 -0800 (PST) Received: by 10.112.164.102 with HTTP; Fri, 27 Feb 2015 09:35:50 -0800 (PST) X-Originating-IP: [82.28.219.228] In-Reply-To: References: Date: Fri, 27 Feb 2015 17:35:50 +0000 Message-ID: Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? From: Tom Storey To: beastie@nawi.is Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 17:35:59 -0000 As I understand it (please correct me if Im wrong!): B+ is ok because it uses the same SoC as previous models (or similar) - ARMv6 based. 2 uses an ARMv7 based SoC and as yet doesnt work, but a fix is in the works. I bought a RPi 2 recently (my first one) and have been waiting for the fix to come out so I can start using it. :-) On 25 February 2015 at 16:59, wrote: > Hello ! > > Could it be possible, that the existing binary snapshots will work on the > new Raspberry Pi 2 ? > > At the moment I have ordered a version B+ and be interested whether X also > could be configured using the above listed images (the link on the info > page refers to another image) ? > > Is it possible to run the forked daapd server > (https://github.com/jasonmc/forked-daapd) ? I don't know whether it is in > the ports or whether there is another solution to stream music over WiFi > to existing Apple iDevices (DRM is no problem) ? > > Thanks for your answers. > > > C. M. > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@FreeBSD.ORG Fri Feb 27 17:43:13 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9F16728C for ; Fri, 27 Feb 2015 17:43:13 +0000 (UTC) Received: from mail-03.1984.is (mail-03.1984.is [93.95.224.70]) (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 59DB0C8E for ; Fri, 27 Feb 2015 17:43:12 +0000 (UTC) Received: from 93-95-226-32.1984.is ([93.95.226.32] helo=ikornapostur.1984.is) by mail-03.1984.is with esmtpa (Exim 4.80) (envelope-from ) id 1YROwI-0005Fm-Oo; Fri, 27 Feb 2015 17:43:02 +0000 Received: from 212.95.7.156 (SquirrelMail authenticated user beastie@nawi.is) by ikornapostur.1984.is with HTTP; Fri, 27 Feb 2015 17:43:12 -0000 Message-ID: <6ff566ec17fc2b0d61635d8886261d5a.squirrel@ikornapostur.1984.is> In-Reply-To: References: Date: Fri, 27 Feb 2015 17:43:12 -0000 Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? From: beastie@nawi.is To: "Tom Storey" User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 17:43:13 -0000 I haven't tried the image on my B+ (my first since yesterday) but heared also, that someone is working on a new image for the new 2. I ordered a new 2 and hope, that we get a working X ... > As I understand it (please correct me if Im wrong!): > > B+ is ok because it uses the same SoC as previous models (or similar) - > ARMv6 based. > > 2 uses an ARMv7 based SoC and as yet doesnt work, but a fix is in the > works. > > I bought a RPi 2 recently (my first one) and have been waiting for the fix > to come out so I can start using it. :-) > > On 25 February 2015 at 16:59, wrote: > >> Hello ! >> >> Could it be possible, that the existing binary snapshots will work on >> the >> new Raspberry Pi 2 ? >> >> At the moment I have ordered a version B+ and be interested whether X >> also >> could be configured using the above listed images (the link on the info >> page refers to another image) ? >> >> Is it possible to run the forked daapd server >> (https://github.com/jasonmc/forked-daapd) ? I don't know whether it is >> in >> the ports or whether there is another solution to stream music over WiFi >> to existing Apple iDevices (DRM is no problem) ? >> >> Thanks for your answers. >> >> >> C. M. >> >> >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >> > From owner-freebsd-arm@FreeBSD.ORG Fri Feb 27 19:26:26 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 32176DE5 for ; Fri, 27 Feb 2015 19:26:26 +0000 (UTC) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001: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 EA9EBCE1 for ; Fri, 27 Feb 2015 19:26:25 +0000 (UTC) Received: by igbhn18 with SMTP id hn18so3044751igb.2 for ; Fri, 27 Feb 2015 11:26:25 -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:content-type; bh=lOxnOvuN/601o641DyV5W6jnAi8d/kqC7uikUt8KGm4=; b=v+9ZliYKFpugxKoLuasCluEFBUTeTURbxYJVvv7n0QvvC16iLT7Y8ckj1rZSIESQc5 rNd2Drs2DFswKej7PLZBx44RUHCkRGVYSJvs/Tq+mgKE3b8gr1DBKvYqjSBHWc236Rd5 3QWQ5iZ9qMCk12Ls7Zr7WqM/Qkw4DwLXZyuL+u2XnARrL9+yy0bLJP9i4d4ai1TYVPhB b00Bnv4oWfw7xs52/7vfRlu9OdXOAuxV5csESCJEF4+Gr1tKhnlvGx0/VmyLyRIXmojn CSi3KfN3goKQDzXcNA7ooNc4n3LMnbKhx4G4WnCxSX7vMLHTxug52RDnXve5TYu/VvOJ MwOw== X-Received: by 10.107.156.19 with SMTP id f19mr20908669ioe.45.1425065185344; Fri, 27 Feb 2015 11:26:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.227.233 with HTTP; Fri, 27 Feb 2015 11:25:55 -0800 (PST) In-Reply-To: <6ff566ec17fc2b0d61635d8886261d5a.squirrel@ikornapostur.1984.is> References: <6ff566ec17fc2b0d61635d8886261d5a.squirrel@ikornapostur.1984.is> From: Matthias Gamsjager Date: Fri, 27 Feb 2015 20:25:55 +0100 Message-ID: Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? To: beastie@nawi.is Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 19:26:26 -0000 I am building an image right now. AFAIK only the updated u-boot is necessary because armv6 will run on a v7 chip. From owner-freebsd-arm@FreeBSD.ORG Fri Feb 27 19:48:20 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 884E4304 for ; Fri, 27 Feb 2015 19:48:20 +0000 (UTC) Received: from mail-03.1984.is (mail-03.1984.is [93.95.224.70]) (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 40A54EF8 for ; Fri, 27 Feb 2015 19:48:19 +0000 (UTC) Received: from 93-95-226-32.1984.is ([93.95.226.32] helo=ikornapostur.1984.is) by mail-03.1984.is with esmtpa (Exim 4.80) (envelope-from ) id 1YRQtR-0004DY-L4; Fri, 27 Feb 2015 19:48:13 +0000 Received: from 212.95.7.156 (SquirrelMail authenticated user beastie@nawi.is) by ikornapostur.1984.is with HTTP; Fri, 27 Feb 2015 19:48:23 -0000 Message-ID: <028290c7462d8fcf63b07bfdbbd08897.squirrel@ikornapostur.1984.is> In-Reply-To: References: <6ff566ec17fc2b0d61635d8886261d5a.squirrel@ikornapostur.1984.is> Date: Fri, 27 Feb 2015 19:48:23 -0000 Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? From: beastie@nawi.is To: "Matthias Gamsjager" User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 19:48:20 -0000 > I am building an image right now. AFAIK only the updated u-boot is > necessary because armv6 will run on a v7 chip. > Great to hear. I have no experience with booth but is X, the ports collection and sound possible ? From owner-freebsd-arm@FreeBSD.ORG Fri Feb 27 21:13:42 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 09A1B1D0 for ; Fri, 27 Feb 2015 21:13:42 +0000 (UTC) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (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 C0E3CAAF for ; Fri, 27 Feb 2015 21:13:41 +0000 (UTC) Received: by iecrl12 with SMTP id rl12so34207072iec.4 for ; Fri, 27 Feb 2015 13:13:41 -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:content-type; bh=HD/BZL1wIorM52Q1XiK6Q3kWmWlH9iPrSerqrTCPrT8=; b=wWhWJtrcm/qCZpiU4BqwwzAxKq7sepx2Trhb5nMuRmKxIrDdplWGeDwVq7zdzTsEpM rZaFz7ZYjCvLhN/HDiEW7VeJINce7ahYMJO/q4whzVlCrBP3q5R1vvAJ1pR2bw+5wajv OD8IY+AxA7JUqBU30POqSn2lMslwS2vD/JAZYpF/HjUJFNwx2j7kNJLfOwSuVSTO9NZG paPN8FtF+1PfINu2JkkGnMFHLfJgHA0L8rkSEz6OgaItWa8VE9s8Lj5yJLHJH6ZcQD2u n2kHxaDsYoqgENng5sV5mB8IXrvNzDkwAT9TcDW9y5m2GHRGpLutuGudWlRgmu+x5psG ab4g== X-Received: by 10.107.162.10 with SMTP id l10mr21682632ioe.20.1425071621256; Fri, 27 Feb 2015 13:13:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.227.233 with HTTP; Fri, 27 Feb 2015 13:13:10 -0800 (PST) In-Reply-To: <028290c7462d8fcf63b07bfdbbd08897.squirrel@ikornapostur.1984.is> References: <6ff566ec17fc2b0d61635d8886261d5a.squirrel@ikornapostur.1984.is> <028290c7462d8fcf63b07bfdbbd08897.squirrel@ikornapostur.1984.is> From: Matthias Gamsjager Date: Fri, 27 Feb 2015 22:13:10 +0100 Message-ID: Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? To: beastie@nawi.is Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 21:13:42 -0000 > Great to hear. I have no experience with booth but is X, the ports > collection and sound possible ? No idea about X and sound but ports should work From owner-freebsd-arm@FreeBSD.ORG Fri Feb 27 21:36:07 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 79A739C5 for ; Fri, 27 Feb 2015 21:36:07 +0000 (UTC) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) (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 3C2F9D4D for ; Fri, 27 Feb 2015 21:36:07 +0000 (UTC) Received: by iecrp18 with SMTP id rp18so34431515iec.1 for ; Fri, 27 Feb 2015 13:36:06 -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:content-type; bh=lpGlS4+FxdtA3Rav9/82cqS17mpoALsUgIZvHq3uj0Q=; b=abzk//AAm62lvSw91+Qy6jJBNQvqmifNgTP2BIn+eAcAqxD/UdAOhu1FtraXK26COW cP9sV1cP9iZnxd8KCchusf1fTIVBPgbHsGGYDtK/90bn/gYrbsdFi12sKKBnxZxBmQWw xkqXjWnUY1OwwO9YxQ/X7PPd1GaxluLQOnkot282FSJzrFRXMBiLCHu4E47BFEP5a8DG hendYRP2I3UJIvyF7z1FlUFc/M95In9R0SWkFm3I4duoP7li1FBLuReAATdblOskBQFG UTG9eBCYe/XyevT1OsmiypIKbI28Y+WjR60l94GNKN02r0eCl+dbVArY38S0rDHjXr3a MG6Q== X-Received: by 10.107.26.80 with SMTP id a77mr21469421ioa.78.1425072966536; Fri, 27 Feb 2015 13:36:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.227.233 with HTTP; Fri, 27 Feb 2015 13:35:36 -0800 (PST) In-Reply-To: References: <6ff566ec17fc2b0d61635d8886261d5a.squirrel@ikornapostur.1984.is> <028290c7462d8fcf63b07bfdbbd08897.squirrel@ikornapostur.1984.is> From: Matthias Gamsjager Date: Fri, 27 Feb 2015 22:35:36 +0100 Message-ID: Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? To: beastie@nawi.is Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 21:36:07 -0000 Image does boot on an old model B but not on the new rev.2. Guess there needs to be some work done after all From owner-freebsd-arm@FreeBSD.ORG Fri Feb 27 21:40:16 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1A99BB12 for ; Fri, 27 Feb 2015 21:40:16 +0000 (UTC) Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) (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 D6000D80 for ; Fri, 27 Feb 2015 21:40:15 +0000 (UTC) Received: by pablj1 with SMTP id lj1so23328488pab.9 for ; Fri, 27 Feb 2015 13:40:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=vT/MkdLqmOD6ZcpbYE7V9IAwGGI2b2Oeg/RsZWm9038=; b=Iguz0qkmij9tFfcHSNd8u8bqh3woAzXG8uwq5DzQXPKsKxpiwayk4L7voRLh/+Xqqp +qg353OqYp8FuY43QJFKJLQm8BWKPGLiCdsC4OrSYRQQWSHXrOEshDC/482fpBQaSAmZ OsRInL0k5YJmB4rPEFnqQUvKdZo5/GNamfbTnPTGW+9jvGRu7/oL6XgyDtI5G4HpsrPM BqZbNl0wZnGLKmUmFFu4XLqK6R5lQALULa0qj449zkRPU4gjMUnMf65WOSW59Ko0pOR0 e/ivCEs+s63Fn9evpwaABK9l3beDm+VhAk/YjMUpGXgwsxejsp4z53FxxUghMFAw/E+4 zsaw== X-Gm-Message-State: ALoCoQkVKuI0nhBxVkUaMa5dvzYpgflk6iWK5SHu0MqHI4nv44QnK5yCyBOKRAHIuIiblluF2yqc X-Received: by 10.66.62.229 with SMTP id b5mr27978332pas.30.1425073209708; Fri, 27 Feb 2015 13:40:09 -0800 (PST) Received: from [10.64.26.6] ([69.53.236.236]) by mx.google.com with ESMTPSA id z2sm4792839pde.94.2015.02.27.13.40.07 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 27 Feb 2015 13:40:08 -0800 (PST) Sender: Warner Losh Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_DB5EFE3C-8E58-4DC4-A300-B852FF5FD2BE"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b5 From: Warner Losh In-Reply-To: Date: Fri, 27 Feb 2015 14:40:05 -0700 Message-Id: <04594F43-C6FD-4798-ACFF-8BB7179A905F@bsdimp.com> References: <6ff566ec17fc2b0d61635d8886261d5a.squirrel@ikornapostur.1984.is> <028290c7462d8fcf63b07bfdbbd08897.squirrel@ikornapostur.1984.is> To: Matthias Gamsjager X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 21:40:16 -0000 --Apple-Mail=_DB5EFE3C-8E58-4DC4-A300-B852FF5FD2BE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Feb 27, 2015, at 2:35 PM, Matthias Gamsjager = wrote: >=20 > Image does boot on an old model B but not on the new rev.2. > Guess there needs to be some work done after all Support for the new SoC is not yet in the tree. I have one on my desk, = but haven=E2=80=99t had time to even boot it. Others are working on it, but = its not clear when they will be able to commit the code. Warner --Apple-Mail=_DB5EFE3C-8E58-4DC4-A300-B852FF5FD2BE Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJU8OQ2AAoJEGwc0Sh9sBEABHoP/2QVoi7K6eczFafrxrNHkdlt KsAl+vAc10CzfPf9vMPm4w7Y7RYGszkD1NDpDDBRvJu2A7pnO2gpF4bbp7rRXq5B uAypH0fQSsox4IIrss/eHsmjG4/0pZ0VByMQzDJVywPWswTBm+zNrFbwyVIIHHV8 6gA9PXZaxYs5r0hcivogZjlImkZD7J/R2bn/vhcl+C6NeacHdIi6FnHtUXj7zFtm 1rPLjpC3UNN6vgrtECXwZa1GPvu5sfjgsvHMj3LlNBp53GWNd47XAZ6ejFFL6tgr X+uE/7NoKd5xRuM0VnWbzZLY+DsttyNtrOp987NNK8FbyWmLy7yYzbVRwnrqcV/s QBJp97SVzosIcFh2AgHql7Axd8bqmcH4/a47j/5FK3MCtWAUHQ3izsGbnzo5DhxH uR2f2Jz1zcrepAjNBXLP4YziJncZfKmI4GzMfsOkarnVaCWmDuFB6wffXy7iFhmD A8EL68aOaqXHYKRWcCjiooKX/r+Ag6lxn+/6MFZc6HS5LgPTzyXv0e6a64XxX+Wq VIlXkgtTbzYqDlO+zZ2PYhVroUjwb+davworZ1Pkin3Zm8jVKdjCGuKiNjsUp85i dZXFZkse12iynq+D1E4VrEkXr5IXJEaTUx3RQdYwNXWXvTirUAWadBolLdzouMWc /U69F4HJs7WM0bVeXteo =GfwJ -----END PGP SIGNATURE----- --Apple-Mail=_DB5EFE3C-8E58-4DC4-A300-B852FF5FD2BE-- From owner-freebsd-arm@FreeBSD.ORG Fri Feb 27 21:51:14 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AED05E5E for ; Fri, 27 Feb 2015 21:51:14 +0000 (UTC) Received: from mail-03.1984.is (mail-03.1984.is [93.95.224.70]) (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 664EFF1D for ; Fri, 27 Feb 2015 21:51:13 +0000 (UTC) Received: from 93-95-226-32.1984.is ([93.95.226.32] helo=ikornapostur.1984.is) by mail-03.1984.is with esmtpa (Exim 4.80) (envelope-from ) id 1YRSoO-0007jg-4H; Fri, 27 Feb 2015 21:51:08 +0000 Received: from 212.95.7.156 (SquirrelMail authenticated user beastie@nawi.is) by ikornapostur.1984.is with HTTP; Fri, 27 Feb 2015 21:51:18 -0000 Message-ID: In-Reply-To: References: <6ff566ec17fc2b0d61635d8886261d5a.squirrel@ikornapostur.1984.is> <028290c7462d8fcf63b07bfdbbd08897.squirrel@ikornapostur.1984.is> Date: Fri, 27 Feb 2015 21:51:18 -0000 Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? From: beastie@nawi.is To: "Matthias Gamsjager" User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 21:51:14 -0000 >> Great to hear. I have no experience with booth but is X, the ports >> collection and sound possible ? > > > No idea about X and sound but ports should work > Thanks for the information. I will try the image if it is available and if I got the new hardware. From owner-freebsd-arm@FreeBSD.ORG Fri Feb 27 23:18:23 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E01F9EF for ; Fri, 27 Feb 2015 23:18:23 +0000 (UTC) Received: from shadow.sentry.org (shadow.sentry.org [220.233.87.20]) (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 23825A8E for ; Fri, 27 Feb 2015 23:18:22 +0000 (UTC) Received: from shadow.sentry.org (localhost.sentry.org [127.0.0.1]) by shadow.sentry.org (8.14.8/8.14.8) with ESMTP id t1RN4e3O026043; Sat, 28 Feb 2015 10:04:40 +1100 (EST) (envelope-from trev@sentry.org) Message-ID: <54F0F808.8030406@sentry.org> Date: Sat, 28 Feb 2015 10:04:40 +1100 From: Trevor Roydhouse Organization: Sentry User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: beastie@nawi.is Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.4.3 (shadow.sentry.org [0.0.0.0]); Sat, 28 Feb 2015 10:04:40 +1100 (EST) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 23:18:23 -0000 beastie@nawi.is wrote: > At the moment I have ordered a version B+ and be interested whether X also > could be configured using the above listed images (the link on the info > page refers to another image) ? The FreeBSD-10.1-STABLE-arm-armv6-RPI-B-20150217-r278906.img boots the B+ but does not enable power to the USB (and therefore) LAN ports. No HDMI video output unless forcing it with an entry in config.txt. The FreeBSD-11.0-CURRENT-arm-armv6-RPI-B-20150217-r278908.img boots the B+ and mostly works except for: 1) The files rpi.dts (r276161) and bcm2835.dtsi (r278915) have not yet been updated for the Raspberry Pi Model B+ GPIO pin mappings which are different to the A and B models. 2) My EDUP "nano" wireless dongle (urtwn0 - Realtek RTL8188CUS) can receive at 220KB/s with no issues, but when transmitting more than a few KB nonstop it dies and needs restarting. -- Trevor Roydhouse BJuris, LLB, LLM (UNSW) Systems Developer Australasian Legal Information Institute Web : www.austlii.edu.au From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 00:47:47 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9D53FB1 for ; Sat, 28 Feb 2015 00:47:47 +0000 (UTC) Received: from moon.peach.ne.jp (moon.peach.ne.jp [203.141.148.98]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B2EBB5E6 for ; Sat, 28 Feb 2015 00:47:47 +0000 (UTC) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id C5E926811E; Sat, 28 Feb 2015 09:47:38 +0900 (JST) Received: from artemis (unknown [172.18.0.21]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTPSA id 9E2F568118; Sat, 28 Feb 2015 09:47:38 +0900 (JST) Message-ID: <822338A1698D483190FD602C32DD70F4@ad.peach.ne.jp> From: "Daisuke Aoyama" To: "Lars Engels" References: <1DA948EA255F4963ACBC0EBE7D046401@ad.peach.ne.jp> <34D37D2811D246BEB11080D19F03FECE@ad.peach.ne.jp> <20150224154713.GS52053@e-new.0x20.net> In-Reply-To: <20150224154713.GS52053@e-new.0x20.net> Subject: Re: Ready for NAS4Free on ODROID-C1 Date: Sat, 28 Feb 2015 09:47:31 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 00:47:48 -0000 Hi, >> I miss previous mail, USB HDD is formatted by NTFS. >> So, NAS4Free can use NTFS USB drive without any additional tool/step. > >That's probably why the write speeds are so slow? Have you tested >writing to a UFS formatted USB HDD? Yes, around 6MB/s writing is cap of dwc_otg.c. I'm digging carefully. At this time, I find out two problem in dwc_otg.c. >> TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) >> dwc_otg_xfer_do_fifo(sc, xfer); Not depend on CPU power: dwc_otg_host_channel_alloc() returns an error many times by "compute needed TX FIFO size" and busy(dwc_otg_enable_sof_irq). It causes state reset and retry after next SOF(HS mode microframe is 125us). Note: host have max 16 endpoints and FIFO is not so large. Depend on CPU power: dwc_otg_update_host_transfer_schedule_locked() scans all intr_q few times. Under heavy load, the function is called every SOF 125us! (8000 times per second) I think this is expensive cost on RPi. Note: 1MB request make DFLTPHYS(64KB) x 16 SCSI request, and 16 SCSI request make 3(cmd/data/status) x 16 = 48 USB request on intr_q. 1 USB request = 512B x 128 transaction. Above reason, dwc_otg.c can't get over 6MB/s easily and unstable performance. (depend on CPU power and system load) If you want debug on dwc_otg.c, you must check/print within 125us, otherwise you get wrong frame info or missing frame. Also you must think about NRZI encoding and bit stuffing in frame. I feel that it is necessary to split intr_q to pending and running. Regards, -- Daisuke Aoyama From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 06:11:47 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5E778B9F for ; Sat, 28 Feb 2015 06:11:47 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (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 16F099FB for ; Sat, 28 Feb 2015 06:11:46 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1S6BaZL073286 for ; Sat, 28 Feb 2015 01:11:36 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Sat, 28 Feb 2015 01:11:41 -0500 From: Brett Wynkoop To: freebsd-arm@freebsd.org Subject: buildworld Message-ID: <20150228011141.4138dd4b@ivory.wynn.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 06:11:47 -0000 Greeting- Well my Beaglebone has been chewing on buildworld for two days now and so far so good! I think the removal of /etc/make.conf was exactly what the doctor ordered. For those of you curious about my mad plan to build things native I will let you know when it finishes. As I write this it seems to be building tcsh. I suspect another day will see it done. I sort of wonder though why it takes so long as I did buildworld on slower x86 systems and it did not take this long. I suspect it must be the write speed of the sd card. Anyone else have an idea on that one? -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 929-272-0000 I would never invade the United States. There would be a gun behind every blade of grass. --Isoroku Yamamoto From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 06:38:28 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E6CCD35 for ; Sat, 28 Feb 2015 06:38:28 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (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 CAA6ABD1 for ; Sat, 28 Feb 2015 06:38:27 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1S6cOUe074268 for ; Sat, 28 Feb 2015 01:38:25 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Sat, 28 Feb 2015 01:38:29 -0500 From: Brett Wynkoop To: freebsd-arm@freebsd.org Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? Message-ID: <20150228013829.1b4b4616@ivory.wynn.com> In-Reply-To: <028290c7462d8fcf63b07bfdbbd08897.squirrel@ikornapostur.1984.is> References: <6ff566ec17fc2b0d61635d8886261d5a.squirrel@ikornapostur.1984.is> <028290c7462d8fcf63b07bfdbbd08897.squirrel@ikornapostur.1984.is> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 06:38:28 -0000 On Fri, 27 Feb 2015 19:48:23 -0000 beastie@nawi.is wrote: > > > Great to hear. I have no experience with booth but is X, the ports > collection and sound possible ? Ports is part of every version of FreeBSD going all the way back to the start. man portsnap X is of course in ports. I am not sure if there is an Xserver that will build on the box, but I would not be surprised if it did as the Linux crew has working X and the X sources all come from the same place. I am sure that the various X clients will build just fine if you want remote display. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 929-272-0000 Amendment I Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances. From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 08:17:02 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94E3E82F for ; Sat, 28 Feb 2015 08:17:02 +0000 (UTC) Received: from mail-03.1984.is (mail-03.1984.is [93.95.224.70]) (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 504AF5F2 for ; Sat, 28 Feb 2015 08:17:01 +0000 (UTC) Received: from 93-95-226-32.1984.is ([93.95.226.32] helo=ikornapostur.1984.is) by mail-03.1984.is with esmtpa (Exim 4.80) (envelope-from ) id 1YRcZm-0004uM-Hf; Sat, 28 Feb 2015 08:16:42 +0000 Received: from 212.95.7.156 (SquirrelMail authenticated user beastie@nawi.is) by ikornapostur.1984.is with HTTP; Sat, 28 Feb 2015 08:16:52 -0000 Message-ID: In-Reply-To: <54F0F808.8030406@sentry.org> References: <54F0F808.8030406@sentry.org> Date: Sat, 28 Feb 2015 08:16:52 -0000 Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? From: beastie@nawi.is To: "Trevor Roydhouse" User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 08:17:02 -0000 > beastie@nawi.is wrote: >> At the moment I have ordered a version B+ and be interested whether X >> also >> could be configured using the above listed images (the link on the info >> page refers to another image) ? > > The FreeBSD-10.1-STABLE-arm-armv6-RPI-B-20150217-r278906.img boots the > B+ but does not enable power to the USB (and therefore) LAN ports. No > HDMI video output unless forcing it with an entry in config.txt. > > The FreeBSD-11.0-CURRENT-arm-armv6-RPI-B-20150217-r278908.img boots the > B+ and mostly works except for: > > 1) The files rpi.dts (r276161) and bcm2835.dtsi (r278915) have not yet > been updated for the Raspberry Pi Model B+ GPIO pin mappings which are > different to the A and B models. > > 2) My EDUP "nano" wireless dongle (urtwn0 - Realtek RTL8188CUS) can > receive at 220KB/s with no issues, but when transmitting more than a few > KB nonstop it dies and needs restarting. > > -- > Trevor Roydhouse > BJuris, LLB, LLM (UNSW) > Systems Developer > Australasian Legal Information Institute Web : www.austlii.edu.au > Then FreeBSD is very far from what Linux runs on this box ? From time to time I think, I should learn codeing ... but many things are like the holy grail. From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 08:26:05 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DFB8D8AE for ; Sat, 28 Feb 2015 08:26:05 +0000 (UTC) Received: from mail-03.1984.is (mail-03.1984.is [93.95.224.70]) (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 9772C6A9 for ; Sat, 28 Feb 2015 08:26:05 +0000 (UTC) Received: from 93-95-226-32.1984.is ([93.95.226.32] helo=ikornapostur.1984.is) by mail-03.1984.is with esmtpa (Exim 4.80) (envelope-from ) id 1YRcin-0005rL-K2; Sat, 28 Feb 2015 08:26:01 +0000 Received: from 212.95.7.156 (SquirrelMail authenticated user beastie@nawi.is) by ikornapostur.1984.is with HTTP; Sat, 28 Feb 2015 08:26:11 -0000 Message-ID: <7e47e657b4dccd2c7bd24bf95aa64bbe.squirrel@ikornapostur.1984.is> In-Reply-To: <20150228013829.1b4b4616@ivory.wynn.com> References: <6ff566ec17fc2b0d61635d8886261d5a.squirrel@ikornapostur.1984.is> <028290c7462d8fcf63b07bfdbbd08897.squirrel@ikornapostur.1984.is> <20150228013829.1b4b4616@ivory.wynn.com> Date: Sat, 28 Feb 2015 08:26:11 -0000 Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? From: beastie@nawi.is To: "Brett Wynkoop" User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 08:26:06 -0000 > On Fri, 27 Feb 2015 19:48:23 -0000 > beastie@nawi.is wrote: >> >> >> Great to hear. I have no experience with booth but is X, the ports >> collection and sound possible ? > > Ports is part of every version of FreeBSD going all the way back to the > start. Yes, I meaned whether it works to buils things (I know, this needs many time). > > man portsnap > > X is of course in ports. I am not sure if there is an Xserver that > will build on the box, but I would not be surprised if it did as the > Linux crew has working X and the X sources all come from the same > place. > To find that out, we need to try it and to fix the errors ... > I am sure that the various X clients will build just fine if you want > remote display. > > -Brett > -- > > wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt > 917-642-6925 > 929-272-0000 > > Amendment I > > Congress shall make no law respecting an establishment of religion, or > prohibiting the free exercise thereof; or abridging the freedom of > speech, or of the press; or the right of the people peaceably to > assemble, and to petition the government for a redress of grievances. > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 09:05:33 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BA99DC92 for ; Sat, 28 Feb 2015 09:05:33 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (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 729CBA1D for ; Sat, 28 Feb 2015 09:05:33 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1S95Tov083318; Sat, 28 Feb 2015 04:05:29 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Sat, 28 Feb 2015 04:05:23 -0500 From: Brett Wynkoop To: beastie@nawi.is Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? Message-ID: <20150228040523.7ec62670@ivory.wynn.com> In-Reply-To: <7e47e657b4dccd2c7bd24bf95aa64bbe.squirrel@ikornapostur.1984.is> References: <6ff566ec17fc2b0d61635d8886261d5a.squirrel@ikornapostur.1984.is> <028290c7462d8fcf63b07bfdbbd08897.squirrel@ikornapostur.1984.is> <20150228013829.1b4b4616@ivory.wynn.com> <7e47e657b4dccd2c7bd24bf95aa64bbe.squirrel@ikornapostur.1984.is> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 09:05:33 -0000 On Sat, 28 Feb 2015 08:26:11 -0000 beastie@nawi.is wrote: > Yes, I meaned whether it works to buils things (I know, this needs > many time). I have built many things from ports on both my Pi and my BeagleBone under both 10.x and now under 11.x > > > > > man portsnap > > > > X is of course in ports. I am not sure if there is an Xserver that > > will build on the box, but I would not be surprised if it did as the > > Linux crew has working X and the X sources all come from the same > > place. > > > > To find that out, we need to try it and to fix the errors ... > True, but since the hardware specific stuff should be in from xorg because the Pi guys put Linux on these things by default I have a strong belief it will work. You might want to boot under Linux and see what Xserver setup they use so you can build the same under FreeBSD. At the moment I am not worried about X under FreeBSD on my little machines. I have an Xterminal that they will be stuck on the back of when I am satisfied that I have them doing what I want. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 929-272-0000 April 19, 1775 An English attempt to confiscate guns from Americans triggered a successful revolution...... Dear Congress, that's a hint. From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 09:18:44 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 81ABDDE3 for ; Sat, 28 Feb 2015 09:18:44 +0000 (UTC) Received: from mail-03.1984.is (mail-03.1984.is [93.95.224.70]) (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 37E12B6C for ; Sat, 28 Feb 2015 09:18:43 +0000 (UTC) Received: from 93-95-226-32.1984.is ([93.95.226.32] helo=ikornapostur.1984.is) by mail-03.1984.is with esmtpa (Exim 4.80) (envelope-from ) id 1YRdXk-0003mY-2G; Sat, 28 Feb 2015 09:18:40 +0000 Received: from 212.95.7.156 (SquirrelMail authenticated user beastie@nawi.is) by ikornapostur.1984.is with HTTP; Sat, 28 Feb 2015 09:18:50 -0000 Message-ID: In-Reply-To: <20150228040523.7ec62670@ivory.wynn.com> References: <6ff566ec17fc2b0d61635d8886261d5a.squirrel@ikornapostur.1984.is> <028290c7462d8fcf63b07bfdbbd08897.squirrel@ikornapostur.1984.is> <20150228013829.1b4b4616@ivory.wynn.com> <7e47e657b4dccd2c7bd24bf95aa64bbe.squirrel@ikornapostur.1984.is> <20150228040523.7ec62670@ivory.wynn.com> Date: Sat, 28 Feb 2015 09:18:50 -0000 Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? From: beastie@nawi.is To: "Brett Wynkoop" User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 09:18:44 -0000 > On Sat, 28 Feb 2015 08:26:11 -0000 > beastie@nawi.is wrote: > >> Yes, I meaned whether it works to buils things (I know, this needs >> many time). > > I have built many things from ports on both my Pi and my BeagleBone > under both 10.x and now under 11.x > >> >> > >> > man portsnap >> > >> > X is of course in ports. I am not sure if there is an Xserver that >> > will build on the box, but I would not be surprised if it did as the >> > Linux crew has working X and the X sources all come from the same >> > place. >> > >> >> To find that out, we need to try it and to fix the errors ... >> > > True, but since the hardware specific stuff should be in from xorg > because the Pi guys put Linux on these things by default I have a > strong belief it will work. You might want to boot under Linux and see > what Xserver setup they use so you can build the same under FreeBSD. > At the moment I am not worried about X under FreeBSD on my little > machines. I have an Xterminal that they will be stuck on the back of > when I am satisfied that I have them doing what I want. > > -Brett > > -- > > wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt > 917-642-6925 > 929-272-0000 > > April 19, 1775 An English attempt to confiscate guns from Americans > triggered a successful revolution...... > > Dear Congress, that's a hint. > > The best will be to look how things are done in Raspbian and go with 11 CURRENT. From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 10:24:07 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8121B4E0 for ; Sat, 28 Feb 2015 10:24:07 +0000 (UTC) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1661F1BE for ; Sat, 28 Feb 2015 10:24:06 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Sat, 28 Feb 2015 11:18:53 +0100 id 00DCA802.54F1960D.00007C54 Date: Sat, 28 Feb 2015 11:18:52 +0100 From: Milan Obuch To: freebsd-arm@freebsd.org Subject: Raspberry Pi with PiTFT - some GPIO weirdness Message-ID: <20150228111852.15affe31@zeta.dino.sk> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; i386-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 10:24:07 -0000 Hi, today I found some time to play a bit with my little display attached to Rasoberry Pi, and I decided to test buttons connected to GPIO, as this should work on FreeBSD already. According docs, buttons are connected to GPIO lines 23, 22, 21 and 18, leftmost first. Using basic 'gpioctl -f /dev/gpioc0 -lv' command I found only first one, on line 23, reacts. It has value 1 normally and 0 when pressed. As I first verified this display with Rapbian, I decided to use button on line 23 as reset switch, using some kernel module to do it. It works this way. I tried other buttons with command sequence taken from some guide echo > /sys/class/gpio/export cat /sys/class/gpio/gpio/value for n in 22, 21 and 18, but I was still getting value 0, no matter whether any button is pressed or not. So it seems it does not work out of the box under Rasbpian too... however pressing button on line 23 makes system shutdown itself as expected. Next step was to try reconfigure this module to use other button, first 22 - and middle left button acted as shutdown button now, and I can see changes on gpio23 after export... strange. So I check with lines 21 and 18, and the latter one worked too. After some googling I found there is a difference in board connections between Revision 1 and Revision 2 board, so I should test with 27 instead of 21, and that worked too. So I was able to use any from those four buttons as shutdown button, and read button state for the other three buttons now. Then I put again SD card with my FreeBSD there, and, surprise, all four button states are now correct! I did not make any change in my setup, it just looks like something in SoC was programmed differently now, and it remains this way even after removing power (shutdown module in Raspbian just stops the system, you must remove power from board to restart it, I did not check if there is something like reset pin to start it again), and even after switching SD cards with systems. If anybody has any explanation what could make GPIO readings correct please tell me. Or if you have any idea for some more tests... I would like to understand this, maybe someone knows or found a bit more. Regards, Milan From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 11:34:34 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9F266DA8 for ; Sat, 28 Feb 2015 11:34:34 +0000 (UTC) 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 6EDB69C2 for ; Sat, 28 Feb 2015 11:34:34 +0000 (UTC) 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; bh=UBOdj9vlxjQ0gEChjfX5ZduAq7i3mBSIsORv7A3LLLY=; b=NZ2ExravuBey6BwLueM5Uf1GrL8tTwZWG1P0N+3XbKJqBNTZyXcnwfyTCAAYuR0K2Ix0qySs8TXCN2NrvJWhpQNJTprb0bcJdHQ2n8iw38NG4af11N4LpPCsFoq3Wz9KEIFrlJQt5mwE4nOL1neRGZAsewC0crUmjkDU+KsEg38=; Received: from [114.124.29.248] (port=63366 helo=B85M-HD3-0.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1YRffD-002dHC-Ft; Sat, 28 Feb 2015 04:34:32 -0700 Date: Sat, 28 Feb 2015 19:34:23 +0800 From: Erich Dollansky To: Brett Wynkoop Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? Message-ID: <20150228193423.06df1bd5@B85M-HD3-0.alogt.com> In-Reply-To: <20150228013829.1b4b4616@ivory.wynn.com> References: <6ff566ec17fc2b0d61635d8886261d5a.squirrel@ikornapostur.1984.is> <028290c7462d8fcf63b07bfdbbd08897.squirrel@ikornapostur.1984.is> <20150228013829.1b4b4616@ivory.wynn.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-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 11:34:34 -0000 Hi, On Sat, 28 Feb 2015 01:38:29 -0500 Brett Wynkoop wrote: > On Fri, 27 Feb 2015 19:48:23 -0000 > beastie@nawi.is wrote: > > > > > > Great to hear. I have no experience with booth but is X, the ports > > collection and sound possible ? > > Ports is part of every version of FreeBSD going all the way back to > the start. > > man portsnap > > X is of course in ports. I am not sure if there is an Xserver that > will build on the box, but I would not be surprised if it did as the > Linux crew has working X and the X sources all come from the same > place. I have X running on a B+. It does what you expect it to do, it is just slow. Even running it as a thin-client does not make it real fast. > > I am sure that the various X clients will build just fine if you want > remote display. > Do X clients even care where X is? Erich From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 11:37:19 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AE83FDF8 for ; Sat, 28 Feb 2015 11:37:19 +0000 (UTC) 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 88D8B9CF for ; Sat, 28 Feb 2015 11:37:19 +0000 (UTC) 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; bh=kl3LPK5f01HT6ijFCnTXhWT5Us7paKVJEHN8VXijvFQ=; b=nDDUp/glpIhuycxP3V2QYcWdCehwJ1kS5+FqganzycbJfqkDrCv9OI1LBiUC0XnNRrBeTvmhtbOBX2io/w3syRflsrQiznRtPeu8eVI0ttJ5cs2++0nchhhFFCqTZWJgkEXilXGjXv+R+74lr729dp4ynYDEjWLddF4JmZSfeyA=; Received: from [114.124.29.248] (port=34594 helo=B85M-HD3-0.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1YRfht-002eyh-Ax; Sat, 28 Feb 2015 04:37:18 -0700 Date: Sat, 28 Feb 2015 19:36:58 +0800 From: Erich Dollansky To: Milan Obuch Subject: Re: Raspberry Pi with PiTFT - some GPIO weirdness Message-ID: <20150228193658.6c872779@B85M-HD3-0.alogt.com> In-Reply-To: <20150228111852.15affe31@zeta.dino.sk> References: <20150228111852.15affe31@zeta.dino.sk> 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-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 11:37:19 -0000 Hi, On Sat, 28 Feb 2015 11:18:52 +0100 Milan Obuch wrote: > today I found some time to play a bit with my little display attached > to Rasoberry Pi, and I decided to test buttons connected to GPIO, as > this should work on FreeBSD already. According docs, buttons are > connected to GPIO lines 23, 22, 21 and 18, leftmost first. > > Using basic 'gpioctl -f /dev/gpioc0 -lv' command I found only first > one, on line 23, reacts. It has value 1 normally and 0 when pressed. > you must setup the pins as inputs first before using them as inputs. I would not rely on any defaults. Erich From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 13:24:29 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 81B1F5E8 for ; Sat, 28 Feb 2015 13:24:29 +0000 (UTC) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F122961C for ; Sat, 28 Feb 2015 13:24:28 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Sat, 28 Feb 2015 14:24:25 +0100 id 00DCA818.54F1C189.00008A36 Date: Sat, 28 Feb 2015 14:24:24 +0100 From: Milan Obuch To: Erich Dollansky Subject: Re: Raspberry Pi with PiTFT - some GPIO weirdness Message-ID: <20150228142424.6fed0ecf@zeta.dino.sk> In-Reply-To: <20150228193658.6c872779@B85M-HD3-0.alogt.com> References: <20150228111852.15affe31@zeta.dino.sk> <20150228193658.6c872779@B85M-HD3-0.alogt.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; i386-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 13:24:29 -0000 On Sat, 28 Feb 2015 19:36:58 +0800 Erich Dollansky wrote: > Hi, > > On Sat, 28 Feb 2015 11:18:52 +0100 > Milan Obuch wrote: > > > today I found some time to play a bit with my little display > > attached to Rasoberry Pi, and I decided to test buttons connected > > to GPIO, as this should work on FreeBSD already. According docs, > > buttons are connected to GPIO lines 23, 22, 21 and 18, leftmost > > first. > > > > Using basic 'gpioctl -f /dev/gpioc0 -lv' command I found only first > > one, on line 23, reacts. It has value 1 normally and 0 when pressed. > > > you must setup the pins as inputs first before using them as inputs. I > would not rely on any defaults. > > Erich According available docs, all GPIO are set to input mode after reset. This seems not to be the case, but that's not my point. What was a bit of surprise for me was even 'gpioctl -f /dev/gpioc0 -l' tells those pins are in input mode ('pin nn'), it did not work. And fact that even after power disconnect the state remains the same is even more weird. Anyway, I accept the necessity for setup, the question is, where should these setup instruction go. Regards, Milan From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 14:37:38 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9ABDDEDA for ; Sat, 28 Feb 2015 14:37:38 +0000 (UTC) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.126.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gromit.dlib.vt.edu", Issuer "Chumby Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F2A1C61 for ; Sat, 28 Feb 2015 14:37:38 +0000 (UTC) Received: from macbook.chumby.lan (c-71-63-94-21.hsd1.va.comcast.net [71.63.94.21]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id B6445340; Sat, 28 Feb 2015 09:30:38 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: buildworld From: Paul Mather In-Reply-To: <20150228011141.4138dd4b@ivory.wynn.com> Date: Sat, 28 Feb 2015 09:30:37 -0500 Content-Transfer-Encoding: 7bit Message-Id: References: <20150228011141.4138dd4b@ivory.wynn.com> To: Brett Wynkoop X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 14:37:38 -0000 On Feb 28, 2015, at 1:11 AM, Brett Wynkoop wrote: > Greeting- > > Well my Beaglebone has been chewing on buildworld for two days now and > so far so good! I think the removal of /etc/make.conf was exactly what > the doctor ordered. > > For those of you curious about my mad plan to build things native I > will let you know when it finishes. As I write this it seems to be > building tcsh. > > I suspect another day will see it done. I sort of wonder though why it > takes so long as I did buildworld on slower x86 systems and it did not > take this long. I suspect it must be the write speed of the sd card. > Anyone else have an idea on that one? I think that's probably it. I have been doing native builds to my Beaglebone Black (-CURRENT) and Raspberry Pi (10-STABLE) and it takes a little over a day to buildworld+buildkernel on the BBB and ~30+ hours to do the same on the Raspberry Pi. However, I have /usr/obj and /usr/src on an external USB hard drive, which is what I suspect is speeding things up compared to writing to SD card. Cheers, Paul. > > -Brett From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 16:26:53 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C0965F9A for ; Sat, 28 Feb 2015 16:26:53 +0000 (UTC) Received: from pmta2.delivery7.ore.mailhop.org (pmta2.delivery7.ore.mailhop.org [54.149.205.143]) by mx1.freebsd.org (Postfix) with ESMTP id 9F451AAA for ; Sat, 28 Feb 2015 16:26:53 +0000 (UTC) Received: from smtp5.ore.mailhop.org (172.31.36.112) by pmta2.delivery1.ore.mailhop.org id hu7m5o20u50q for ; Sat, 28 Feb 2015 16:27:01 +0000 (envelope-from ) Received: from c-73-34-117-227.hsd1.co.comcast.net ([73.34.117.227] helo=ilsoft.org) by smtp5.ore.mailhop.org with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82) (envelope-from ) id 1YRkE2-0002kE-Dc; Sat, 28 Feb 2015 16:26:46 +0000 Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t1SGQiMO087091; Sat, 28 Feb 2015 09:26:44 -0700 (MST) (envelope-from ian@freebsd.org) X-Mail-Handler: DuoCircle Outbound SMTP X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@duocircle.com (see https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information for abuse reporting information) X-MHO-User: U2FsdGVkX1+67BuBrHqP4O76VvGlBZf8 Message-ID: <1425140804.1281.38.camel@freebsd.org> Subject: Re: buildworld From: Ian Lepore To: Brett Wynkoop Date: Sat, 28 Feb 2015 09:26:44 -0700 In-Reply-To: <20150228011141.4138dd4b@ivory.wynn.com> References: <20150228011141.4138dd4b@ivory.wynn.com> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 16:26:53 -0000 On Sat, 2015-02-28 at 01:11 -0500, Brett Wynkoop wrote: > Greeting- > > Well my Beaglebone has been chewing on buildworld for two days now and > so far so good! I think the removal of /etc/make.conf was exactly what > the doctor ordered. > > For those of you curious about my mad plan to build things native I > will let you know when it finishes. As I write this it seems to be > building tcsh. > > I suspect another day will see it done. I sort of wonder though why it > takes so long as I did buildworld on slower x86 systems and it did not > take this long. I suspect it must be the write speed of the sd card. > Anyone else have an idea on that one? > > -Brett > When I run buildworld on a wandboard quad it takes over 12 hours on an sdcard and just under 2 hours on an SSD drive in a USB dock. -- Ian From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 16:30:38 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 54BA46E for ; Sat, 28 Feb 2015 16:30:38 +0000 (UTC) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 15F80AC2 for ; Sat, 28 Feb 2015 16:30:38 +0000 (UTC) Received: by igbhn18 with SMTP id hn18so7734777igb.2 for ; Sat, 28 Feb 2015 08:30:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=bUPvhJn0ByzmEO0BPTehHFrPj6RAakE3GnuI0mU89gk=; b=OgWpmjNqXOq24GR/CSXD8xzCHo1OK5Pa7kUKf943ibVCZ8yveN7INfte+8I5a+ioV/ jC3LxkTta2rAkA+onaDiV/C+zKVGLv62JQDu28bqNjDMY4ktpjEQlxH4L3ByL1e7hyAg CieZqakjgUTUcsZp3pRx2LlGNA6aJJNSRp1FSkopH9mkvhWUKDL5LsQh5bzCen0dtHTI 8STKEKIfV2qLaZX69KHtMddT5ZxHbtN+Y0SAz34kuGNk9MO0X8YLF98kCGOjOWFfLAGE fdZJyDqat3DUqJheFv2xbPLGs/1I5Ui/5NAMZZNa9hXudHZfBRejP9ZURxWS3R3lqyEM SMEw== MIME-Version: 1.0 X-Received: by 10.50.79.135 with SMTP id j7mr10389949igx.32.1425141037502; Sat, 28 Feb 2015 08:30:37 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.17.66 with HTTP; Sat, 28 Feb 2015 08:30:37 -0800 (PST) In-Reply-To: <20150228142424.6fed0ecf@zeta.dino.sk> References: <20150228111852.15affe31@zeta.dino.sk> <20150228193658.6c872779@B85M-HD3-0.alogt.com> <20150228142424.6fed0ecf@zeta.dino.sk> Date: Sat, 28 Feb 2015 08:30:37 -0800 X-Google-Sender-Auth: CoJ5QnVHqynPkAQv-W0iWDLx8uQ Message-ID: Subject: Re: Raspberry Pi with PiTFT - some GPIO weirdness From: Adrian Chadd To: Milan Obuch Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 16:30:38 -0000 Please file a PR with this information and I'll make sure the ARM GPIO folk see it. Thanks! -a On 28 February 2015 at 05:24, Milan Obuch wrote: > On Sat, 28 Feb 2015 19:36:58 +0800 > Erich Dollansky wrote: > >> Hi, >> >> On Sat, 28 Feb 2015 11:18:52 +0100 >> Milan Obuch wrote: >> >> > today I found some time to play a bit with my little display >> > attached to Rasoberry Pi, and I decided to test buttons connected >> > to GPIO, as this should work on FreeBSD already. According docs, >> > buttons are connected to GPIO lines 23, 22, 21 and 18, leftmost >> > first. >> > >> > Using basic 'gpioctl -f /dev/gpioc0 -lv' command I found only first >> > one, on line 23, reacts. It has value 1 normally and 0 when pressed. >> > >> you must setup the pins as inputs first before using them as inputs. I >> would not rely on any defaults. >> >> Erich > > According available docs, all GPIO are set to input mode after reset. > This seems not to be the case, but that's not my point. What was a bit > of surprise for me was even 'gpioctl -f /dev/gpioc0 -l' tells those > pins are in input mode ('pin nn'), it did not work. And fact that > even after power disconnect the state remains the same is even more > weird. > > Anyway, I accept the necessity for setup, the question is, where should > these setup instruction go. > > Regards, > Milan > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 18:43:32 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B3956C99 for ; Sat, 28 Feb 2015 18:43:32 +0000 (UTC) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) (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 43F079B6 for ; Sat, 28 Feb 2015 18:43:32 +0000 (UTC) Received: by wgha1 with SMTP id a1so26134374wgh.12 for ; Sat, 28 Feb 2015 10:43:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kALT3ByZHoiXLKAn7G1fOL27eq3KXbBfMm4fgCvIuT8=; b=nblGP0PW4Wjp8T56gzu/gUDwN4dUdJcXP5h+oyBIliY/01ME9gMTO8aA2wxEblWYUU Y6kDt1CC/qrhLn0MFu17iwj/i2Kmy2l7Nk2o6EhAmWV2H8HmcC7LLiCaJPbSt27MlIBb Wx3kjIzr3affd7ZM8pQNr0YUqwlIWM7BR9Sd35ZYgx5pvVCt1M+6gWJrwf2a5SSMgR0W +UyqxAU+MeXLllTuoIrf3R8XQrFvJ3oL0DiAlPnu3EsjhbfHIs4Ilqz/588eONS5FSLB Ed+ktEoKKA++H9boK6QqTFqis/GJSLqM1DnQO6BHisltHwnC8v7D0rIC4nCJoYTVtlbi 4WwA== MIME-Version: 1.0 X-Received: by 10.180.92.71 with SMTP id ck7mr7335694wib.48.1425149010631; Sat, 28 Feb 2015 10:43:30 -0800 (PST) Received: by 10.180.195.99 with HTTP; Sat, 28 Feb 2015 10:43:30 -0800 (PST) In-Reply-To: <20150228142424.6fed0ecf@zeta.dino.sk> References: <20150228111852.15affe31@zeta.dino.sk> <20150228193658.6c872779@B85M-HD3-0.alogt.com> <20150228142424.6fed0ecf@zeta.dino.sk> Date: Sat, 28 Feb 2015 15:43:30 -0300 Message-ID: Subject: Re: Raspberry Pi with PiTFT - some GPIO weirdness From: Luiz Otavio O Souza To: Milan Obuch Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 18:43:32 -0000 On 28 February 2015 at 10:24, Milan Obuch wrote: > On Sat, 28 Feb 2015 19:36:58 +0800 > Erich Dollansky wrote: > >> Hi, >> >> On Sat, 28 Feb 2015 11:18:52 +0100 >> Milan Obuch wrote: >> >> > today I found some time to play a bit with my little display >> > attached to Rasoberry Pi, and I decided to test buttons connected >> > to GPIO, as this should work on FreeBSD already. According docs, >> > buttons are connected to GPIO lines 23, 22, 21 and 18, leftmost >> > first. >> > >> > Using basic 'gpioctl -f /dev/gpioc0 -lv' command I found only first >> > one, on line 23, reacts. It has value 1 normally and 0 when pressed. >> > >> you must setup the pins as inputs first before using them as inputs. I >> would not rely on any defaults. >> >> Erich > > According available docs, all GPIO are set to input mode after reset. > This seems not to be the case, but that's not my point. What was a bit > of surprise for me was even 'gpioctl -f /dev/gpioc0 -l' tells those > pins are in input mode ('pin nn'), it did not work. And fact that > even after power disconnect the state remains the same is even more > weird. > > Anyway, I accept the necessity for setup, the question is, where should > these setup instruction go. > > Regards, > Milan The GPIO driver do not touch the pin settings at boot, there are a few things like the LAN reset (GPIO pin 6) where we hope the loader is doing the right thing. Only a few drivers are checking and making sure that the pins they use have the right settings at boot. What I see from PiTFT schematics is that the push buttons doesn't have any pull-ups resistors, so it must rely on RPi settings. Please try the following (set the pin as input with pull-up enabled): gpioctl -c 18 in pu gpioctl -c 21 in pu # or 27 for rev. 2 gpioctl -c 22 in pu gpioctl -c 23 in pu HTH, Luiz From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 18:57:49 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C6E09EC2 for ; Sat, 28 Feb 2015 18:57:49 +0000 (UTC) Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c:c03::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 582B4AA5 for ; Sat, 28 Feb 2015 18:57:49 +0000 (UTC) Received: by wesp10 with SMTP id p10so23937199wes.12 for ; Sat, 28 Feb 2015 10:57:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=eQyxlPJtKrlXGBKfMvj7eVvthKXCPMY9HHsSDh6FLmw=; b=cqSJC9aCTyyYV9vP9JoHjQejNQ9t6SVlng4cSLdWMbEHlFcpTF+yKscmgbidhLT8Ul +8yF81KS7n7jbtPYdxhQYwaBoTdd8oPqNdI+CmiDka+RGFiSUdzc2GYHep19QZrNzMxh cQMs0wwUEOH0tSALJFJbTK+Fs0egYlYXdCyDItogw8m4KFarKft5Qe03EfcYCUKVm87K dCiKcBKf+8PZ4eKQZWNjuKqXJ3ZKG3rWzWotmh5eHMqSJN7OJO+86I99Y6URKTi2QVIj M+lHfnaqbBD4TGsMyLCSjlhG6a1hKDk40MqEld31EeI4zaurHQVM/rYT/08EIW1GJC+h vbBg== MIME-Version: 1.0 X-Received: by 10.194.88.37 with SMTP id bd5mr19724706wjb.125.1425149867690; Sat, 28 Feb 2015 10:57:47 -0800 (PST) Received: by 10.180.195.99 with HTTP; Sat, 28 Feb 2015 10:57:47 -0800 (PST) In-Reply-To: <54F0F808.8030406@sentry.org> References: <54F0F808.8030406@sentry.org> Date: Sat, 28 Feb 2015 15:57:47 -0300 Message-ID: Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ? From: Luiz Otavio O Souza To: Trevor Roydhouse Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 18:57:49 -0000 On 27 February 2015 at 20:04, Trevor Roydhouse wrote: > beastie@nawi.is wrote: >> >> At the moment I have ordered a version B+ and be interested whether X also >> could be configured using the above listed images (the link on the info >> page refers to another image) ? > > > The FreeBSD-10.1-STABLE-arm-armv6-RPI-B-20150217-r278906.img boots the B+ > but does not enable power to the USB (and therefore) LAN ports. No HDMI > video output unless forcing it with an entry in config.txt. > > The FreeBSD-11.0-CURRENT-arm-armv6-RPI-B-20150217-r278908.img boots the B+ > and mostly works except for: > > 1) The files rpi.dts (r276161) and bcm2835.dtsi (r278915) have not yet been > updated for the Raspberry Pi Model B+ GPIO pin mappings which are different > to the A and B models. It is not that simple, the loader needs to pass the correct dts for each board version. This seems to be included in recent firmware (since january). It probably means u-boot and crochet will need updates. Thanks for the report, I'll keep an eye on this (will try to get my hands on a B+ model). Luiz From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 19:55:08 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48E6DCDF for ; Sat, 28 Feb 2015 19:55:08 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (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 0576590 for ; Sat, 28 Feb 2015 19:55:07 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t1SJt4KQ016322; Sat, 28 Feb 2015 14:55:04 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Sat, 28 Feb 2015 14:55:04 -0500 From: Brett Wynkoop To: Paul Mather Subject: Re: buildworld Message-ID: <20150228145504.4a854cf1@ivory.wynn.com> In-Reply-To: References: <20150228011141.4138dd4b@ivory.wynn.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 19:55:08 -0000 mv routing_test.tmp routing_test -------------------------------------------------------------- >>> World build completed on Sat Feb 28 06:45:32 EST 2015 -------------------------------------------------------------- So it took just over 48 hours. It also proves that removing the make.conf was the right move. Good stuff! Now to see if I can installworld without crashing the little box. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 929-272-0000 I would never invade the United States. There would be a gun behind every blade of grass. --Isoroku Yamamoto From owner-freebsd-arm@FreeBSD.ORG Sat Feb 28 22:51:45 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6BD8C160 for ; Sat, 28 Feb 2015 22:51:45 +0000 (UTC) Received: from mail-ig0-f172.google.com (mail-ig0-f172.google.com [209.85.213.172]) (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 2EDAD39C for ; Sat, 28 Feb 2015 22:51:44 +0000 (UTC) Received: by igdh15 with SMTP id h15so8921050igd.4 for ; Sat, 28 Feb 2015 14:51:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=yqOTWc43/KzGapsxwcWDVTBDDGAAxIHNqIwhf7CRjRw=; b=BIRDesJ7wynUGiosLUwkN8g1amqh3ulMEP5ssPek46eytJ44PBGa4ht1GgNfsCCKSb Y8AR+Z5XKp6c5ERZrgSjJFp9AWqEcWlssI8wEZ3XYR/dVYbMtKkG6/GIBtxflOOIZCgx PC4v0jnqmh2bq9gnl1KH0RxZexVwfMsoXQTno6bocTfG4RgtlRHyCsS3OfeWbhf2pvj0 dsccUZXhE+7QaG0FabKLI90QqxZJxfNa95A9MlqJWhZkUJs25c0AX25iX6cdb7liGLWW Q0925CEoXp1ao2XudNk+OObqf43iNn7Th07e3nsKSnTg0+qZMEMt8xKMtsrchNtlju4a 0GkQ== X-Gm-Message-State: ALoCoQk/2HBBpfFhJNNThp3l4wuk8oPFIDmatHj2u7QSYM52DPWBmDzzruVr0fGvxZjE0vIwU3va X-Received: by 10.107.150.149 with SMTP id y143mr27236803iod.22.1425163898316; Sat, 28 Feb 2015 14:51:38 -0800 (PST) Received: from netflix-mac-wired.bsdimp.com ([50.253.99.174]) by mx.google.com with ESMTPSA id f1sm4095809igt.14.2015.02.28.14.51.37 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Feb 2015 14:51:37 -0800 (PST) Sender: Warner Losh Subject: Re: buildworld Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_2E53C336-C36E-4155-87E1-49FB07010FDD"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b5 From: Warner Losh In-Reply-To: <20150228145504.4a854cf1@ivory.wynn.com> Date: Sat, 28 Feb 2015 15:51:36 -0700 Message-Id: References: <20150228011141.4138dd4b@ivory.wynn.com> <20150228145504.4a854cf1@ivory.wynn.com> To: Brett Wynkoop X-Mailer: Apple Mail (2.2070.6) Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 22:51:45 -0000 --Apple-Mail=_2E53C336-C36E-4155-87E1-49FB07010FDD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 So fast SD cards run about 5-10MB/s write speed, a little more read. SSDs are 100x faster than that, typically (300MB/s read, 400MB/s write are typical values). USB 2.0 is 480Mbps or 48MB/s (in practice more like 20-30MB/s), so even a USB attached drive is going to be 6x faster than a fast SD card. Note: I=E2=80=99ve not measured any of these rates from an RPi B, mind you, so YMMV. Slow SD cards can be 10x slower or worse than faster ones. Especially with UFS since it=E2=80=99s a rewrite in place FS. Thumb drives are little better than SD cards here, alas. That=E2=80=99s a long way of saying that a good USB + SSD or USB + HDD would cut your buildworld time substantially. At a guess, by a factor of 4-8 to between 5-10 hours. Good luck with your installworld. Warner > On Feb 28, 2015, at 12:55 PM, Brett Wynkoop = wrote: >=20 >=20 > mv routing_test.tmp routing_test >=20 > -------------------------------------------------------------- >>>> World build completed on Sat Feb 28 06:45:32 EST 2015 > -------------------------------------------------------------- >=20 >=20 > So it took just over 48 hours. It also proves that removing the > make.conf was the right move. Good stuff! >=20 > Now to see if I can installworld without crashing the little box. >=20 > -Brett >=20 > -- >=20 > wynkoop@wynn.com = http://prd4.wynn.com/wynkoop/pgp-keys.txt > 917-642-6925 > 929-272-0000 >=20 > I would never invade the United States. There would be a gun behind > every blade of grass. --Isoroku Yamamoto >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" --Apple-Mail=_2E53C336-C36E-4155-87E1-49FB07010FDD Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJU8kZ4AAoJEGwc0Sh9sBEA/Q0QAKTWWPXDhU2DRl+Ti9qP90u/ ewhrsqJQrLmU73FvEYPWL/xVWNVTWAbE19Ujc1OT4ZwHWURmL35dlddmDkMG/Fhp mnHJ3aB1wCygbNUL+zCB3nDhavWzX7XHuOXpLDYT8vQjOKGzQ/4FsZzMlYHVJ1i8 FjzHqJJTiJZxk+U2InB8bgQnJNbddJaB/ywNBSBg+QtP3xm7/UigtxEyhJGW7gxi 7d61af3llr5OOJ5nmGuVz33xQtMXZcmhNlbvk0LFaTTVbEPW4TlLMgnG+iuQFRzp 8zHaI43+Jj/Kl+tGVdwGGx+yKFvpH2oAA04XCyd1kwnfktetWZQpw7FHqoPfKpHB Rqkwe/ChVZFDuyuO9TuY1SLIVPxDKYlgKzgObEGg9J+Mk07E9TiLMt/k+Sup9Zn/ UUgPSxBYvQ5gKrIJ9Gi6uuEMfa4t6oe6V2+Gjad2uQ4Rw2x57hm4AZ2p/5KK5BIB QSzeO380J03/7WLp32qykYyJSMY9s/tkfs9hrrWqZVAA5bo58taRDqYDM1BzdKHa 5RV7ykafu/NMNzXrnbTruis1VYEvILFSGnlQMV5rZwYzcWHk7lmUdVA03UUjtoHX Iu0zOam1jHARitbcuiBAUlR05cl2jQYtfL9rPoxhwi4I3tapLc1fLmCZolAPor6H gwvwR5YQ1jrCP+cNZnIL =waS5 -----END PGP SIGNATURE----- --Apple-Mail=_2E53C336-C36E-4155-87E1-49FB07010FDD--