From owner-freebsd-arm@freebsd.org Mon Mar 28 13:04:18 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 BF085AE0540 for ; Mon, 28 Mar 2016 13:04:18 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D95541509; Mon, 28 Mar 2016 13:04:17 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 5cf47fa3; Mon, 28 Mar 2016 14:57:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=7t2JB3R9pjYeZeFmdozD54LTBlI=; b=WwAwrzP49NsSgYO5mj0UrTVucUas XGUVLzm8UVdm+WnSMD+XeNG80hi1gMIizYkFGsJiNgKVi/fKUgosFMc2v/eFiF7J NT1BFwJL08f/F1CFriAHfWL9J6MpyYdwhF5pVqRZWnk8KcqkqRO3NtYSOYXXkD3T Q8vKa0rgX38pido= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=ScIQEY6E77mE1ATi6dkOxHhOtY9BOuJjVoLysnuqZjIrSzpNRjdoyyfZ WxaMdu+RLSn3tyUcNh30XETEOxXpjLdbRTJtAnCCu6K6+TQAKKdGbChjVzZx7JSp vgBdQdkskTvtKt7DFTSP9viX4XKb9qrw+go/xwlg9P/b0AnxnDk= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id b7260a67 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 28 Mar 2016 14:57:34 +0200 (CEST) Date: Mon, 28 Mar 2016 14:57:33 +0200 From: Emmanuel Vadot To: Mark R V Murray Cc: freebsd-arm Subject: Re: RPi 2 with 7-inch touchscreen. Message-Id: <20160328145733.0b9c9e3a42c7e623d6c68e82@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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:04:18 -0000 Hi, 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 anwsers ? Thanks, On Mon, 28 Mar 2016 13:44:36 +0100 Mark R V Murray wrote: > Hi Folks, > > 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/ > > I know the touchscreen works, because it works with RaspBian. I can't get any activity out of it with FreeBSD, however. > > 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. > > 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. > > The screen stays stubbornly OFF. > > Here is the relevant extract of CONFIG.TXT: > > hdmi_force_unplug=1 > or > hdmi_force_hotplug=1 > or > #hdmi_safe=1 > or > hdmi_ignore_edid=0xa5000080 > hdmi_drive=2 > hdmi_group=2 > hdmi_mode=28 > > ... 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. > > I suspect the DTB file as FreeBSD's is much smaller than RaspBian's, but I'm not all that clued in that department. > > Has anyone had any better luck than me? > > M > -- > Mark R V Murray > -- Emmanuel Vadot