From owner-freebsd-arm@FreeBSD.ORG Tue Oct 1 18:15:00 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 ESMTP id 947DFE06; Tue, 1 Oct 2013 18:15:00 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-ve0-x231.google.com (mail-ve0-x231.google.com [IPv6:2607:f8b0:400c:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 400A92DCF; Tue, 1 Oct 2013 18:15:00 +0000 (UTC) Received: by mail-ve0-f177.google.com with SMTP id db12so5396822veb.36 for ; Tue, 01 Oct 2013 11:14:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=5JtFX/EZkiMtb3mY8dlqCKpnk82GX5Fqu/ZRSFtwYN4=; b=PHJAOIr/Os9HV+2gkYQWNAsvPzfwORZbTN7XqArnqhF+nykC4MJeBAO+M01Q643FEF sXI+iivp/g+D9UtdpML//ODpWGnqPx2T9Ap3pKgIdiZzl3P8qUp6fhYEQD/aH3BjTnHP KdqSWux/PuuMvZE7hz+gdcGSnOlcpmsWrn6bsWcpaiTcyQQKX+MlEJPUKm/kQFuDDTv0 NKNSQYNMuYx4gn3qrmsHSGCRTn5MvPg3v6I3KwVPLa3D57Bg52yvIk0zu+SCPqByUnHZ wDmMW8NYZ8wOUs0XpFQ7Fq3oaOZU5E/uiOfbnHc2bm/zs5lPSSJcFwKO26Jkd7fZEJwd jpFA== X-Received: by 10.220.169.203 with SMTP id a11mr1705492vcz.26.1380651298799; Tue, 01 Oct 2013 11:14:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.225.34 with HTTP; Tue, 1 Oct 2013 11:14:27 -0700 (PDT) In-Reply-To: <603C57BE-8DCE-4178-B912-DBBB5CAC93B3@gromit.dlib.vt.edu> References: <603C57BE-8DCE-4178-B912-DBBB5CAC93B3@gromit.dlib.vt.edu> From: Jia-Shiun Li Date: Wed, 2 Oct 2013 02:14:27 +0800 Message-ID: Subject: Re: BBB CPU clock (was: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). To: Paul Mather Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-arm@freebsd.org" , ticso@cicely.de 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: Tue, 01 Oct 2013 18:15:00 -0000 On Tue, Oct 1, 2013 at 9:12 PM, Paul Mather wrote= : > What 5V adapter are you using? The one recommended by Adafruit for the B= eagleBone Black is a 5V 2A adapter. The BBB system reference manual states= , "A 5VDC supply can be used to provide power to the board. The power suppl= y current depends on how many and what type of add-on boards are connected = to the board. For typical use, a 5VDC supply rated at 1A should be sufficie= nt. If heavier use of the expansion headers or USB host port is expected, t= hen a higher current supply will be required." The BBB Wiki (http://circui= tco.com/support/index.php?title=3DBeagleBoneBlack) lists the power consumpt= ion of the BBB itself as 210--460 mA@5V depending on "activity and processo= r speed." I believe if you use capes with the BBB then you need to use the= external PSU. > > I've personally found the BBB to be a bit flaky when run via the USB OTG = connector. I prefer to run it via a 5V external PSU for stable operation. I tried several USB chargers originally for gadgets, rated 850~2000mA. I thought I overrode current limitation and voltage output of PMIC, but it did not seem to change much, almost like power output not altered at= all. Another thing strange is that the board is said to use DDR3L which requires 1.35v and TPS75217D, but the board has rev.C which defaults DCDC1 to 1.5v for DDR3. Just in case, I suppose the PMIC does not require extra steps to 'commit' changes? Basically what I did under u-boot prompt is like: U-Boot# i2c mm 24 1 00000001: 3d ? 3f 00000002: 00 ? U-Boot# i2c mm 24 0b 0000000b: 00 ? 72 0000000c: 7f ? U-Boot# i2c mm 24 0f 0000000f: 08 ? 11 00000010: 08 ? U-Boot# i2c mm 24 0b 0000000b: 00 ? 72 0000000c: 7f ? U-Boot# i2c mm 24 0f 0000000f: 08 ? 11 00000010: 08 ? U-Boot# mm 0x44e00488 44e00488: 00000007 ? 4 44e0048c: 00000007 ? U-Boot# mm 0x44e0042c 44e0042c: 00000017 ? 32017 44e00430: 00000000 ? U-Boot# mm 0x44e00488 44e00488: 00000004 ? 7 44e0048c: 00000007 ? U-Boot# boot Thanks, Jia-Shiun.