hi Leo,
My 4.4 kernel can't detect any sd card on hikey board but 3.18 kernel can. I run the kernel from u-boot bootloader.
3.18 kernel log: ---------------- [ 3.370348] mmc_host mmc1: Bus speed (slot 0) = 99200000Hz (slot req 100000000Hz, actual 99200000HZ div = 0) [ 3.370365] mmc1: new ultra high speed SDR50 SDHC card at address aaaa [ 3.371147] mmcblk1: mmc1:aaaa SS08G 7.40 GiB [ 3.372995] mmcblk1: p1 p2 p3 p4
4.4 kernel log: --------------- 4.4 kernel from: git://github.com/96boards-hikey/linux.git hikey-mainline-rebase and config is defconfig.
# uname -a Linux linaro-alip 4.4.0+ #2 SMP PREEMPT Sun Apr 10 21:40:33 CST 2016 aarch64 GNU/Linux # dmesg|grep mmc1 [ 0.247672] dwmmc_k3 f723e000.dwmmc1: fifo-depth property not found, using value of FIFOTH register as default [ 0.247728] dwmmc_k3 f723e000.dwmmc1: IDMAC supports 32-bit address mode. [ 0.247808] dwmmc_k3 f723e000.dwmmc1: Using internal DMA controller. [ 0.247818] dwmmc_k3 f723e000.dwmmc1: Version ID is 250a [ 0.247850] dwmmc_k3 f723e000.dwmmc1: DW MMC controller at irq 40,32 bit host data width,64 deep fifo [ 0.248038] dwmmc_k3 f723e000.dwmmc1: Got CD GPIO [ 0.263396] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 400000Hz, actual 390625HZ div = 32) [ 0.280453] dwmmc_k3 f723e000.dwmmc1: 1 slots initialized [ 0.376089] mmc1: error -110 whilst initialising SD card
Does 4.4 kernel still not support SD card?
BR, Liming Wang