OpenWrt 23.05.5 on Bananapi BPI-R64 - sd cards are not detected

Sd cards are not detected. Openwrt is installed on an internal storage device.

ls -l /sys/block

lrwxrwxrwx    1 root     root             0 Mar 31 14:48 loop0 -> ../devices/virtual/block/loop0
lrwxrwxrwx    1 root     root             0 Jan  1  1970 loop1 -> ../devices/virtual/block/loop1
lrwxrwxrwx    1 root     root             0 Mar 31 14:48 loop2 -> ../devices/virtual/block/loop2
lrwxrwxrwx    1 root     root             0 Mar 31 14:48 loop3 -> ../devices/virtual/block/loop3
lrwxrwxrwx    1 root     root             0 Mar 31 14:48 loop4 -> ../devices/virtual/block/loop4
lrwxrwxrwx    1 root     root             0 Mar 31 14:48 loop5 -> ../devices/virtual/block/loop5
lrwxrwxrwx    1 root     root             0 Jan  1  1970 loop6 -> ../devices/virtual/block/loop6
lrwxrwxrwx    1 root     root             0 Mar 31 14:48 loop7 -> ../devices/virtual/block/loop7
lrwxrwxrwx    1 root     root             0 Jan  1  1970 mmcblk0 -> ../devices/platform/11230000.mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0
lrwxrwxrwx    1 root     root             0 Mar 31 14:48 mmcblk0boot0 -> ../devices/platform/11230000.mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0boot0
lrwxrwxrwx    1 root     root             0 Mar 31 14:48 mmcblk0boot1 -> ../devices/platform/11230000.mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0boot1
lrwxrwxrwx    1 root     root             0 Apr  1 16:13 mtdblock0 -> ../devices/platform/1100d000.spi/spi_master/spi1/spi1.0/mtd/mtd0/mtdblock0
lrwxrwxrwx    1 root     root             0 Apr  1 16:13 mtdblock1 -> ../devices/platform/1100d000.spi/spi_master/spi1/spi1.0/mtd/mtd1/mtdblock1
lrwxrwxrwx    1 root     root             0 Apr  1 16:13 mtdblock2 -> ../devices/platform/1100d000.spi/spi_master/spi1/spi1.0/mtd/mtd2/mtdblock2
NAME          MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
mtdblock0      31:0    0   512K  1 disk
mtdblock1      31:1    0     2M  1 disk
mtdblock2      31:2    0 125.5M  0 disk
mmcblk0       179:0    0   7.3G  0 disk
├─mmcblk0p1   179:1    0     2M  0 part
├─mmcblk0p2   179:2    0     1M  0 part
├─mmcblk0p3   179:3    0    32M  0 part
├─mmcblk0p4   179:4    0   256M  0 part
├─mmcblk0p5   179:5    0     7G  0 part /mnt/7g
├─mmcblk0p65  259:0    0   4.8M  1 part /rom
├─mmcblk0p66  259:1    0 246.2M  0 part /overlay
└─mmcblk0p128 259:2    0     2M  0 part
mmcblk0boot0  179:8    0     4M  1 disk
mmcblk0boot1  179:16   0     4M  1 disk

SD cards: 1) 128Gb XC 2) 8GB HC
On a Windows PC, they are defined

This is the HC disk. Maybe 128GB XC are not supported or need special driver? Lets wait for an expert...

SD reader might require additional packages, like USB support ...

is it about the built-in sd card reader?
I have installed: kmod-mmc kmod-mmc-spi

I looked at the specifications for SOC Mediatek MT7622 - SD 3.0/SDR104 support has been announced, so the cards should be supported.
For experement by luck, I switched the loading slider to position 0 and lo and behold. The SD cards started to be displayed.

mtdblock0      31:0    0   512K  1 disk
mtdblock1      31:1    0     2M  1 disk
mtdblock2      31:2    0 125.5M  0 disk
mmcblk1       179:0    0 116.5G  0 disk
└─mmcblk1p1   179:1    0 116.5G  0 part  <----
mmcblk0       179:8    0   7.3G  0 disk
├─mmcblk0p1   179:9    0     2M  0 part
├─mmcblk0p2   179:10   0     1M  0 part
├─mmcblk0p3   179:11   0    32M  0 part
├─mmcblk0p4   179:12   0   256M  0 part
├─mmcblk0p5   179:13   0     7G  0 part /mnt/7g
├─mmcblk0p65  259:0    0   4.8M  1 part /rom
├─mmcblk0p66  259:1    0 246.2M  0 part /overlay
└─mmcblk0p128 259:2    0     2M  0 part
mmcblk0boot0  179:16   0     4M  1 disk
mmcblk0boot1  179:24   0     4M  1 disk

In general, it is strange that so little information is provided (type Banana Pi BPI-R64 boot switch
or -/- sd card support and you will see nothing)

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.