From owner-freebsd-arm@FreeBSD.ORG Mon Sep 30 21:09: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 E41B53FA; Mon, 30 Sep 2013 21:09:49 +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 5A07125BD; Mon, 30 Sep 2013 21:09:48 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id r8UL9kg5064776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 30 Sep 2013 23:09:47 +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 r8UL9ipQ068651 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Sep 2013 23:09:44 +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 r8UL9iDx004835; Mon, 30 Sep 2013 23:09:44 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id r8UL9iMZ004834; Mon, 30 Sep 2013 23:09:44 +0200 (CEST) (envelope-from ticso) Date: Mon, 30 Sep 2013 23:09:44 +0200 From: Bernd Walter To: Jia-Shiun Li Subject: Re: BBB CPU clock (was: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). Message-ID: <20130930210944.GH93103@cicely7.cicely.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-0.0 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, FRT_SOMA=2.871, FRT_SOMA2=0.001, T_RP_MATCHES_RCVD=-0.01 autolearn=no 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: Mon, 30 Sep 2013 21:09:50 -0000 On Tue, Oct 01, 2013 at 05:04:29AM +0800, Jia-Shiun Li wrote: > On Mon, Sep 30, 2013 at 11:26 AM, Tim Kientzle wrote: > > > > My understanding: > > > > * We should query the PMIC to determine whether we're running from 5V supply or USB. > > > > * Based on that, we should adjust the CPU clocks. We should be able to run 1GHz from 5v supply. > > > > Connecting cpufreq would be a nice addition. > > Hi Tim, > > Yes you are right. I digged a bit the PMIC docs. > I didn't realize that DCDC2/3 output to MPC/core are adjustable. > > The PMIC capped USB input at 500mA by default, so if not changed otherwise, > or to be safe with what most USB power supplies are, it is correct to only go up > to 1GHz on DC input. > > I played for a while manually setting PMIC from u-boot prompt, setting MPU volt > to 1.325v, raise USB current limit, etc. but still cannot get it run > above 800MHz. > It always stopped booting at initing uhub. Looks like I need a bigger > DC adapter. I can do some tests with a lab supply. But right now I'm doing some tests with another board. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.