Date: Mon, 28 Mar 2016 10:37:37 -0700 From: Oleksandr Tymoshenko <gonzo@bluezbox.com> To: Mark R V Murray <markm@FreeBSD.org> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: RPi 2 with 7-inch touchscreen. Message-ID: <DAD83ACE-69B5-4876-A0BD-338FF71C090C@bluezbox.com> In-Reply-To: <C03C0CD0-F135-4FF1-9F07-D1C73F46E5CF@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
> On Mar 28, 2016, at 5:44 AM, Mark R V Murray <markm@FreeBSD.org> 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? 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: lcd_rotate=2 hdmi_force_hotplug=1 display_default_lcd=1 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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DAD83ACE-69B5-4876-A0BD-338FF71C090C>
