All of lore.kernel.org
 help / color / mirror / Atom feed
From: alex94 <aleksandar.nedelkovski@vorteksed.com.mk>
To: u-boot@lists.denx.de
Subject: [U-Boot] Rockchip RV1108 eMMC initialization fail
Date: Mon, 12 Nov 2018 02:23:49 -0700 (MST)	[thread overview]
Message-ID: <1542014629432-0.post@n7.nabble.com> (raw)

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/

             reply	other threads:[~2018-11-12  9:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-12  9:23 alex94 [this message]
2018-11-12 13:47 ` [U-Boot] Rockchip RV1108 eMMC initialization fail 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1542014629432-0.post@n7.nabble.com \
    --to=aleksandar.nedelkovski@vorteksed.com.mk \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.