[U-Boot] Rockchip RV1108 eMMC initialization fail

alex94 aleksandar.nedelkovski at vorteksed.com.mk
Mon Nov 12 09:23:49 UTC 2018


Hi,
I am trying to use eMMC as a storage medium for my
custom board based on Rockchip RV1108. 

I have already made the changes as described in this thread:

http://u-boot.10912.n7.nabble.com/Rockchip-RV1108-eMMC-support-not-working-td343843.html#a343866

about using eMMC with RV1108.

When U-boot starts, and I try to access the eMMC, here is what I get:

=> mmc info
CMD_SEND:0
                ARG                      0x00000000
                MMC_RSP_NONE
CMD_SEND:8
                ARG                      0x000001AA
                RET                      -110
CMD_SEND:55
                ARG                      0x00000000
                RET                      -110
CMD_SEND:0
                ARG                      0x00000000
                MMC_RSP_NONE
CMD_SEND:1
                ARG                      0x00000000
                MMC_RSP_R3,4             0x003F8000 
CMD_SEND:1
                ARG                      0x40300000
                MMC_RSP_R3,4             0x003F8000 
CMD_SEND:0
                ARG                      0x00000000
                MMC_RSP_NONE
CMD_SEND:1
                ARG                      0x40300000
                MMC_RSP_R3,4             0x003F8000 
CMD_SEND:1
                ARG                      0x40300000
                MMC_RSP_R3,4             0x003F8000 
CMD_SEND:1
                ARG                      0x40300000
                MMC_RSP_R3,4             0x003F8000 
CMD_SEND:1
                ARG                      0x40300000
                MMC_RSP_R3,4             0x003F8000 
CMD_SEND:1
                ARG                      0x40300000
                MMC_RSP_R3,4             0x003F8000 
CMD_SEND:1
                ARG                      0x40300000
                MMC_RSP_R3,4             0x003F8000 
CMD_SEND:1
                ARG                      0x40300000
                MMC_RSP_R3,4             0x003F8000 
CMD_SEND:1
                ARG                      0x40300000
                MMC_RSP_R3,4             0x003F8000 
CMD_SEND:1
                ARG                      0x40300000
                MMC_RSP_R3,4             0x003F8000 
CMD_SEND:1
                ARG                      0x40300000
                MMC_RSP_R3,4             0xC03F8000 
CMD_SEND:2
                ARG                      0x00000000
                MMC_RSP_R2               0x07FFFFFF 
                                         0xFFFFFFFF 
                                         0xFFFFFFFF 
                                         0xFFFFFFFF 

                                        DUMPING DATA
                                        000 - 07 FF FF FF 
                                        004 - FF FF FF FF 
                                        008 - FF FF FF FF 
                                        012 - FF FF FF FF 
CMD_SEND:3
                ARG                      0x00010000
                RET                      -110


So, as the last line says, I get Linux error code -110, which means
"Connection timed out".

Here is info about the card I am using:

Flash Info:
	Manufacturer: SAMSUNG,value=00
	Flash Size: 7457MB
	Block Size: 512KB
	Page Size: 2KB
	ECC Bits: 0
	Access Time: 40
	Flash CS: Flash<0>

I have also tried with different SD cards on Rockchip MINI EVB RV1108 board, 
but I get the same error.

I get the same error with U-boot from Rockchip, and mainline U-boot from
Denx.

Any ideas?

Thanks,
Alex



--
Sent from: http://u-boot.10912.n7.nabble.com/


More information about the U-Boot mailing list