Firefly Open Source Community

rk3288: SD card not detecting in Linux

42

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
42
Posted at 8/1/2017 16:33:23     
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

1669

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

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

Use props Report

42

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
42
Posted at 8/2/2017 22:09:55     
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

1669

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1669
Posted at 8/3/2017 10:18:19     
show your step of  compile.
Reply

Use props Report

42

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
42
Posted at 8/3/2017 13:05:22     
ARCH=arm make rockchip_defconfig
or
ARCH=arm make rk3036_defconfig

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

Use props Report

1669

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1669
Posted at 8/4/2017 09:18:44     
why 3036?
Reply

Use props Report

42

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

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

Use props Report

1669

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1669
Posted at 8/5/2017 09:56:56     
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