From owner-freebsd-arm@FreeBSD.ORG Wed Oct 8 14:00:36 2014 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C5DD09C4 for ; Wed, 8 Oct 2014 14:00:36 +0000 (UTC) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5210A25E for ; Wed, 8 Oct 2014 14:00:36 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id m15so11819776wgh.16 for ; Wed, 08 Oct 2014 07:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=RhaXr9/v+1JMsN4deEGxbKowJcDCAq50+nHiQJkM524=; b=HUnagwU+9bGcmI/N4vYTpjqm5SRc2fUgVs6vIk4xYvTVyjlYia0uOHWCDgoB80UgGt 8uz70yTivQ6oLKDqHCxi1acUsJzYtcY2ngNQdcqedFH7sN3Fs2QcNgsaCkYltW1Eys5Q DG0275UJ9Of4z+K6sqHEZiNJIVsZVWMMdDILYqtD33O2W2V4wAR4bTFqMiusFgVWRBoS R1gcvaTN2esbDMfo8eQ/pd2INJQb9/xrBL1barJ8appJC3rx7+PsQFqtSKa8jtvMoBkK Z0mMHWTxZU6MTC5jOGbvT9yKpa5r4SYi8nHXi1mZpGvcVtm+b9MKAVJhvI7VZuJ4MZP6 GVJw== X-Received: by 10.194.236.102 with SMTP id ut6mr11453759wjc.19.1412776834403; Wed, 08 Oct 2014 07:00:34 -0700 (PDT) Received: from ketas-laptop.mydomain (ketas-laptop6.si.pri.ee. [2001:ad0:91f:0:21a:6bff:fe66:2ad3]) by mx.google.com with ESMTPSA id dc9sm18653693wib.5.2014.10.08.07.00.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Oct 2014 07:00:32 -0700 (PDT) Sender: Sulev-Madis Silber Message-ID: <5435437B.4090803@hot.ee> Date: Wed, 08 Oct 2014 17:00:27 +0300 From: "Sulev-Madis Silber (ketas)" User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: Luiz Otavio O Souza , ticso@cicely.de, AN , "freebsd-arm@freebsd.org" Subject: Re: FreeBSD on BeagleBone Black References: <20141008010436.GA12125@cicely7.cicely.de> <20141008030621.GU1852@funkthat.com> <20141008053451.GV1852@funkthat.com> In-Reply-To: <20141008053451.GV1852@funkthat.com> X-TagToolbar-Keys: D20141008170026154 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2014 14:00:37 -0000 On 2014-10-08 08:34, John-Mark Gurney wrote: > Luiz Otavio O Souza wrote this message on Wed, Oct 08, 2014 at 01:07 -0300: >> On 8 October 2014 00:06, John-Mark Gurney wrote: >>> Bernd Walter wrote this message on Wed, Oct 08, 2014 at 03:04 +0200: >>>> On Tue, Oct 07, 2014 at 05:05:10PM -0400, AN wrote: >>>>> Hi List: >>>>> >>>>> I have been using FreeBSD current on amd64 for many years. I now have a >>>>> project that I want to try to run on FreeBSD. I'm trying to boot a >>>>> FreeBSD image on a BeagleBone Black Rev C without success. >>>>> >>>>> FreeBSD-11.0-CURRENT-arm-armv6-BEAGLEBONE-20140903-r270990.img >>>>> FreeBSD-arm-10.0-BEAGLEBONE.img >>>>> >>>>> The above images fail to boot. >>>> >>>> Basicly the BBB works very well under FreeBSD. >>>> Did you check the uart output? >>>> I'm not sure if those images are build with grafic support and >>>> there will be nothing on HDMI or attached LCD without it. >>>> To be honest: I don't even know if we have support for that output >>>> already with the BBB. >>> >>> We definately do not support output on HDMI... I'm trying to get the >>> datasheet so I can get HDMI output working... >> >> Please, see: https://lists.freebsd.org/pipermail/freebsd-arm/2014-March/007822.html >> >> Gonzo did the LCD driver (which feed data into HDMI framer) and tried >> to port the TDA19988 HDMI framer driver. > > Yeh, I got patches from him recently for this, but he said he was still > having issues... I'm waiting for the Foundation to get a proper spec > sheet from NXP for the TDA19988... I really don't like working blind.. > >> I've fixed the i2c controller issues on -head so you can skip that >> part from gonzo's patch. > > Cool, thanks for the help.... > >> I also see some GPIO pins on schematics (like GPIO0_19 and GPIO1_27 on >> page 3) which may need to be set for the HDMI support and i did not >> check the gonzo's code to verify if they are properly set. > > Yeh, GPIO1_27 is the one that enables the clock to the HDMI chip and > when I was looking over his patch, I didn't see anything for enabling > it... This is mentioned in the SRM... > > Looks like GPIO0_19 isn't necessary as that is the clock for CEC, > and we don't need that till later (say use the TV remote as an input > device)... > Oh, I would like to get HDMI working. I know LCD should work somewhat, showing console. I never looked what does it take to get X or even non-X graphics working. But BBB definitely works. CPU runs at 1GHz, board boots from eMMC. Ethernet, ADC, GPIO, I2C, UART works. There are few glitches related to booting. Maybe some others. And I don't deny that you need certain amount of hackerness to use it right now.