Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 2014 13:11:37 -0400
From:      Winston Smith <smith.winston.101@gmail.com>
To:        Ian Lepore <ian@freebsd.org>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Patch to make BBB properly boot from eMMC every time
Message-ID:  <CADH-AwHs2bNXyh-ADuMy8NgkdaakKi4hx1qz8bjB4heicFJy3w@mail.gmail.com>
In-Reply-To: <1399991632.56626.7.camel@revolution.hippie.lan>
References:  <5371E1F3.6080002@hot.ee> <1399987808.56626.2.camel@revolution.hippie.lan> <CADH-AwGftVJCi9NrAfQs6CYNifM04DZu9rtVF4k6Cd6irFk7fg@mail.gmail.com> <1399991632.56626.7.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 13, 2014 at 10:33 AM, Ian Lepore <ian@freebsd.org> 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 <SDHC SA04G 0.4 SN 2617245739 MFG 05/2010 by 2 TM> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADH-AwHs2bNXyh-ADuMy8NgkdaakKi4hx1qz8bjB4heicFJy3w>