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: Tue, 13 Nov 2018 02:23:27 -0700 (MST)	[thread overview]
Message-ID: <1542101007180-0.post@n7.nabble.com> (raw)
In-Reply-To: <43e21551-f001-9e37-0de6-accd992ac6db@gmail.com>

I should also mention that, I put U-boot itself into SD card/eMMC, so when I
start the board, it gets loaded into RAM from SD card/eMMC. But after it
loads and I can interact with it, I cannot communicate with the memory
card(using the 'mmc' set of commands). 

I have managed to find a workaround on Rockchip MINI EVB RV1108 board,
putting the kernel image into USB, which I have access to, through the 'usb'
commands. After the kernel starts, the SD card gets recognized by the
kernel, and I can load the root filesystem from the SD card. So the problem
is, after U-boot starts, I cannot use the SD card to load the kernel.

But on my custom board, I dont have USB, and I have to use the eMMC all the
way through.

Also, here is the U-boot log when it starts, so under the MMC field, my eMMC
gets recognized:


DDR Version V1.03 20180118
set vdd core 1.15v
In
600MHz
DDR3
Bus Width=16 Col=10 Bank=8 Row=13 CS=1 Die Bus-Width=16 Size=128MB
mach:2
OUT


U-Boot 2018.11-rc3-00062-g26cc40d8c4-dirty (Nov 12 2018 - 11:43:08 +0100)

Model: Rockchip RV1108 Evaluation board
DRAM:  128 MiB
APLL: 600000000 DPLL:1200000000 GPLL:1188000000
ACLK_BUS: 148500000 ACLK_PERI:148500000 HCLK_PERI:148500000
PCLK_PERI:74250000
MMC:   dwmmc at 30110000: 0
In:    serial at 10210000
Out:   serial at 10210000
Err:   serial at 10210000
Model: Rockchip RV1108 Evaluation board
Hit any key to stop autoboot:  0 
=>


I appreciate a lot for the help till now,
Regards,
Alex



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

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

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=1542101007180-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.