HDMI output on Beaglebone black

Oleksandr Tymoshenko gonzo at bluezbox.com
Mon Mar 24 02:34:48 UTC 2014


On Dec 26, 2013, at 1:18 PM, Oleksandr Tymoshenko <gonzo at bluezbox.com> wrote:

> 
> On 2013-12-25, at 9:08 PM, "Lundberg, Johannes" <johannes at brilliantservice.co.jp> wrote:
> 
>> Hi
>> 
>> According to the readme for Beaglebone Black in crochet-freebsd there is no
>> support for HMDI output yet (as of Dec 2013).
>> 
>> Does anyone know what is required to make this work?
> 
> You need to write driver for NXP TDA19988 HDMI (LCD to HDMI converter), driver 
> for LCD controller and vt/syscons wrapper. Also properly pinmux LCD pins in .dts.
> 
> I did some experiments few months back but didn't get far:
> http://people.freebsd.org/~gonzo/arm/patches/bbb-tda.diff

I got a little bit further with this and thought I’d better post my WIP before somebody 
wastes his/her time fixing things that’s already fixed.
Here is diff of my work dir: 
http://people.freebsd.org/~gonzo/arm/patches/tda19988.diff

There are several problems fixed comparing to first patch:

- Fixed HDMI controller I2C address
- Register write should be one I2C transaction
- Current TI I2C driver  can’t read more bytes than FIFO length. I moved read/write 
    handler to ithread, instead of notifying requesting thread with wakeup.

Kernel with this patch can read and parse EDID. I failed to get video
output working even with test pattern (part of code commented by "#if 0”). 

Part of this code is direct copy-paste from linux driver just to get something 
working before re-coding it properly.


More information about the freebsd-arm mailing list