All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nathan <naroyce@hotmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] "Writing to MMC(%d)... failed"
Date: Tue, 28 Apr 2015 00:39:17 -0500	[thread overview]
Message-ID: <BLU436-SMTP119C526A616F117FAE92184A2E80@phx.gbl> (raw)

Still not sure where the problem lies. I thought I found an issue, but
it didn't fix anything and caused a different issue.

At first, after plugging in a bunch of printfs, I thought it was a
simple issue in the dts (it appears not to be the issue):
*****
Getting a little back into it, I find an issue in:
"./lib/libfdt/fdt_ro.c"
  "fdt_path_offset()" where "-FDT_ERR_BADPATH" is returned for "path"
= "sdhci at 12530000"
when:
"./lib/fdtdec.c"
  "fdtdec_add_aliases_for_id()" is examining "mmc2"

"fdt_path_offset()"
  "_fdt_nodename_eq()" finds "aliases"

But the issue comes from
"./lib/libfdt/fdt_ro.c"
  "_fdt_string_eq()"
where
"p" = "mmc2" <> "s" = "sdhci at 12530000"

What I'm noticing different in the "exynos4412-odroid.dts" (odroid u2)
and "exynos54xx.dtsi" is the "/" for the alias paths "mmc2" and
"mmc4".
*****

The problem with that "finding" was:
"fdtdec_add_aliases_for_id: warning: alias 'mmc2' points to a node
'sdhci at 12530000' that is missing or is not compatible  with
'samsung,exynos-dwmmc'"
Not sure why it would even mention dwmmc for mmc2 when it is specified
"exynos-mmc" in "exynos4.dtsi"

A common issue with or without the slash is:
"_gpio_request_by_name_nodev: Node 'sdhci at 12530000', property
'pwr-gpios', failed to request GPIO index 0: -2"

> I think the kicker is "No match for node 'sdhci at 12530000'".
> I even manually set/forced the "status=okay" in the dts, but it still
> says it's disabled.
>
> I shall continue to pursue this, working my way back from
> "lists_bind_fdt()" in "lists.c"

             reply	other threads:[~2015-04-28  5:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28  5:39 Nathan [this message]
     [not found] <BLU436-SMTP127C338DB532C3DF004593EA2E80@phx.gbl>
2015-04-28  8:07 ` [U-Boot] "Writing to MMC(%d)... failed" Przemyslaw Marczak
     [not found]   ` <BLU437-SMTP496E077CBDBF75F343C04FA2E80@phx.gbl>
2015-04-29  9:15     ` Przemyslaw Marczak
2015-04-29 23:34       ` Nathan
2015-04-30  2:44       ` Nathan
  -- strict thread matches above, loose matches on Subject: below --
2015-02-25 19:14 Nathan Royce
2015-02-26  0:30 ` Nathan
2015-02-26 23:59   ` Nathan
2015-02-27 13:16     ` Przemyslaw Marczak
2015-02-27 17:21       ` Nathan
2015-03-10 11:30         ` Nathan
     [not found]         ` <BLU437-SMTP105D4C7DA6754615DB4E45DA2180@phx.gbl>
2015-03-10 13:07           ` Przemyslaw Marczak
2015-03-10 13:14             ` Nathan
2015-03-10 15:12               ` Przemyslaw Marczak
2015-03-12 13:22                 ` Nathan
2015-02-27 13:08   ` Przemyslaw Marczak

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=BLU436-SMTP119C526A616F117FAE92184A2E80@phx.gbl \
    --to=naroyce@hotmail.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.