RPi 2 with 7-inch touchscreen.

Oleksandr Tymoshenko gonzo at bluezbox.com
Mon Mar 28 18:49:15 UTC 2016


> On Mar 28, 2016, at 11:40 AM, Mark R V Murray <markm at FreeBSD.org> wrote:
> 
> 
>> On 28 Mar 2016, at 18:37, Oleksandr Tymoshenko <gonzo at bluezbox.com> 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


Try copying firmware files from raspbian image as this comment suggests:
http://kernelnomicon.org/?p=540#comment-40186

Port may have older firmware, can't check right now.

>> 
>> 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.
>> 
> 
> 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 :-/ 


More information about the freebsd-arm mailing list