From owner-freebsd-arm@FreeBSD.ORG Thu May 22 11:46:59 2014 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 ESMTPS id 76349429 for ; Thu, 22 May 2014 11:46:59 +0000 (UTC) Received: from msgw002-03.ocn.ad.jp (msgw002-03.ocn.ad.jp [180.37.203.78]) by mx1.freebsd.org (Postfix) with ESMTP id 45B0B28F4 for ; Thu, 22 May 2014 11:46:59 +0000 (UTC) Received: from localhost (p12095-ipngn100104sizuokaden.shizuoka.ocn.ne.jp [153.185.230.95]) by msgw002-03.ocn.ad.jp (Postfix) with ESMTP id 4C1D1A4ADFB; Thu, 22 May 2014 20:46:58 +0900 (JST) Date: Thu, 22 May 2014 20:46:56 +0900 (JST) Message-Id: <20140522.204656.144162099.toshi@ruby.ocn.ne.jp> To: smith.winston.101@gmail.com Subject: Re: BBB MMC / SD detection instability with U-Boot 2014.04 (CPU 1GHz) From: SAITOU Toshihide In-Reply-To: References: <20140521.214356.02299991.toshi@ruby.ocn.ne.jp> <20140522.002051.68155865.toshi@ruby.ocn.ne.jp> X-GPG-fingerprint: 34B3 0B6A 8520 F5B0 EBC7 69F6 C055 9F8A 0D49 F8FC X-Mailer: Mew version 6.2.51 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii 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 11:46:59 -0000 In message: Winston Smith writes: > On Wed, May 21, 2014 at 11:20 AM, SAITOU Toshihide wrote: >> If abort like >> >> musbotg0: TI AM335X USBSS v0.0.13 >> Fatal kernel mode data abort: 'External Non-Linefetch Abort (S)' >> trapframe: 0xc0a2eb60 > > I see this with the 1Ghz uboot, it occurs about 50% of the time, see: > > http://comments.gmane.org/gmane.os.freebsd.devel.arm/8200 Although it is an ad hoc workaround but ``usb start'' at u-boot command prompt (someone mentioned before) or add device_printf("!\n") before ``rev = USBSS_READ4(sc, USBSS_REVREG);'' in the musbotg_attach of am335x_usbss.c prevent this panic for me. Anyway I understand my procedure is workaround, and is working by chance or side effect, but eMMC boot and 1000 MHz operation is fun. -- SAITOU Toshihide