From owner-freebsd-arm@freebsd.org Mon Nov 16 21:02:44 2015 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 CB874A30AB2 for ; Mon, 16 Nov 2015 21:02:44 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (unknown [IPv6:2a00:7540:1::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.norma.perm.ru", Issuer "Vivat-Trade UNIX Root CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3CA411D2E for ; Mon, 16 Nov 2015 21:02:43 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from bsdrookie.norma.com. (pc233031.norma.com [IPv6:fd00::7fa] (may be forged)) by elf.hq.norma.perm.ru (8.14.9/8.14.9) with ESMTP id tAGL2bRd025507 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 17 Nov 2015 02:02:37 +0500 (YEKT) (envelope-from emz@norma.perm.ru) From: "Eugene M. Zheganin" Subject: misc/raspberrypi-userland port and xorg-server To: "freebsd-arm@freebsd.org" Message-ID: <564A446D.1020703@norma.perm.ru> Date: Tue, 17 Nov 2015 02:02:37 +0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (elf.hq.norma.perm.ru [IPv6:fd00::30a]); Tue, 17 Nov 2015 02:02:37 +0500 (YEKT) X-Spam-Status: No hits=-100.4 bayes=0.0000 testhits AWL=0.038,BAYES_00=-1.9, RDNS_NONE=0.793,SPF_SOFTFAIL=0.665,USER_IN_WHITELIST=-100 autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on elf.hq.norma.perm.ru X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2015 21:02:44 -0000 Hi, So, from my understanding, to use RPi B+ GPU I should use port-specific versions of libEGL.so and libGLESV2.so. Thing is, they conflict with generic graphics/libEGL and graphics/libglesv2 (I'm sure you know it, I mostly summariza this for myself and others). So I attepmted to rebuild xorg-server, and xf86-video-scfb along with some other ports (luckily, not that numerous) using simple hacks of ports Makefiles - mostly by commenting out build requirement of GL and glesv2 and hoping it will be OK with installed misc/raspberrypi-userland. Sadly, it wasn't: misc/raspberrypi-userland misses several header files, at least the following ones: vcos_platform_types.h vcos_platform.h and they seem to contain vital definitions, because with these header commented out the build crashes on syntax. So, the question is, how do you guys build and launch xorg-server using misc/raspberrypi-userland port, instead of generic one ? And I'm not happy with generic one since it's not able to use GPU properly, from my understanding. Thanks. Eugene.