-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'error -84 whilst initialising SD Card' when attempting to use SDHCI controller on microSD card slot on Raspberry Pi 4B #1896
Comments
|
Specific commands:
Reason for wanting to do this: Official Support |
Describe the bug
The SDHCI controller gives the error "mmc3: error -84 whilst initialising SD card" when it is connected to the microSD Card slot (by using the 0xfe2000d0 bit1 mux). This is robust to changing a variety of other factors, such as the driver, and the microSD card.
To reproduce
The following is the simplest way to reproduce:
devmem 0xfe2000d0 b 0x03
However, I have tested a wide variety of configurations, which I will detail below.
Expected behaviour
SD Card to be detected and appear in /dev/mmcblk*
Actual behaviour
dmesg periodically shows the error "mmc3: error -84 whilst initialising SD card"
Occasionally it will show "mmc3: error -110 whilst initialising SD card"
System
raspinfo: https://pastebin.com/6r7yZG5n
NOTE: the dmesg logs are from a boot where I did not use the mux at 0xfe2000d0, so the mmc3 error I believe is just from the removable mmc@fe300000 talking to the wifi module
Additional context
I have run a variety of experiment to determine if some other factor was causing the issue:
mw.b 0xfe2000d0 0x03
, before booting linux. This gave the same error.ls mmc 3:1
.busybox devmem 0xfe2000d0 b 0x03
, which still generated the same error.Notice how both mmc0 and mmc3 (i.e. the emmc2 and the SDHCI) log the card being removed. This is the only situation in which I have seen SDHCI recognize the card.
10. I have added
broken-cd
to the mmc@fe300000 device tree node, which had no effect.11. I have looked for prior examples of other people successfully using the mux to use the SDHCI controller on the microSD slot online. While I found examples of other people describing how you might do so or attempting to do so, I found no examples of someone successfully doing so. For example here here and here.
Previous related issues: #127 and raspberrypi/documentation#1209 (comment)
The text was updated successfully, but these errors were encountered: