SD Card connection - EMMC

hi
I'm trying to SD Card connection to the MT7688A. But I can not succeed.

I'm following this tutorial:
https://docs.labs.mediatek.com/resource/linkit-smart-7688/en/tutorials/file-storage/mounting-the-root-fs-on-an-sd-card
https://docs.labs.mediatek.com/resource/linkit-smart-7688/en/tutorials/file-storage/mounting-the-root-fs-on-an-sd-card
https://oldwiki.archive.openwrt.org/doc/howto/storage

But I can not install kmod-fs-ext4 kmod-mmc-over-gpio ... packages. Because they need a kernel 3.10.49.

root@OpenWrt:/man# opkg install kmod-mmc-over-gpio_3.10.49-4_ramips_24kec.ipk
Installing kmod-mmc-over-gpio (3.10.49-4) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mmc-over-gpio:
 * 	kernel (= 3.10.49-1-ef9ac24c0d24577bacf18aca745d1aba) * 	
 * opkg_install_cmd: Cannot install package kmod-mmc-over-gpio.

root@OpenWrt:/man# uname -a
Linux OpenWrt 3.10.14 #15 Sat Mar 4 17:45:48 CST 2017 mips GNU/Linux


I use the "SD Card Module" to connect the SD card to the device.
https://www.amazon.com/SunFounder-Module-Socket-Reader-Arduino/dp/B01G8BQV7A

MT7688 pin ---------------------- SD Card Module pin
MOSI --------------------------- > MOSI
SCK ----------------------------- > SPICLK
MISO --------------------------- > MISO
CS ------------------------------- > CS1

Product Features

  • 1 USB2.0 host interface
  • Multiple interfaces SPI / SD-XC / eMMC
  • Rich peripheral interface, SPI, I2C, PCM, UART, JTAG, GPIO
  • Support a variety of systems, Linux2.6.36SDK, OpenWrt 3.10
  • HLK-7688A module

Are you using a stable version of Openwrt (e.g 18.06.2 ) or some snapshot?
Looks like you are using the latter, hence you must download and install the packages within the same day that you installed the image, otherwise it will be overwritten by the nightly imagebuilder and it will be using a different version of kernel most likely.

MT7688A only supports 14.07.


I'm trying to install the kernel_3.10.49. But I fail.

root@OpenWrt:/man# opkg install kernel_3.10.49-1-3df3ab26a49a04478a9633bf83827ca3_ramips_24kec.ipk
Multiple packages (kernel and kernel) providing same name marked HOLD or PREFER. Using latest.
Upgrading kernel on root from 3.10.14-1-4e3b0df08660dd40e3a0431feeb5d4c2 to 3.10.49-1-3df3ab26a49a04478a9633bf83827ca3...
Configuring kernel.
root@OpenWrt:/man# opkg install kmod-mmc-over-gpio_3.10.49-4_ramips_24kec.ipk
Installing kmod-mmc-over-gpio (3.10.49-4) to root...
Multiple packages (kernel and kernel) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kernel and kernel) providing same name marked HOLD or PREFER. Using latest.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mmc-over-gpio:
 * 	kernel (= 3.10.49-1-ef9ac24c0d24577bacf18aca745d1aba) * 	kmod-mmc-spi * 	kmod-spi-gpio-old * 	kmod-fs-configfs * 
 * opkg_install_cmd: Cannot install package kmod-mmc-over-gpio.

Multiple packages (kernel and kernel) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kernel and kernel) providing same name marked HOLD or PREFER. Using latest.

Are you sure that you're actually using OpenWrt and not some OEM firmware or vendor SDK?

Either way, 14.07 is no longer supported and has gained quite a number of unfixed security issues, which means it shouldn't be used anymore.

A quick search of the forum would show others who need this package too.

Is someone interested in discovering why it's not available?

yes me. I tryed the same. Just found this thread.

Does anyone got this working ? I'm banging my head on walls right now.

Okay, I've got it working on 19.07. Don't ask me how, I'm still quite a noob with linux, and I just kind of f*ed around until it worked. Heh :upside_down_face:

2 Likes