Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

rk3288: SD card not detecting in Linux

69

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
69

rk3288: SD card not detecting in Linux

Posted at 8/1/2017 16:33:23      View:5064 | Replies:7        Print      Only Author   [Copy Link] 1#
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.
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 8/2/2017 10:09:11        Only Author  2#
please use the the kernel from firefly:https://github.com/T-Firefly/kernel_4.4
Reply

Use props Report

69

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
69
Posted at 8/2/2017 22:09:55        Only Author  3#
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?
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 8/3/2017 10:18:19        Only Author  4#
show your step of  compile.
Reply

Use props Report

69

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
69
Posted at 8/3/2017 13:05:22        Only Author  5#
ARCH=arm make rockchip_defconfig
or
ARCH=arm make rk3036_defconfig

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

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 8/4/2017 09:18:44        Only Author  6#
why 3036?
Reply

Use props Report

69

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
69
Posted at 8/4/2017 18:40:22        Only Author  7#
I mean I tried these two defconfigs, and build issue came for both.
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 8/5/2017 09:56:56        Only Author  8#
rk3288-firefly_linux_defconfig
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list