Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2014 19:34:08 -0700
From:      Oleksandr Tymoshenko <gonzo@bluezbox.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: HDMI output on Beaglebone black
Message-ID:  <536748F0-FE1C-42CD-B33A-D7484282D840@bluezbox.com>
In-Reply-To: <7C58B233-1E84-47A3-ABB2-0038928BB1B2@bluezbox.com>
References:  <CAASDrVnu-0vJsnnp-rEQAT6dkg3eyNcjTejYzwwaKDpfkzFXdw@mail.gmail.com> <7C58B233-1E84-47A3-ABB2-0038928BB1B2@bluezbox.com>

index | next in thread | previous in thread | raw e-mail


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

> 
> On 2013-12-25, at 9:08 PM, "Lundberg, Johannes" <johannes@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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?536748F0-FE1C-42CD-B33A-D7484282D840>