All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lokesh Vutla <lokeshvutla@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] am335x board i2c_probe fails from nand boot
Date: Tue, 3 Jan 2017 16:46:08 +0530	[thread overview]
Message-ID: <672491fd-cf35-dedf-bc8a-975f16d43dca@ti.com> (raw)
In-Reply-To: <CADnUhn0-XvCB0B9n-w+1rNfdWWNBgo31X0tkFRNv+j+ZPGcDAw@mail.gmail.com>



On Tuesday 03 January 2017 02:56 PM, matti kaasinen wrote:
> Hi!
> 
> Would anyone have idea why spl boot fails in i2c_probe when running from
> nand but not when running from mmc card or anything at all to check?

Do you have different mux configurations for different boot modes?(Just
wondering if mux is properly configured for i2c in nand boot)

> 
> My card is am335x based board with u-boot coming from u-boot-it v2016.05.

Can you specify the tree? Also which config are you using and what board
it it?

Thanks and regards,
Lokesh

> 
> Spl boot crashes when it tries to run i2c_probe getting timeout in
> omap24.._i2c.c/wait_for_event() function. Boot enters wait_for_event() only
> once, if spl boot is coming from nand and exiting with:
> "Timed out in wait_for_event: status=0000
> Check if pads/pull-ups of bus are properly configured",
> 
> However, if spl comes from mmc card, everything goes well, wait_for_event
> is executed tens of times without problem.
> 
> All help very well appreciated!!
> 
> Thanks,
> Matti
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 

  parent reply	other threads:[~2017-01-03 11:16 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 [this message]
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

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=672491fd-cf35-dedf-bc8a-975f16d43dca@ti.com \
    --to=lokeshvutla@ti.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.