T_a
February 9, 2022, 9:14am
1
I want to read SD card but it was error. I have use dmesg to look and got this:
[ 2901.288285] sdhci_msm 7864900.sdhci: no support for card’s volts
[ 2901.288303] mmc0: error -22 whilst initialising MMC card
[ 2902.405661] mmc0: error -84 whilst initialising SDIO card
and no mmc in lsmod
root@swi-mdm9x28-wp:~# ls /dev/mmc*
ls: /dev/mmc*: No such file or directory
1 Like
jyijyi
February 9, 2022, 9:52am
2
you need to try more SD card.
As i know, not all SD card can be read.
T_a
February 10, 2022, 12:17am
3
I have use with the my old wp76xx it can read
FW : I have used this (mangOH Yellow Resources - Software - mangOH ) to install:
[ 43.699789] sdhci_msm 7864900.sdhci: sdhci_msm_probe: ICE device is not enabd
[ 43.699831] of_get_named_gpiod_flags: can’t parse ‘cd-gpios’ property of nod’
[ 43.701184] sdhci_msm 7864900.sdhci: sdhci_msm_pm_qos_parse_irq: error -22 ru
[ 43.708484] sdhci_msm 7864900.sdhci: sdhci_msm_pm_qos_parse: PM QoS voting fd
[ 43.708506] sdhci_msm 7864900.sdhci: sdhci_msm_pm_qos_parse: PM QoS voting fd
[ 43.746275] sdhci_msm 7864900.sdhci: No vmmc regulator found
[ 43.746299] sdhci_msm 7864900.sdhci: No vqmmc regulator found
[ 43.746802] mmc0: SDHCI controller on 7864900.sdhci [7864900.sdhci] using 32e
[ 43.830966] mmc0: new high speed SDHC card at address 0001
[ 43.832013] mmcblk0: mmc0:0001 00000 7.25 GiB
[ 43.833997] mmcblk0: p1
[ 46.022744] usbcore: registered new interface driver brcmfmac
but the new one for the factory it give me the error as above
should I have to install fw or other before?? I haven’t done any thing with it yet.
jyijyi
February 10, 2022, 12:37am
4
If same software is used, probably it is hardware connection problem in the metal case
T_a
February 14, 2022, 4:57am
7
where can i get msm_sdcc driver from??
jyijyi
February 14, 2022, 5:06am
8
you can download the yocto source and go to yocto/kernel/drivers/mmc/host/msm_sdcc.c
T_a
February 14, 2022, 5:08am
9
how can i make .ko and install to wp76xx?
jyijyi
February 14, 2022, 5:19am
10
setup the yocto menuconfig:
# cd yocto
# make dev
build_bin# bitbake linux-quic -c menuconfig
add the following:
rebuild the yocto image by “make”
download the yocto image to the module
But it seems to me it is not for WP76xx (MDM9607 chipset), you can double check.
T_a
February 14, 2022, 5:44am
11
make dev is error how to fix it?
jyijyi
February 14, 2022, 6:01am
12
When build yocto:
Error: bash is not set as default provider for /bin/sh
build is not guaranteed to work, aborting
make: *** [image_bin] Error 1
sudo apt-get remove ccache
sudo dpkg-reconfigure dash
Answer “No” to the question.
T_a
February 14, 2022, 8:37am
13
Where I have to add Symbol: MMC_MSM??
jyijyi
February 14, 2022, 8:47am
14
you should config it in the menuconfig (device driver → MMC/SD/SDIO card support)
T_a
February 14, 2022, 8:49am
15
I cannot find the text file to config
after device driver → MMC/SD/SDIO card support , Where I have to select next?
jyijyi
February 14, 2022, 9:56am
16
You can try to add the following in ./kernel/arch/arm/configs/mdm9607_defconfig and then rebuild the yocto image
CONFIG_MMC_MSM=y
T_a
February 14, 2022, 10:21am
17
yocto download error
Have another way to download?
jyijyi
February 14, 2022, 10:28am
18
It is normal that module reboot after image upgrade.
Another way to update image is that you can transfer the file by WINSCP in /tmp and then use “fwupdate download /tmp/yocto.cwe” in module’s console
T_a
February 15, 2022, 12:06am
19
It still cannot modprobe MSM_SDCC and cannot find .ko file
what shuold I do?
update result:
warning for “make image_bin” :
jyijyi
February 15, 2022, 12:48am
20
You can type some rubbish characters in msm_sdcc.c and see if there is error when make image
This can confirm if the msm_sdcc.c is compiled