From owner-freebsd-arm@FreeBSD.ORG Thu May 22 16:21:53 2014 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 ESMTPS id 29F3D803; Thu, 22 May 2014 16:21:53 +0000 (UTC) Received: from mail-ee0-x231.google.com (mail-ee0-x231.google.com [IPv6:2a00:1450:4013:c00::231]) (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 87CFD22E2; Thu, 22 May 2014 16:21:52 +0000 (UTC) Received: by mail-ee0-f49.google.com with SMTP id e53so2792452eek.22 for ; Thu, 22 May 2014 09:21:50 -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:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Xbk16vfvwzynKTMIDFoOlXVkS4VmkkofMjU7QaEYO6k=; b=t762V0xIa+LTo4QWi99UE39788BR9umhzXbRr4uruem06bLR072TqDOEkhNEPIxvkQ KoJ1TsP6yqIPOUpm48YHw94Zts1hr3fMu3gikawOzxJve46ut++Bg06iqYUNj00z4CBa MJYvFv6MqtKeS34uDI3U8aqPXyahhDl+GJTAr7MaMuD97Ty3ku7sH0IzRuyRfCMR3qwX vCNUv5tS3RTE1M/Ootz5tEVNwFlOvt/84Ykw3wGNkh9hVtCTsjK9LiEsrvWzg53T1DbU QF0QlLKl0N+P8ExxDqBX5Xtrr5OWDdconV5K4YYt0kYVU7CZq6r0Nf7or4YDONjVZDvr erNA== X-Received: by 10.14.100.133 with SMTP id z5mr5704932eef.85.1400775710797; Thu, 22 May 2014 09:21:50 -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 s46sm1556667ees.3.2014.05.22.09.21.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 09:21:49 -0700 (PDT) Sender: Sulev-Madis Silber Message-ID: <537E241B.6060602@hot.ee> Date: Thu, 22 May 2014 19:21:47 +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: Ian Lepore Subject: Re: BBB MMC / SD detection instability with U-Boot 2014.04 (CPU 1GHz) References: <20140522.204656.144162099.toshi@ruby.ocn.ne.jp> <1400765234.1152.224.camel@revolution.hippie.lan> <20140522.231553.186386229.toshi@ruby.ocn.ne.jp> <1400770385.1152.233.camel@revolution.hippie.lan> In-Reply-To: <1400770385.1152.233.camel@revolution.hippie.lan> X-TagToolbar-Keys: D20140522192147342 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2014 16:21:53 -0000 On 2014-05-22 17:53, Ian Lepore wrote: > On Thu, 2014-05-22 at 11:34 -0300, Luiz Otavio O Souza wrote: >> Just picking one email to reply... >> >> This is probably unrelated, but i can consistently corrupt my SD Card >> data if i connect (and use) a very small R/C servo (the 9g ones, used >> on foam planes) to the 3.3v on the expansion headers. >> >> I'm not sure if it is because of noise or the power consumption, but >> looks like the BBB is really picky about the power conditions here. >> >> Connecting the servo to the VDD_5V on the same header makes the problem go away. >> >> So be careful about what you connect on your boards :) >> > > It looks like the 3v3b rail comes off a 500mA LDO and is already > powering several of the onboard chips (including eMMC and at least part > of the ethernet phy), so it may be power consumption. > > -- Ian > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > It's somehow related... Why does the ADC driver discard the input #8 (measures VDD_3V3B)? I don't know why exactly board designers decided to connect it there (instead of PMIC ADC mux or just header), but I have some ideas why and what to do with it. I can patch it locally too, if absolutely required. Maybe you could measure LDO status that way a bit. That of course doesn't mean you should run motors off IC power rails. Voltage measurements can't really help there. Even shared GND can sometimes be problem...