Firefly Open Source Community

Title: rk3288: SD card not detecting in Linux [Print This Page]

Author: jaganteki    Time: 8/1/2017 16:33
Title: 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.
Author: isle    Time: 8/2/2017 10:09
please use the the kernel from firefly:https://github.com/T-Firefly/kernel_4.4
Author: jaganteki    Time: 8/2/2017 22:09
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?
Author: isle    Time: 8/3/2017 10:18
show your step of  compile.
Author: jaganteki    Time: 8/3/2017 13:05
ARCH=arm make rockchip_defconfig
or
ARCH=arm make rk3036_defconfig

ARCH=arm make LOADADDR=0x02000000 uImage dtbs -j 4
Author: isle    Time: 8/4/2017 09:18
why 3036?
Author: jaganteki    Time: 8/4/2017 18:40
I mean I tried these two defconfigs, and build issue came for both.
Author: isle    Time: 8/5/2017 09:56
rk3288-firefly_linux_defconfig




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1