From owner-freebsd-arm@FreeBSD.ORG Tue May 13 19:55:16 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 8E6CA612; Tue, 13 May 2014 19:55:16 +0000 (UTC) Received: from mail-ee0-x233.google.com (mail-ee0-x233.google.com [IPv6:2a00:1450:4013:c00::233]) (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 E8CF3294D; Tue, 13 May 2014 19:55:15 +0000 (UTC) Received: by mail-ee0-f51.google.com with SMTP id e51so746524eek.38 for ; Tue, 13 May 2014 12:55:14 -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=D3hkr24+rK9J5YeJ35bsYl0snQA0JH8Ull0cBHJ1lUs=; b=o3H8tuk+dSMlxNgLdJbg4iXamfqlwrDJHKCWV7Gy54s3nKixCYpN7Pxz+1ccqdo4QR DXCMao2qlLQUM7oCCFC20A4IRtd3R8g8vhAhautEtloXJPJZAg8S9KMSb7L2FVLeg4yb LmcZmKx9tHiY8K9Idrla+oVQNJ33oeqDBHvXGxZFH/H1hJs5TLFhwsdUYMJf4jAQQ8+8 WclRfae7sI9XWUlVB7jRfkXwm3iCr2OxufF9LKGmwjlul7oQkRyaQz7/gJzrEsERECzu XxKul/YNGlfL7Q8iOulLPkoOrfV6heLJYuIjCLpvxZacHw0JIboUZvVIXzE30EaF3SLK dVfA== X-Received: by 10.14.108.198 with SMTP id q46mr43484946eeg.31.1400010914161; Tue, 13 May 2014 12:55:14 -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 o5sm42399092eeg.8.2014.05.13.12.55.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 May 2014 12:55:12 -0700 (PDT) Sender: Sulev-Madis Silber Message-ID: <5372789E.8020103@hot.ee> Date: Tue, 13 May 2014 22:55:10 +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: Winston Smith Subject: Re: Patch to make BBB properly boot from eMMC every time References: <5371E1F3.6080002@hot.ee> <1399987808.56626.2.camel@revolution.hippie.lan> <1399991632.56626.7.camel@revolution.hippie.lan> In-Reply-To: X-TagToolbar-Keys: D20140513225510262 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-arm , Ian Lepore 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: Tue, 13 May 2014 19:55:16 -0000 On 2014-05-13 20:11, Winston Smith wrote: > On Tue, May 13, 2014 at 10:33 AM, Ian Lepore wrote: >> Does your emmc come up as 8-bit reliably every time? > > No, not since I've rebuilt (using 11-CURRENT r265949). I'm using > Tim's updated crochet-freebsd which now includes the 1Ghz patches. > This time around, instead of the 15 second hang I previously reported, > it hung for maybe 60s before generating this message: > > mmcsd0: 4GB at mmc0 > 48.0MHz/4bit/65535-block > uhub1: 1 port with 1 removable, self powered > uhub0: 1 port with 1 removable, self powered > random: unblocking device. ###### HANGS HERE ... ###### > sdhci_ti1-slot0: Got data interrupt 0x00000002, but there is no active command. > sdhci_ti1-slot0: ============== REGISTER DUMP ============== > sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 > sdhci_ti1-slot0: Blk size: 0x00000004 | Blk cnt: 0x00000001 > sdhci_ti1-slot0: Argument: 0x00020000 | Trn mode: 0x0000071b > sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 > sdhci_ti1-slot0: Power: 0x0000000d | Blk gap: 0x00000000 > sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 > sdhci_ti1-slot0: Timeout: 0x00000006 | Int stat: 0x00000000 > sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb > sdhci_ti1-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 > sdhci_ti1-slot0: Caps: 0x06e10080 | Max curr: 0x00000000 > sdhci_ti1-slot0: =========================================== > sdhci_ti1-slot0: Got data interrupt 0x00000002, but there is no active command. > sdhci_ti1-slot0: ============== REGISTER DUMP ============== > sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 > sdhci_ti1-slot0: Blk size: 0x00000004 | Blk cnt: 0x00000001 > sdhci_ti1-slot0: Argument: 0x00020000 | Trn mode: 0x0000071b > sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 > sdhci_ti1-slot0: Power: 0x0000000d | Blk gap: 0x00000000 > sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 > sdhci_ti1-slot0: Timeout: 0x00000006 | Int stat: 0x00000000 > sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb > sdhci_ti1-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 > sdhci_ti1-slot0: Caps: 0x06e10080 | Max curr: 0x00000000 > sdhci_ti1-slot0: =========================================== > sdhci_ti1-slot0: Got data interrupt 0x00000002, but there is no active command. > sdhci_ti1-slot0: ============== REGISTER DUMP ============== > sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 > sdhci_ti1-slot0: Blk size: 0x00000004 | Blk cnt: 0x00000001 > sdhci_ti1-slot0: Argument: 0x00020000 | Trn mode: 0x0000071b > sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 > sdhci_ti1-slot0: Power: 0x0000000d | Blk gap: 0x00000000 > sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 > sdhci_ti1-slot0: Timeout: 0x00000006 | Int stat: 0x00000000 > sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb > sdhci_ti1-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 > sdhci_ti1-slot0: Caps: 0x06e10080 | Max curr: 0x00000000 > sdhci_ti1-slot0: =========================================== > sdhci_ti1-slot0: Got data interrupt 0x00000002, but there is no active command. > sdhci_ti1-slot0: ============== REGISTER DUMP ============== > sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 > sdhci_ti1-slot0: Blk size: 0x00000004 | Blk cnt: 0x00000001 > sdhci_ti1-slot0: Argument: 0x00020000 | Trn mode: 0x0000071b > sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 > sdhci_ti1-slot0: Power: 0x0000000d | Blk gap: 0x00000000 > sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 > sdhci_ti1-slot0: Timeout: 0x00000006 | Int stat: 0x00000000 > sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb > sdhci_ti1-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 > sdhci_ti1-slot0: Caps: 0x06e10080 | Max curr: 0x00000000 > sdhci_ti1-slot0: =========================================== > am335x_pmic0: TPS65217C ver 1.2 powered by AC > Trying to mount root from ufs:/dev/ufs/sdfreebsd1 [rw,noatime]... > > > It did not appear to detect the eMMC. > _______________________________________________ > 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" > That's bit different issue. I would actually want to have 1GHz WITH eMMC... now it's impossible. First that, then maybe variable freq later (if possible). I certainly have usage for such speeds somewhere. But right now BBB is so stable. I would put snapshot of CURRENT to production right now. I now also have taken all debugging options out. I didn't realize how SLOW things are with WITNESS & others on. Maybe when I get more than one copy of same HW, I could run some of them with WITNESS on too (would it actually give me some useful data I could report back?)