public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Santosh Shilimkar <santosh.shilimkar@ti.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: linux-omap@vger.kernel.org, Tony Lindgren <tony@atomide.com>
Subject: RE: 4430SDP boot failure - solved + SPI bug fix
Date: Sat, 8 Jan 2011 00:35:38 +0530	[thread overview]
Message-ID: <04b3a28e12c18714cce8c15c1645cc2d@mail.gmail.com> (raw)
In-Reply-To: <20110107185250.GT1198@n2100.arm.linux.org.uk>

> -----Original Message-----
> From: Russell King - ARM Linux [mailto:linux@arm.linux.org.uk]
> Sent: Saturday, January 08, 2011 12:23 AM
> To: Santosh Shilimkar
> Cc: linux-omap@vger.kernel.org; Tony Lindgren
> Subject: Re: 4430SDP boot failure - solved + SPI bug fix
>
> On Fri, Jan 07, 2011 at 11:55:10PM +0530, Santosh Shilimkar wrote:
> > > And, with one ARM errata disabled, the kernel finally boots.  So
> the
> > > "X-Loader hangs" message means that we did something that non-
> secure
> > > mode prevented us from doing.
> > >
> > Actually it's not. The error message is quite misleading.
> Basically in
> > x-loader exception handlers are setup and all these handlers
> report
> > same message ("X-Loader hangs"). This should be fixed so that it
> can
> > report more meaningful info like data abort, prefetch abort etc.
> >
> > Till the vector relocation in the kernel exceptions are not set up
> > so code jumps to already installed exceptions in the x-loader and
> > hence the messege.
>
> I disagree with your "actually it's not".  It was errata 742230,
> which
> requires access to the CP15, c15, c0, 1 register (a diagnostic
> register)
> which I bet provokes an undefined instruction trap from non-secure
> mode.
>
742230 errata workaround is not implemented in the x-loader so I
can surely say it's not the secure violation.

He is the x-loader source tree.
http://dev.omapzoom.org/?p=bootloader/x-loader.git;a=shortlog;h=refs/heads
/omap4_dev

Even simple things like if DDR is not configured correctly or not
Stable, code/data access takes abort which lands up in the "X-loader
hang messege"

> Hence, the reason it vectored to the X-loader was because we tried
> to
> do something in the non-secure mode which we're prevented from
> doing.
My suspect was clock configurations on the older boot loaders were
Incomplete that might have lead to issue since now more drivers are
getting enabled in newer kernels.

  reply	other threads:[~2011-01-07 19:05 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-06 17:08 4430SDP boot failure Russell King - ARM Linux
2011-01-06 17:25 ` Nishanth Menon
2011-01-06 18:00 ` Russell King - ARM Linux
2011-01-06 18:17   ` Russell King - ARM Linux
2011-01-06 18:25     ` Tony Lindgren
2011-01-06 18:20   ` Tony Lindgren
2011-01-06 19:52     ` Tony Lindgren
2011-01-06 20:34       ` Tony Lindgren
2011-01-06 20:51         ` Russell King - ARM Linux
2011-01-06 21:11           ` Russell King - ARM Linux
2011-01-06 23:52           ` Russell King - ARM Linux
2011-01-07  4:11             ` Tony Lindgren
2011-01-07  8:39             ` Santosh Shilimkar
2011-01-07  9:28               ` Russell King - ARM Linux
2011-01-07  9:52                 ` Santosh Shilimkar
2011-01-07 12:18                   ` Santosh Shilimkar
2011-01-07 12:24                     ` Santosh Shilimkar
2011-01-07 12:51                     ` Russell King - ARM Linux
2011-01-07 13:07                       ` Koen Kooi
2011-01-07 13:58                         ` Russell King - ARM Linux
2011-01-07 13:09                       ` Santosh Shilimkar
2011-01-07 14:24                         ` Russell King - ARM Linux
2011-01-07 14:26                           ` Santosh Shilimkar
2011-01-07 15:49                             ` 4430SDP boot failure - solved + SPI bug fix Russell King - ARM Linux
2011-01-07 17:10                               ` Tony Lindgren
2011-01-07 17:19                                 ` Grant Likely
2011-01-07 17:25                                   ` Tony Lindgren
2011-01-07 20:24                                     ` Russell King - ARM Linux
2011-01-07 18:25                               ` Santosh Shilimkar
2011-01-07 18:52                                 ` Russell King - ARM Linux
2011-01-07 19:05                                   ` Santosh Shilimkar [this message]
2011-01-07 19:19                                     ` Russell King - ARM Linux
2011-01-07 19:28                                       ` Santosh Shilimkar
2011-01-07 20:24                               ` Russell King - ARM Linux
2011-01-07 16:24                             ` 4430SDP boot failure Russell King - ARM Linux
2011-01-07 17:02                               ` Daniel Díaz
2011-01-07 18:29                               ` Santosh Shilimkar
2011-01-07 18:55                                 ` Russell King - ARM Linux
2011-01-06 20:32     ` Russell King - ARM Linux
2011-01-06 20:40       ` Tony Lindgren
2011-01-07 16:12         ` Russell King - ARM Linux
2011-01-10 18:52           ` Tony Lindgren
2011-01-11 23:16             ` [PATCH] omap4: Fix ULPI PHY init for ES1.0 SDP (Re: 4430SDP boot failure) Tony Lindgren
2011-01-13  8:52               ` Anand Gadiyar
2011-01-13  9:15                 ` Russell King - ARM Linux
2011-01-13 15:51                   ` Tony Lindgren
2011-01-13 16:49                     ` Russell King - ARM Linux
2011-01-14 17:29                       ` Tony Lindgren
2011-01-14 19:18                       ` Paul Walmsley
2011-01-14 21:20                         ` Russell King - ARM Linux
2011-01-14 22:07                           ` Paul Walmsley
2011-01-14 23:10                           ` Paul Walmsley
2011-01-14 23:58                             ` Russell King - ARM Linux
2011-01-15  0:12                               ` Tony Lindgren
2011-01-15  0:25                                 ` Russell King - ARM Linux
2011-01-15  0:37                                   ` Tony Lindgren
2011-01-15 17:04                                     ` Russell King - ARM Linux
2011-01-17  8:35                                       ` Sascha Hauer
2011-02-01 12:55               ` Anand Gadiyar
2011-02-02  1:10                 ` Tony Lindgren
2011-02-02  6:05                   ` Santosh Shilimkar
2011-02-02 19:48                     ` Tony Lindgren
2011-02-03  8:43                       ` Santosh Shilimkar
2011-02-12  8:46                         ` Santosh Shilimkar
2011-02-24 17:38                           ` Tony Lindgren
2011-02-25  5:33                             ` Santosh Shilimkar
2011-02-25 17:49                               ` Tony Lindgren
2011-02-02 18:43                   ` Anand Gadiyar
2011-02-02 19:50                     ` Tony Lindgren

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=04b3a28e12c18714cce8c15c1645cc2d@mail.gmail.com \
    --to=santosh.shilimkar@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=tony@atomide.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