First confirm the interface of the SD card (it is said that there are 2 kinds of the first is the Sdio the second is SPI if neither of them, then can be made like a card reader device, that is, USB devices)
I have this one on the SPI interface, then the SPI module on the kernel
Kernelmodules ---> SPISupport ---> <*kmod-mmc-spi
Save exit, the first make burn is discovered or not recognized. The reason is that the SPI is turned off by default in the source code of OpenWrt.
Modify the relevant source code
VI target/linux/ramips/dts/rt5350.Dtsi[email Protected] {compatible= "Ralink,rt5350-spi"; Reg= <0xb00 0x100>; Resets= <&Rstctrl ->; Reset-names = "SPI";#address-cells = <1>;#size-cells = <1>; Pinctrl-names = "Default"; Pinctrl-0 = <&Spi_pins&Spi_cs1>; Status= "Disabled";};
Place status = "disabled"; Change to Status = "Okey";
Then make.
The above content reference: http://blog.csdn.net/aa120515692/article/details/46900933
PS: If not configured USB-related, the device even if the relevant SPI device is recognized, there is no way to operate, USB-related operation reference: http://blog.csdn.net/u011641885/article/details/46530327
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
RT5350 Installing the card reader driver