From owner-freebsd-arm@freebsd.org Mon Mar 28 13:07:43 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 AEA88AE05C7 for ; Mon, 28 Mar 2016 13:07:43 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0: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 7B20B15AC; Mon, 28 Mar 2016 13:07:43 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1akWtN-000MsH-93; Mon, 28 Mar 2016 14:07:41 +0100 Subject: Re: RPi 2 with 7-inch touchscreen. Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_046206F5-3FFE-41BD-84F3-DFEDC91F20DB"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Mark R V Murray In-Reply-To: <20160328145733.0b9c9e3a42c7e623d6c68e82@bidouilliste.com> Date: Mon, 28 Mar 2016 14:07:31 +0100 Cc: freebsd-arm Message-Id: <6E62CADD-CDDF-45BB-986A-733F30F77DC8@FreeBSD.org> References: <20160328145733.0b9c9e3a42c7e623d6c68e82@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3124) X-SA-Score: -1.0 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 13:07:43 -0000 --Apple-Mail=_046206F5-3FFE-41BD-84F3-DFEDC91F20DB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 28 Mar 2016, at 13:57, Emmanuel Vadot = wrote: > Hi, >=20 > I'm not sure that we support it, from what I understand the official = screen seems to use i2c for the touchscreen part (via the FT5406 IC). > Could you run "i2c -s" on the different i2c busses to see if the chip = answers ? I see nothing on bus scans of /dev/iic[01], nut I know that I2C works as = I can talk to other I2C devices (not connected at the moment). What is more important is video; the "touch" aspect can wait. M >=20 > Thanks, >=20 > On Mon, 28 Mar 2016 13:44:36 +0100 > Mark R V Murray wrote: >=20 >> Hi Folks, >>=20 >> I have an RPi2 and I'm having some difficulties with the "official" = 7-inch touch-screen: = https://www.raspberrypi.org/blog/the-eagerly-awaited-raspberry-pi-display/= >>=20 >> I know the touchscreen works, because it works with RaspBian. I can't = get any activity out of it with FreeBSD, however. >>=20 >> I'm using FreeBSD-11-CURRENT, and the boot image is based on an = 11-CURRENT "official" download, but I added a very recent build of = sysutils/u-boot-rpi2. >>=20 >> I can build CURRENT on the machine (using a USB SSD, manually = mounted), and I made sure I had the latest RPI2.DTB file in the FAT = partition. >>=20 >> The screen stays stubbornly OFF. >>=20 >> Here is the relevant extract of CONFIG.TXT: >>=20 >> hdmi_force_unplug=3D1 >> or >> hdmi_force_hotplug=3D1 >> or >> #hdmi_safe=3D1 >> or >> hdmi_ignore_edid=3D0xa5000080 >> hdmi_drive=3D2 >> hdmi_group=3D2 >> hdmi_mode=3D28 >>=20 >> ... and I've tried a couple of combinations of the above with no = luck. I can make an HDMI TV work, but not the inbuilt ribbon-cable = interface. >>=20 >> I suspect the DTB file as FreeBSD's is much smaller than RaspBian's, = but I'm not all that clued in that department. >>=20 >> Has anyone had any better luck than me? >>=20 >> M >> -- >> Mark R V Murray >>=20 >=20 >=20 > -- > Emmanuel Vadot >=20 -- Mark R V Murray --Apple-Mail=_046206F5-3FFE-41BD-84F3-DFEDC91F20DB 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----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlb5LJgACgkQzQuKNftX15N0LACeOdxjgTq8Du7l0t9eWCR3ftfk 1hQAn02py2DF1rHswJqzVkYrtwS5jkqh =reur -----END PGP SIGNATURE----- --Apple-Mail=_046206F5-3FFE-41BD-84F3-DFEDC91F20DB--