rk3288: SD card not detecting in Linux

Hi,

SD card not detecting in Linux-4.4.0-rc5 from https://github.com/mmind/linux-rockchip.git

And here is the Log:
# dmesg | grep mmc | grep -i ff0c0000.dwmmc
[ 2.016163] dwmmc_rockchip ff0c0000.dwmmc: IDMAC supports 32-bit address mode.
[ 2.023492] dwmmc_rockchip ff0c0000.dwmmc: Using internal DMA controller.
[ 2.030294] dwmmc_rockchip ff0c0000.dwmmc: Version ID is 270a
[ 2.036302] dwmmc_rockchip ff0c0000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[ 2.046319] dwmmc_rockchip ff0c0000.dwmmc: Looking up vmmc-supply from device tree
[ 2.046458] dwmmc_rockchip ff0c0000.dwmmc: Looking up vqmmc-supply from device tree
[ 2.176940] dwmmc_rockchip ff0c0000.dwmmc: IDMAC supports 32-bit address mode.
[ 2.184275] dwmmc_rockchip ff0c0000.dwmmc: Using internal DMA controller.
[ 2.191104] dwmmc_rockchip ff0c0000.dwmmc: Version ID is 270a
[ 2.196982] dwmmc_rockchip ff0c0000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[ 2.206887] dwmmc_rockchip ff0c0000.dwmmc: Looking up vmmc-supply from device tree
[ 2.207026] dwmmc_rockchip ff0c0000.dwmmc: Looking up vqmmc-supply from device tree

Request for help.

Jagan.

please use the the kernel from firefly:https://github.com/T-Firefly/kernel_4.4

Same repo with firefly-rk3288 branch showing this build error:

UPD include/generated/timeconst.h
CC arch/arm/kernel/asm-offsets.s
In file included from include/linux/topology.h:35:0,
from include/linux/sched.h:42,
from arch/arm/kernel/asm-offsets.c:13:
./arch/arm/include/asm/topology.h:32:48: warning: ‘struct sched_domain’ declared inside parameter list will not be visible outside of this definition or declaration
error, forbidden warning: topology.h:32
Kbuild:80: recipe for target ‘arch/arm/kernel/asm-offsets.s’ failed
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
Makefile:1010: recipe for target ‘prepare0’ failed
make: *** [prepare0] Error 2

Any help?

show your step of compile.

ARCH=arm make rockchip_defconfig
or
ARCH=arm make rk3036_defconfig

ARCH=arm make LOADADDR=0x02000000 uImage dtbs -j 4

why 3036?

I mean I tried these two defconfigs, and build issue came for both.

rk3288-firefly_linux_defconfig

This article is incredible, thank you for sharing it with us! Enhance your IT knowledge with free Best C-ABAPD-2507 vce. Best of luck on your exams!

I’m in awe of the insight in your article, thank you for sharing! I’m gearing up for the XSIAM-Analyst new test camp free exam! Wish me luck, everyone!

Jede Version der CIPS L4M3 Prüfungsunterlagen von uns hat ihre eigene Überlegenheit. PDF Version hat keine Beschränkung für Anlage, deshalb können Sie irgendwo die Unterlagen lesen. Wenn Sie Internet benutzen können, die Online Test Engine der CIPS L4M3 können Sie sowohl mit Windows, Mac als auch Android, iOS benutzen. Mit Simulations-Software können Sie die Prüfungsumwelt der CIPS L4M3 erfahren und bessere Kenntnisse darüber erwerben. Übrigens, Sie dürfen die Prüfungssoftware irgendwie viele Male installieren.

Your article was an eye-opener, thank you so much. The AP-209 exam objectives content is outstanding, and it’s available at no charge.