microSD/eMMC not working with linux 4.18+

281 views
Skip to first unread message

Vagrant Cascadian

unread,
Feb 1, 2019, 2:26:30 PM2/1/19
to beagleboard-x15
Using the kernels shipped with Debian, since linux 4.18 the
beagleboard-x15 no longer recognizes microSD or eMMC.

Reverting to the earlier 4.17.x kernels "fixes" it, but Debian buster
will be released with 4.19.x, and it would be a shame for it to not work
out of the box.

the omap_hsmmc module loads fine, but doesn't detect anything, and
doesn't leave any obvious error or warnings in the logs.

Are there any changes to the needed regulators or some soft module
dependency in newer kernel versions that might need to be updated in the
kernel config? Other ideas?

Thanks!

live well,
vagrant
signature.asc

Gerald Coley

unread,
Feb 1, 2019, 2:33:09 PM2/1/19
to Vagrant Cascadian, beagleboard-x15
See below.

Gerald

-----Original Message-----
From: beagleb...@googlegroups.com [mailto:beagleb...@googlegroups.com] On Behalf Of Vagrant Cascadian
Sent: Friday, February 1, 2019 1:26 PM
To: beagleboard-x15 <beagleb...@googlegroups.com>
Subject: microSD/eMMC not working with linux 4.18+

Using the kernels shipped with Debian, since linux 4.18 the
beagleboard-x15 no longer recognizes microSD or eMMC.

[GC] Weird. This is a AM5728. X15 uses the AM5729, but TI never released it to production and you cannot buy it, you have to use the AM5728

Reverting to the earlier 4.17.x kernels "fixes" it, but Debian buster will be released with 4.19.x, and it would be a shame for it to not work out of the box.

[GC] Sounds like Robert may have to get involved here.

the omap_hsmmc module loads fine, but doesn't detect anything, and doesn't leave any obvious error or warnings in the logs.

Are there any changes to the needed regulators or some soft module dependency in newer kernel versions that might need to be updated in the kernel config? Other ideas?

[GC] Other than the processor, everything else is the same on this board. Does the 4.19 use the high speed support for the eMMC and the uSD?

Thanks!

live well,
vagrant

--
You received this message because you are subscribed to the Google Groups "beagleboard-x15" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard-x...@googlegroups.com.
To post to this group, send email to beagleb...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard-x15/87bm3ve2e7.fsf%40ponder.
For more options, visit https://groups.google.com/d/optout.

Robert Nelson

unread,
Feb 1, 2019, 2:36:47 PM2/1/19
to Vagrant Cascadian, beagleboard-x15
Enable CONFIG_MMC_SDHCI_OMAP

TI's transiting from the custom omap_hsmmc module to one built off the
SDHCI library. (main advantage is common library, split voltage, etc)

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=940293affa7ed7c0bdb1820ecf7a8f12e901d030

Based on what's going on in ti's git tree, this will be extended to
older devices..

Regards,

--
Robert Nelson
https://rcn-ee.com/

Gerald Coley

unread,
Feb 1, 2019, 2:36:54 PM2/1/19
to Gerald Coley, Vagrant Cascadian, beagleboard-x15
One correction here. This is a new board that I am working on, not the current build of the X15. We are using the AM5728. We are having some issues with it on the uSD card. Not sure about eMMC because we have not gotten that far. We are getting a kernel panic in that case.

I am not sure which version of Debian this is, I need to check.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard-x15/8586891354e44960bccee0e15b637816%40winhexbeus11.winus.mail.

Robert Nelson

unread,
Feb 1, 2019, 2:50:43 PM2/1/19
to Gerald Coley, Vagrant Cascadian, beagleboard-x15
On Fri, Feb 1, 2019 at 1:36 PM Gerald Coley <gco...@emprodesign.com> wrote:
>
> One correction here. This is a new board that I am working on, not the current build of the X15. We are using the AM5728. We are having some issues with it on the uSD card. Not sure about eMMC because we have not gotten that far. We are getting a kernel panic in that case.

split 3.3/1.8 i/o domain?

Gerald Coley

unread,
Feb 1, 2019, 2:53:15 PM2/1/19
to Robert Nelson, Vagrant Cascadian, beagleboard-x15
Maybe I am trying to check that now, backtracking back to the original design. This area was not changed, but it has been a while.

Vagrant Cascadian

unread,
Feb 1, 2019, 6:15:13 PM2/1/19
to Robert Nelson, beagleboard-x15
On 2019-02-01, Robert Nelson wrote:
> On Fri, Feb 1, 2019 at 1:26 PM Vagrant Cascadian <vag...@debian.org> wrote:
>> Using the kernels shipped with Debian, since linux 4.18 the
>> beagleboard-x15 no longer recognizes microSD or eMMC.
>>
>> Reverting to the earlier 4.17.x kernels "fixes" it, but Debian buster
>> will be released with 4.19.x, and it would be a shame for it to not work
>> out of the box.
>>
>> the omap_hsmmc module loads fine, but doesn't detect anything, and
>> doesn't leave any obvious error or warnings in the logs.
>>
>> Are there any changes to the needed regulators or some soft module
>> dependency in newer kernel versions that might need to be updated in the
>> kernel config? Other ideas?
>
> Enable CONFIG_MMC_SDHCI_OMAP

That was it, thanks!

Enabled in the the Debian kernel packaging for the next upload:

https://salsa.debian.org/kernel-team/linux/commit/0837abc977e6ff3b2e27f362136ebd01909082fc


live well,
vagrant
signature.asc
Reply all
Reply to author
Forward
0 new messages