All of lore.kernel.org
 help / color / mirror / Atom feed
From: matti kaasinen <matti.kaasinen@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] am335x board i2c_probe fails from nand boot
Date: Wed, 4 Jan 2017 12:23:03 +0200	[thread overview]
Message-ID: <CADnUhn1gC7EnUvP6fHjXuNmhv52D5SUqzw07OQV_2mWmmJvsKg@mail.gmail.com> (raw)
In-Reply-To: <5f15e470-d12f-e3ea-d393-5cb6e0c700cd@ti.com>

2017-01-04 6:46 GMT+02:00 Lokesh Vutla <lokeshvutla@ti.com>:

> > "Card did not respond to voltage select!" is coming from:
> > drivers/mmc/mmc.c
>
> Can you check if mmc mux is being done properly?



This is one subject I had to fight lately. I just can't figure out how I
can feed my own dtb for u-boot usage. Compilation report complains that
CONFIG_DEFAULT_DEVICE_TREE is not set. If I set it in am335x_evm.h, i'll
get more complaints telling that it has already been set. If I #undef it
and then define it as "mydtb", it does not get produced and you will get
that first complaint. If I replace "am335x-evm.dtb" with "mydtb.dtb" mmc
boot still does not work because card present pin is not correctly mapped
because it is coming from gpio told in "mydtb.dtb".

Therefore, I had to modify drivers/mmc/omap_hsmmc.c by removing getdc and
getwp methods from omap_hsmmc_ops.
After that mmc boot started to work. This can now be dtb related problem in
some other place.

So, what is the correct method feeding modified dtb?

Thanks,
Matti

      parent reply	other threads:[~2017-01-04 10:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-03  9:26 [U-Boot] am335x board i2c_probe fails from nand boot matti kaasinen
2017-01-03 10:56 ` Yegor Yefremov
2017-01-03 11:02   ` matti kaasinen
2017-01-03 11:05     ` Yegor Yefremov
2017-01-03 11:10       ` matti kaasinen
2017-01-03 11:16 ` Lokesh Vutla
2017-01-03 12:33   ` matti kaasinen
2017-01-03 13:34     ` matti kaasinen
2017-01-03 14:37       ` matti kaasinen
2017-01-04  4:46         ` Lokesh Vutla
2017-01-04  7:33           ` matti kaasinen
2017-01-05 10:09             ` matti kaasinen
2017-01-05 13:01               ` matti kaasinen
2017-01-04 10:23           ` matti kaasinen [this message]

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=CADnUhn1gC7EnUvP6fHjXuNmhv52D5SUqzw07OQV_2mWmmJvsKg@mail.gmail.com \
    --to=matti.kaasinen@gmail.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.