From owner-freebsd-arm@FreeBSD.ORG Fri Sep 27 23:18:12 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 66F68EBD; Fri, 27 Sep 2013 23:18:12 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E6CCC2177; Fri, 27 Sep 2013 23:18:11 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id r8RNI9F7027700 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 28 Sep 2013 01:18:10 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id r8RNI7tA029018 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Sep 2013 01:18:07 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id r8RNI7ro084910; Sat, 28 Sep 2013 01:18:07 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id r8RNI7Ea084909; Sat, 28 Sep 2013 01:18:07 +0200 (CEST) (envelope-from ticso) Date: Sat, 28 Sep 2013 01:18:07 +0200 From: Bernd Walter To: Tim Kientzle Subject: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). Message-ID: <20130927231807.GG82284@cicely7.cicely.de> References: <1378866956.1111.608.camel@revolution.hippie.lan> <1379101800.1111.642.camel@revolution.hippie.lan> <20130926223120.GM65622@cicely7.cicely.de> <8F8B0558-4B7A-4BC6-BF93-A89E5533C567@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8F8B0558-4B7A-4BC6-BF93-A89E5533C567@freebsd.org> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-arm@freebsd.org, ticso@cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ticso@cicely.de 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 23:18:12 -0000 On Thu, Sep 26, 2013 at 07:43:39PM -0700, Tim Kientzle wrote: > > 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. This matches with what I got from reading some mails on a NetBSD list: http://mail-index.netbsd.org/port-arm/2013/08/01/msg001932.html I didn't find any definitive answer about barrel plug vs. USB supply. It seems that via USB the performance is to be reduced. However using a lab supply I measured via barrel plug supply 270mA with 550MHz FreBSD and 320mA with preinstalled Linux at unknown frequency. Maybe precaution for higher load, or USB devices sucking power. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.