Anybody using an Adafruit PiTFT display?
Alan Corey
alan01346 at gmail.com
Fri May 9 02:28:57 UTC 2014
This sent prematurely and wasn't complete.
In Linux you define FRAMEBUFFER = /dev/fb1 in the environment, then
you can type startx even in an ssh session and X opens on the PiTFT.
Seems like some of that has to be kernel stuff to create a /dev/fb
device but somehow that connects to X. The touchscreen is handled as
an X input.
dmesg shows me:
dmesg | grep fb
fb0: <BCM2835 framebuffer device> on fdtbus0
fb0: 656x416(0x0 at 0,0) 16bpp
fb0: pitch 1312, base 0x5e006000, screen_size 545792
But I think that's just the Pi, not the TFT. I'm still downloading
stuff to look at.
On 5/8/14, Alan Corey <alan01346 at gmail.com> wrote:
> In Linux you define FRAMEBUFFER = /DEV/FB1
>
> On 5/8/14, Adrian Chadd <adrian at freebsd.org> wrote:
>> Hm, looks like someone would need to write a VT driver for the thing.
>>
>> I don't know about how to get X onto it though. Do we have any support
>> for X to render to VT console?
>>
>>
>> -a
>>
>>
>> On 8 May 2014 00:36, Alan Corey <alan01346 at gmail.com> wrote:
>>> Adafruit doesn't support anything but Raspbian officially, but one guy
>>> there is a NetBSD user. I'm not really qualified but I bought the
>>> display and I'm starting to look into making it work under FreeBSD,
>>> but only because OpenBSD doesn't support the Pi and I don't like
>>> Linux. I've been using OpenBSD about 14 years, once in a while
>>> FreeBSD.
>>>
>>> It uses a framebuffer which I'm not totally familiar with, and console
>>> output and X output can appear on its screen. It's a 2.8 inch TFT LCD
>>> with LED backlight and touchscreen, plugs into the GPIO connector.
>>> It's supported partly by Adafruit's patches to the Linux kernel,
>>> connects mostly to the SPI interface and a couple GPIO pins, sells for
>>> about $40.
>>>
>>> If I do a dmesg to a file, then shut down, plug in the board, boot
>>> back up and do a dmesg to another file and compare the files it looks
>>> like nothing on the board is recognized. New hobby.
>>>
>>> Anyone done anything with one?
>>>
>>> Alan
>>>
>>> --
>>> Credit is the root of all evil. - AB1JX
>>> _______________________________________________
>>> freebsd-arm at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
>>
>
>
> --
> Credit is the root of all evil. - AB1JX
>
--
Credit is the root of all evil. - AB1JX
More information about the freebsd-arm
mailing list