From owner-freebsd-arm@FreeBSD.ORG Fri Dec 27 21:51:36 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 522AFEAC for ; Fri, 27 Dec 2013 21:51:36 +0000 (UTC) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 212CB1297 for ; Fri, 27 Dec 2013 21:51:35 +0000 (UTC) Received: by mail-pd0-f169.google.com with SMTP id v10so9447392pde.28 for ; Fri, 27 Dec 2013 13:51:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=tH7/hJriP5KMTyuRtVOk9AoWlUMkO2jhXzgfx7rCKOc=; b=UA+8F/Zi0j3+MXNxc5eWUg/5iYqY0JyXYkUeUfnxOz0RIriNjNYC+wTUZNy81iCXj0 uR72bS6KThwna0nDOIL2GGHb7IUpzzxELNap5q5sRTvODkHE3fjqGl1xH+eehCJ5rTTs isdP3jNG801CQNTZwowg5gPOrkR/gf+cyP9U+MYONHxQYPphv2J+8pGNOqW9wOS/HKIN wyiHuo1p+6xZpNUyEDUy0ix6zRqHJ1RP6trmXqh1PgfAannFUhw0sWYN5ljWQC87sXF6 wl9qi6u9Kl9zVBx6IvYw5g0Ir0hGB7unG6lvymkQ/q3c8AVLE94yVUIECmtd2lSEftly uPAA== X-Gm-Message-State: ALoCoQmSkJCm7tYcTKTao9GrzKQ/oOOFSJdgkBcwDZQ4TaslAeD172Z4amN+da1uojVZTB4tVONn X-Received: by 10.68.0.35 with SMTP id 3mr52947750pbb.52.1388180722479; Fri, 27 Dec 2013 13:45:22 -0800 (PST) Received: from [192.168.2.123] (99-74-169-43.lightspeed.sntcca.sbcglobal.net. [99.74.169.43]) by mx.google.com with ESMTPSA id rz6sm84129028pab.22.2013.12.27.13.45.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 27 Dec 2013 13:45:21 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: HDMI output on Beaglebone black From: Tim Kientzle In-Reply-To: Date: Fri, 27 Dec 2013 13:45:18 -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: Warner Losh X-Mailer: Apple Mail (2.1827) 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 21:51:36 -0000 On Dec 27, 2013, at 12:01 PM, Warner Losh wrote: >=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. I don=E2=80=99t 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=E2=80=99s enough information there to bring up a basic frame buffer through the LCD controller (Chapter 13). That should suffice. Tim