From owner-freebsd-arm@FreeBSD.ORG Fri Dec 27 22:18:43 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 58773951 for ; Fri, 27 Dec 2013 22:18:43 +0000 (UTC) Received: from id.bluezbox.com (id.bluezbox.com [88.198.91.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B51101478 for ; Fri, 27 Dec 2013 22:18:42 +0000 (UTC) Received: from [174.7.211.124] (helo=[192.168.0.186]) by id.bluezbox.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1Vwfjg-0002Lt-JO; Fri, 27 Dec 2013 14:18:30 -0800 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: HDMI output on Beaglebone black From: Oleksandr Tymoshenko In-Reply-To: Date: Fri, 27 Dec 2013 14:17:57 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <7C58B233-1E84-47A3-ABB2-0038928BB1B2@bluezbox.com> <29b6bc61-c513-4d98-8aed-4e1ea6ebe4da@email.android.com> To: Tim Kientzle X-Mailer: Apple Mail (2.1510) Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: On 2013-12-27, at 1:45 PM, Tim Kientzle wrote: > > On Dec 27, 2013, at 12:01 PM, Warner Losh wrote: > >> >> On Dec 27, 2013, at 1:37 AM, Aleksandr Rybalko wrote: >> >>> Tim Kientzle написав(ла): >>>> >>>> On Dec 26, 2013, at 1:18 PM, Oleksandr Tymoshenko >>>> wrote: >>>> >>>>> >>>>> On 2013-12-25, at 9:08 PM, "Lundberg, Johannes" >>>> 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. >>>> >>>> Does newcons make this any simpler? >>> >>> Yup, much simpler. >>> You only have to fill fb_info struct and call fbd to attach or attach fbd child. >> >> Chances are we'll need to create an Android graphics interface module. Most of the GPUs are programmed with binary blobs that we'll have no hope of getting. However, the interface to Android is fairly standard so we should be able to leverage off that. > > I don’t think we need that just to get a working console. > > I just skimmed through the AM335x TRM: > http://www.ti.com/lit/ug/spruh73j/spruh73j.pdf > > It looks like there’s enough information there to bring up a > basic frame buffer through the LCD controller (Chapter 13). > That should suffice. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: bluezbox.com] -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Aleksandr Rybalko , "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2013 22:18:43 -0000 On 2013-12-27, at 1:45 PM, Tim Kientzle wrote: >=20 > On Dec 27, 2013, at 12:01 PM, Warner Losh wrote: >=20 >>=20 >> On Dec 27, 2013, at 1:37 AM, Aleksandr Rybalko wrote: >>=20 >>> Tim Kientzle =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0= =B2(=D0=BB=D0=B0): >>>>=20 >>>> On Dec 26, 2013, at 1:18 PM, Oleksandr Tymoshenko = >>>> wrote: >>>>=20 >>>>>=20 >>>>> On 2013-12-25, at 9:08 PM, "Lundberg, Johannes" >>>> wrote: >>>>>=20 >>>>>> Hi >>>>>>=20 >>>>>> According to the readme for Beaglebone Black in crochet-freebsd >>>> there is no >>>>>> support for HMDI output yet (as of Dec 2013). >>>>>>=20 >>>>>> Does anyone know what is required to make this work? >>>>>=20 >>>>> You need to write driver for NXP TDA19988 HDMI (LCD to HDMI >>>> converter), driver=20 >>>>> for LCD controller and vt/syscons wrapper. Also properly pinmux = LCD >>>> pins in .dts. >>>>=20 >>>> Does newcons make this any simpler? >>>=20 >>> Yup, much simpler. >>> You only have to fill fb_info struct and call fbd to attach or = attach fbd child. >>=20 >> Chances are we'll need to create an Android graphics interface = module. Most of the GPUs are programmed with binary blobs that we'll = have no hope of getting. However, the interface to Android is fairly = standard so we should be able to leverage off that. >=20 > I don=E2=80=99t think we need that just to get a working console. >=20 > I just skimmed through the AM335x TRM: > http://www.ti.com/lit/ug/spruh73j/spruh73j.pdf >=20 > It looks like there=E2=80=99s enough information there to bring up a > basic frame buffer through the LCD controller (Chapter 13). > That should suffice. I forgot about this. We already have LCD controller driver for AM335x: sys/arm/ti/am335x/am335x_lcd.* It was only tested on AM335x EVM with LCD though.=