From owner-freebsd-arm@freebsd.org Sat Feb 11 00:58:13 2017 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 DA01DCD831D for ; Sat, 11 Feb 2017 00:58:13 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (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 71A3B236 for ; Sat, 11 Feb 2017 00:58:12 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id v1B0e3s9095892; Fri, 10 Feb 2017 16:40:03 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id v1B0e314095891; Fri, 10 Feb 2017 16:40:03 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201702110040.v1B0e314095891@pdx.rh.CN85.dnsmgr.net> Subject: Re: Pi3 vchiq driver? In-Reply-To: <20170210221953.GA54179@bluezbox.com> To: Oleksandr Tymoshenko Date: Fri, 10 Feb 2017 16:40:03 -0800 (PST) CC: Karl Denninger , "freebsd-arm@freebsd.org" X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Feb 2017 00:58:14 -0000 Yet one more reason that we should be building a 32bit os for the RPI3 too. The board only has 1GByte of memory, so wasting 32bits for all those 64bit points.. is.. well a waste! Not only in the limited resource of memory, but cache, and memory bandwidth. I know, its neat to play with 64 bit SMP code on a tiny little board, but its wastefull! > Karl Denninger (karl@denninger.net) wrote: > > I assume this will provide the audio service (which is currently not > > available) on the Pi3. > > > > Attempting to include it results in a handful of compilation errors. > > They'd be easy to fix for the instant case but generalizing them so they > > ALSO compile on the Pi2 would likely be a good idea, and I'm > > less-certain on the "right" way to do that. > ... skipped ... > > Guidance? > > VCHI driver is designed for 32-bit system. It passes pointers as opaque > values to VideoCore and expectes them mirrored back and reused as > pointers. This is not going to work on 64-bit system. It can be fixed > but it's not a matter of adding more #ifdefs some additional logic > required. There is also a matter of userland-facing API which is not > relevant for audio driver but relevant for OpenGL and other parts of > raspberrypi-userland port. > > I have some work in progress but it's far from proper state. > > -- > gonzo > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > -- Rod Grimes rgrimes@freebsd.org