From: Tony Lindgren <tony@atomide.com>
To: "Måns Rullgård" <mans@mansr.com>
Cc: Igor Grinberg <grinberg@compulab.co.il>,
Paul Walmsley <paul@pwsan.com>,
linux-omap@vger.kernel.org
Subject: Re: AM3517 boot failure
Date: Thu, 19 Apr 2012 09:53:13 -0700 [thread overview]
Message-ID: <20120419165312.GW21106@atomide.com> (raw)
In-Reply-To: <yw1x8vhrsqyd.fsf@unicorn.mansr.com>
* Måns Rullgård <mans@mansr.com> [120419 08:31]:
> Igor Grinberg <grinberg@compulab.co.il> writes:
>
> > On 04/19/12 05:07, Paul Walmsley wrote:
> >>
> >> Hi,
> >>
> >> just wanted to mention this on the list to see if anyone else was seeing
> >> it. I'm using a Compulab CM-T3517 and attempting to use nfsroot, and the
> >> boot hangs. Here are the last few lines when booting with
> >> initcall_debug:
> >>
> >> [ 7.069885] initcall scsi_complete_async_scans+0x0/0x10c returned 0 after 29 usecs
> >> [ 7.077880] calling gpio_keys_init+0x0/0xc @ 1
> >> [ 7.084167] initcall gpio_keys_init+0x0/0xc returned 0 after 1400 usecs
> >> [ 7.091278] calling rtc_hctosys+0x0/0x110 @ 1
> >> [ 7.096038] /home/paul/linux/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
> >> [ 7.104217] initcall rtc_hctosys+0x0/0x110 returned -19 after 7987 usecs
> >> [ 7.111297] calling net_secret_init+0x0/0x1c @ 1
> >> [ 7.116333] initcall net_secret_init+0x0/0x1c returned 0 after 119 usecs
> >> [ 7.123443] calling tcp_congestion_default+0x0/0xc @ 1
> >> [ 7.128997] initcall tcp_congestion_default+0x0/0xc returned 0 after 0 usecs
> >> [ 7.136444] calling ip_auto_config+0x0/0xf70 @ 1
> >>
> >> Is anyone else seeing this?
> >
> > I've tried various configurations and can confirm this hang.
> > I still haven't got my hands on bisecting this.
> > There is nothing special about CM-T3517,
> > IMO this can be seen on any AM35xx based board with EMAC, or am I mistaken?
> > Anyway, can anybody try nfsroot on other AM35xx based board with EMAC
> > supported?
>
> I did a little digging...
>
> Firstly, only the am3571evm board registers the davinci_emac platform
> device. On a Craneboard or a CM-T3517 there will simply be no network
> device for IP autoconfig to use (unless you magically have DT working).
>
> Secondly, the clock configuration for davinci_emac on am35xx is broken.
> omap3xxx_clk_init() registers two clocks for dev_id "davinci_emac", one
> with con_id "emac_clk", one with "phy_clk". When davinci_emac_probe()
> then does a clk_get(dev, NULL), this fails since there is no matching
> con_id. Likewise for davinci_mdio_probe().
>
> With a little hacking, I got the platform device registered and the
> clocks matching as (I think) they should. It now detects the correct
> PHY, so that's something.
>
> However, the IP config is still getting stuck. For reasons I don't
> know, the msleep(1) call in ic_open_devs() never returns.
>
> That's as far as I got.
Just to check, is this with the bad muxing removed in fixes branch? Without
that there can be all kinds of weird issues if some uart pins are used for
non-uart functionality:
bce492c0 (ARM: OMAP2+: UART: Fix incorrect population of default uart pads)?
Regards,
Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-04-19 16:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-19 2:07 AM3517 boot failure Paul Walmsley
2012-04-19 7:57 ` Igor Grinberg
2012-04-19 15:04 ` Måns Rullgård
2012-04-19 16:53 ` Tony Lindgren [this message]
2012-04-19 17:52 ` Måns Rullgård
2012-04-19 18:05 ` Mark A. Greer
2012-04-19 19:43 ` Måns Rullgård
2012-04-19 18:12 ` Jan Lübbe
2012-05-08 5:50 ` Paul Walmsley
2012-05-08 13:50 ` Kevin Hilman
2012-05-08 15:49 ` Paul Walmsley
2012-05-08 16:24 ` Måns Rullgård
2012-05-08 19:08 ` Mark A. Greer
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=20120419165312.GW21106@atomide.com \
--to=tony@atomide.com \
--cc=grinberg@compulab.co.il \
--cc=linux-omap@vger.kernel.org \
--cc=mans@mansr.com \
--cc=paul@pwsan.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).