public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Rockchip RV1108 eMMC initialization fail
@ 2018-11-12  9:23 alex94
  2018-11-12 13:47 ` Otavio Salvador
  2018-11-12 13:48 ` Marek Vasut
  0 siblings, 2 replies; 10+ messages in thread
From: alex94 @ 2018-11-12  9:23 UTC (permalink / raw)
  To: u-boot

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/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-11-13 18:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-12  9:23 [U-Boot] Rockchip RV1108 eMMC initialization fail alex94
2018-11-12 13:47 ` Otavio Salvador
2018-11-12 15:20   ` alex94
2018-11-12 13:48 ` Marek Vasut
2018-11-12 15:25   ` alex94
2018-11-12 18:22     ` Marek Vasut
2018-11-13  9:23       ` alex94
2018-11-13 10:34     ` Otavio Salvador
2018-11-13 15:46       ` alex94
2018-11-13 18:59         ` Otavio Salvador

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox