mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Michael Tretter <m.tretter@pengutronix.de>, barebox@lists.infradead.org
Subject: Re: Radxa ROCK 5T: SD card startup failure
Date: Mon, 9 Feb 2026 17:43:52 +0100	[thread overview]
Message-ID: <9c43e381-38cc-4c10-bf03-b874a6daba10@pengutronix.de> (raw)
In-Reply-To: <aWEab3b5tMev5AU4@pengutronix.de>

Hello Michael,

On 1/9/26 4:10 PM, Michael Tretter wrote:
> It seems to me that the SD host controller fails to correctly initialize
> if the card detect it directly muxed as GPIO instead of muxing it to the
> SD host controller. At least that's what I understand from
> https://lore.kernel.org/linux-rockchip/4920950.GXAFRqVoOG@diego/.
> 
> May there be some configuration in the SD host controller that needs to
> be changed to ignore the card detect?

The driver didn't clear the card-detect bit in DWMCI_RINTSTS, which may
be the culprit.

Could you please give the potential fix at [1] a test?

If this doesn't resolve the issue, we will have to do revert the DT
change in arch/arm/dts before v2026.02.0.

[1]:
https://lore.barebox.org/barebox/20260209164045.1924618-1-a.fatoum@pengutronix.de/T/#u

Thanks,
Ahmad


> 
> Michael
> 
> 

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




      reply	other threads:[~2026-02-09 16:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-09 15:10 Michael Tretter
2026-02-09 16:43 ` Ahmad Fatoum [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9c43e381-38cc-4c10-bf03-b874a6daba10@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=m.tretter@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox