From owner-freebsd-arm@FreeBSD.ORG Fri Sep 27 02:43:49 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 ESMTP id 7871E576 for ; Fri, 27 Sep 2013 02:43:49 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 52BA32B59 for ; Fri, 27 Sep 2013 02:43:49 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r8R2heZp035235; Fri, 27 Sep 2013 02:43:40 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id 99j7gwtz7uvxtyps6tm259msyw; Fri, 27 Sep 2013 02:43:40 +0000 (UTC) (envelope-from kientzle@freebsd.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). From: Tim Kientzle In-Reply-To: <20130926223120.GM65622@cicely7.cicely.de> Date: Thu, 26 Sep 2013 19:43:39 -0700 Content-Transfer-Encoding: 7bit Message-Id: <8F8B0558-4B7A-4BC6-BF93-A89E5533C567@freebsd.org> References: <1378866956.1111.608.camel@revolution.hippie.lan> <1379101800.1111.642.camel@revolution.hippie.lan> <20130926223120.GM65622@cicely7.cicely.de> To: ticso@cicely.de X-Mailer: Apple Mail (2.1510) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 02:43:49 -0000 On Sep 26, 2013, at 3:31 PM, Bernd Walter wrote: > I also noted that the Beaglebone Black seems to run at 550MHz only. > I've found out from NetBSD mailinglist, that the PLL must be > reprogrammed for higer frequency and the core voltage needs adjustment > too. > Of those 3 boards the BBB was the only board mention CPU frequency at all. I've not looked into the code required, but I know some of the issues: * For the older "white" Beaglebone, at least, the CPU frequency needs to be set properly depending on the power supply. So "someone" needs to read the PMIC and determine whether power is coming from the 5V input or from USB. In the latter case, I believe the lower frequency may be appropriate. * For BB White, I believe the "someone" was U-Boot; the FreeBSD kernel just assumed the CPU was already properly initialized. I haven't looked to see if the U-Boot we're using now does power config for BBB. * We should add a PMIC driver and do this setting in our kernel. Tim