From owner-freebsd-arm@freebsd.org Mon Mar 28 18:49: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 1B635AE09E7 for ; Mon, 28 Mar 2016 18:49:15 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F29B81D61; Mon, 28 Mar 2016 18:49:14 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from [208.184.220.60] (helo=r2d2.dolby.net) by id.bluezbox.com with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1akcDw-000ARv-K0; Mon, 28 Mar 2016 11:49:13 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: RPi 2 with 7-inch touchscreen. From: Oleksandr Tymoshenko In-Reply-To: <8243E254-B30D-4C42-818C-3584D79ABC6B@FreeBSD.org> Date: Mon, 28 Mar 2016 11:48:41 -0700 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <8243E254-B30D-4C42-818C-3584D79ABC6B@FreeBSD.org> To: Mark R V Murray X-Mailer: Apple Mail (2.3124) Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: > On Mar 28, 2016, at 11:40 AM, Mark R V Murray wrote: > > >> On 28 Mar 2016, at 18:37, Oleksandr Tymoshenko wrote: >> Hi Mark, >> >> I have it working. Here is my config.txt: >> >> disable_commandline_tags=0 >> device_tree_address=0x100 >> device_tree=rpi2.dtb >> kernel=u-boot.bin >> gpu_mem=128 >> lcd_rotate=2 >> start_x=1 >> hdmi_force_hotplug=1 >> display_default_lcd=1 >> >> I guess relevant lines are these: > > OK ... > >> >> lcd_rotate=2 >> hdmi_force_hotplug=1 >> display_default_lcd=1 > > > Nope. :-( It still doesn't work. The screen stays blank. > > [grubscrew] ~ 07:37 p.m. # tvservice -s > state 0x120016 [DVI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, progressive [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: bluezbox.com] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 18:49:15 -0000 > On Mar 28, 2016, at 11:40 AM, Mark R V Murray = wrote: >=20 >=20 >> On 28 Mar 2016, at 18:37, Oleksandr Tymoshenko = wrote: >> Hi Mark, >>=20 >> I have it working. Here is my config.txt: >>=20 >> disable_commandline_tags=3D0 >> device_tree_address=3D0x100 >> device_tree=3Drpi2.dtb >> kernel=3Du-boot.bin >> gpu_mem=3D128 >> lcd_rotate=3D2 >> start_x=3D1 >> hdmi_force_hotplug=3D1 >> display_default_lcd=3D1 >>=20 >> I guess relevant lines are these: >=20 > OK ... >=20 >>=20 >> lcd_rotate=3D2 >> hdmi_force_hotplug=3D1 >> display_default_lcd=3D1 >=20 >=20 > Nope. :-( It still doesn't work. The screen stays blank. >=20 > [grubscrew] ~ 07:37 p.m. # tvservice -s > state 0x120016 [DVI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, = progressive Try copying firmware files from raspbian image as this comment suggests: http://kernelnomicon.org/?p=3D540#comment-40186 Port may have older firmware, can't check right now. >>=20 >> I also had touchscreen driver prototype working for it but can't find = it at the moment :( >> It's very simple busy read from memory window. Requires FDT = modification and >> interface to userland which FreeBSD does not have at the moment. >>=20 >=20 > That's next on my list :-) I'll try to dig up the driver later today. If I haven't deleted it = during last "cleanup" that is :-/=20=