From owner-freebsd-arm@freebsd.org Wed Jul 6 13:33:15 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69900B75646 for ; Wed, 6 Jul 2016 13:33:15 +0000 (UTC) (envelope-from peter@pean.org) Received: from system.jails.se (system.jails.se [IPv6:2001:470:6c08::1]) (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 22D9B1BE5 for ; Wed, 6 Jul 2016 13:33:14 +0000 (UTC) (envelope-from peter@pean.org) Received: from system.jails.se (system.jails.se [172.31.20.14]) by system.jails.se (Postfix) with SMTP id D43D64BE58C for ; Wed, 6 Jul 2016 15:33:11 +0200 (CEST) Received: from [192.168.167.222] (nyx.uppmax.uu.se [130.238.137.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by system.jails.se (Postfix) with ESMTPSA id 37FD54BE58A; Wed, 6 Jul 2016 15:33:10 +0200 (CEST) Subject: Re: PPS input on GPIO pin RPI2. To: Ian Lepore References: <56FCEE15.60109@pean.org> <1460061822.1091.314.camel@freebsd.org> <66F0823A-283A-4CD9-BD40-A73B19A98958@pean.org> Cc: freebsd-arm@freebsd.org From: =?UTF-8?Q?Peter_Ankerst=c3=a5l?= Message-ID: <577D0896.6060104@pean.org> Date: Wed, 6 Jul 2016 15:33:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <66F0823A-283A-4CD9-BD40-A73B19A98958@pean.org> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms080307060002070201090105" X-DSPAM-Result: Innocent X-DSPAM-Processed: Wed Jul 6 15:33:11 2016 X-DSPAM-Confidence: 0.9899 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 577d089718886942612199 X-DSPAM-Factors: 27, of, 0.01000, of, 0.01000, From*Peter_Ankerst%c3%a5l, 0.01000, From*Peter_Ankerst%c3%a5l, 0.01000, that, 0.01000, that, 0.01000, Content-Disposition*filename, 0.01000, for, 0.01000, for, 0.01000, I, 0.01000, I, 0.01000, on+the, 0.01000, on+the, 0.01000, is, 0.01000, is, 0.01000, Content-Transfer-Encoding*base64, 0.01000, a+#+#+#+this, 0.01000, Content-Disposition*smime.p7s, 0.01000, Content-Disposition*attachment, 0.01000, a, 0.01000, a, 0.01000, Peter, 0.01000, Peter, 0.01000, on+a, 0.01000, on+a, 0.01000, on, 0.01000, on, 0.01000 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2016 13:33:15 -0000 This is a cryptographically signed message in MIME format. --------------ms080307060002070201090105 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable On 04/09/2016 10:27 AM, Peter Ankerst=E5l wrote: > >>> >>> >>> I asked a question on the stable@ list a few weeks ago about having >>> PPS >>> input on a generic GPIO-pin on the RPI2. I received some positive >>> feedback that this should be easy to implement but have heard nothing= >>> since. Today I found out about the arm-list and thought this maybe >>> was a >>> better place for this question. >>> >>> >> >> Sorry for the slow response on this, just wanted to let you know that >> work on this is finally underway. The big interrupt infrastructure >> changes I was waiting for were committed a few days ago. I started >> writing the pps driver and ran into some more "we have no way to do >> this" problems which we're building even more new infrastructure for >> now. :) >> >> I have no firm ETA, but I did get enough of a proof-of-concept hacked >> together yesterday that I was able to get pps input working on a gpio >> pin on a wandboard (and that work will generalize to any of the arm >> boards that use FDT data pretty quickly), so it shouldn't be much >> longer. >> > Thank you much! Sounds great. Please tell me if you need something test= ed. > > /Peter. > Ping! Any news on this one? --------------ms080307060002070201090105 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC C9EwggXiMIIDyqADAgECAhBrp4p9CteI1lEK+Vnk57ThMA0GCSqGSIb3DQEBCwUAMH0xCzAJ BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGln aXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMSkwJwYDVQQDEyBTdGFydENvbSBDZXJ0aWZpY2F0 aW9uIEF1dGhvcml0eTAeFw0xNTEyMTYwMTAwMDVaFw0zMDEyMTYwMTAwMDVaMHUxCzAJBgNV BAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBDZXJ0 aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMSBDbGllbnQg Q0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC9fdr3w6J9g/Zbgv3bW1+uHht1 wLUZr5gkrLtXedg17AkefMyUGwrQdvwObhajcVmnKVxhrUwkZPXRAwZZosRHfEIi5FH7x6SV /8Sp5lZEuiMnvMFG2MzLA84J6Ws5T4NfXZ0qn4TPgnr3X2vPVS51M7Ua9nIJgn8jvTra4eyy QzxvuA/GZwKg7VQfDCmCS+kICslYYWgXOMt2xlsSslxLce0CGWRsT8EpMyt1iDflSjXZIsE7 m1uTyHaKZspMLyIyz6mySu8j8BWWHpChNNeTrFuhVfrOAyDPFJVUvKZCLKBhibTLloyy+Lat oWELrjdI4a8StZY8+dIR9t4APXGzAgMBAAGjggFkMIIBYDAOBgNVHQ8BAf8EBAMCAQYwHQYD VR0lBBYwFAYIKwYBBQUHAwIGC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