All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaehoon Chung <jh80.chung@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] mainline u-boot on radxarock (rockchip rk3188) from SDcard
Date: Fri, 4 May 2018 08:37:43 +0900	[thread overview]
Message-ID: <aab7514d-9210-9b37-bf5b-a062ad94196b@samsung.com> (raw)
In-Reply-To: <CAHUNapSWYCwSENZXgJfPuUO7vh4TbNNyk0z5vtAxAb+pFjq_rA@mail.gmail.com>

Dear Trevor,

On 05/04/2018 12:13 AM, Trevor Woerner wrote:
> Hi Jaehoon and Kever,
> 
> On Wed, May 2, 2018 at 4:11 AM, Jaehoon Chung <jh80.chung@samsung.com>
> wrote:
> 
>> Hi,
>>
>> On 05/02/2018 04:10 PM, Kever Yang wrote:
>>> Hi Trevor,
>>>
>>>     It looks like the mmc driver does not work correctly, and no
>>> emmc/sdcard found.
>>>
>>> Maybe you can enable 'DEBUG' and get more detail about what happen.
>>
> 
> Is enabling DEBUG just a matter of increasing the logging levels
> (CONFIG_LOGLEVEL and CONFIG_LOG_MAX_LEVEL) to 7, or is something else
> required?

I think you can just add the CONFIG_MMC_TRACE in include/configs/<your haeder>.h
Then we can see the command sequence. It's helpful to debug.

> 
> 
>>>
>>>
>>> Thanks,
>>> - Kever
>>> On 04/29/2018 01:35 PM, Trevor Woerner wrote:
>>>> Hello,
>>>>
>>>> I am able to generate a bootable image (bootloader, parameter, kernel,
>>>> filesystem) for my radxarock (pro) on an SDcard if I use the bootloader
>> from
>>>> https://github.com/radxa/u-boot-rockchip. When I try to use mainline
>>>> u-boot_2008.01 it doesn't seem to be able to find or boot from the
>> SDcard:
>>
>> Do you use the dwmmc driver? or which driver are you using?
>> And Could you share which defconfig is used?
>>
>> Plz, CC'd me.
>>
>>
> I'm using rock_defconfig, currently without any changes, as such
> MMC_DW_ROCKCHIP is enabled.

Did you try to check v2018.03? Your log seems that "didn't initialize any card."
You didn't any change? Your bootloader added "-dirty"

U-Boot 2018.01-dirty (Apr 29 2018 - 05:19:18 +0000)

When i didn't work SD-card or eMMC, i follow the below sequence.

1. Check the correct gpio and power.
2. Check the device tree.
3. Check the clock.
4. And then check the device driver.
5. Check the mmc core.

Now. I need to get your information more.
dt file, board name, etc...

If you have a version that it's working fine, then you can try to find a trouble patch with git bisect command.

Best Regards,
Jaehoon Chung

> 

  reply	other threads:[~2018-05-03 23:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-29  5:35 [U-Boot] mainline u-boot on radxarock (rockchip rk3188) from SDcard Trevor Woerner
2018-04-29 23:17 ` Trevor Woerner
2018-05-02  7:10 ` Kever Yang
2018-05-02  8:11   ` Jaehoon Chung
2018-05-03 15:13     ` Trevor Woerner
2018-05-03 23:37       ` Jaehoon Chung [this message]
2018-09-21  9:13   ` Heiko Stuebner

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=aab7514d-9210-9b37-bf5b-a062ad94196b@samsung.com \
    --to=jh80.chung@samsung.com \
    --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.