Bug 238344 - sysutils/u-boot-beaglebone : eMMC access is broken
Summary: sysutils/u-boot-beaglebone : eMMC access is broken
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Many People
Assignee: Uboot FreeBSD Mailing List
Depends on:
Reported: 2019-06-05 16:57 UTC by Sergey Manucharian
Modified: 2019-08-16 12:49 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Manucharian 2019-06-05 16:57:16 UTC
This commit:

replaced "am335x_boneblack_defconfig" with "am335x_evm_defconfig".

The latter has an option which wasn't in the former:

which brakes access to eMMC:
sdhci_ti1-slot0: Controller timeout
sdhci_ti1-slot0: ============== REGISTER DUMP ==============
sdhci_ti1-slot0: Sys addr: 0x00000000 | Version:  0x00003101
sdhci_ti1-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
sdhci_ti1-slot0: Argument: 0x00000000 | Trn mode: 0x00000102
sdhci_ti1-slot0: Present:  0x01f70000 | Host ctl: 0x00000000
sdhci_ti1-slot0: Power:    0x00000000 | Blk gap:  0x00000000
sdhci_ti1-slot0: Wake-up:  0x00000000 | Clock:    0x00008007
sdhci_ti1-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb
sdhci_ti1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_ti1-slot0: Caps:     0x04e10080 | Caps2:    0x00000000
sdhci_ti1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_ti1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_ti1-slot0: ===========================================

The boot process is delayed, and the corresponding devices /dev/mmcsd1* are missing.

Replacing that option with 

fixes the issue. I didn't dig deep enough to find the root cause.
Comment 1 Bugzilla Automation freebsd_committer 2019-06-05 16:57:16 UTC
Maintainer informed via mail
Comment 2 Denis Polygalov 2019-07-14 09:02:55 UTC
FYI this bug renders following images useless:


and therefore cause averse reaction in new people
who like FreeBSD on big PCs and trying to get 
into FreeBSD+ARM world which already desperately 
lacking developers and users.