public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Problem with stand-alone apps
Date: Wed, 28 Aug 2013 11:22:03 -0400	[thread overview]
Message-ID: <20130828152203.GH17898@bill-the-cat> (raw)
In-Reply-To: <F9C551623D2CBB4C9488801D14F864C639ABE1CD@ex-mb1.corp.adtran.com>

On Wed, Aug 28, 2013 at 03:07:47PM +0000, ANDY KENNEDY wrote:

> All,
> 
> In an effort to play by the rules, we created a stand alone app that
> handles breaking the boot process with bootdelay set to 0.  We require
> a special key sequence to break into the boot process to ensure security,
> and to ensure we do not interrupt the boot process with stray key strokes.
> We are seeing strange behavior from our applet.  There are several API
> calls that we make from within the app that seem to make our processor
> go into a code violation error (even something as simple as a printf).

Unrelated, do CONFIG_AUTOBOOT_STOP_STR and similar not provide what you
need here?  See doc/README.autoboot

> It seems that things were working better in 2010.12.  We chose to move
> to 2013.04 for some additional fixes that we saw were pushed in by
> Freescale.  BTW, this is also similar to my previous e-mail thread that
> I started a month or so ago in which I stated there was general flakiness.
> We are reasonably confidant that our timing for our NOR flash is correct.
> Likewise, for our DDR3.  Both of these sets of parameters were done with
> the aid of Freescale themselves (given the tool they were using this is
> unlikely).
> 
> Anyone else use the stand alone applications in 2013.04 successfully?

Unaligned access problems?  A hacky way to check this would be to either
use an older compiler (such as ELDK 5.2.x or 5.1) or make u-boot built
entirely with -mno-unaligned-access (kludge this in, in
arch/arm/config.mk).

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130828/30ed9186/attachment.pgp>

  reply	other threads:[~2013-08-28 15:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-28 15:07 [U-Boot] Problem with stand-alone apps ANDY KENNEDY
2013-08-28 15:22 ` Tom Rini [this message]
2013-08-29 20:25   ` ANDY KENNEDY
2013-08-28 16:25 ` James Chargin
2013-08-29 17:41   ` ANDY KENNEDY

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=20130828152203.GH17898@bill-the-cat \
    --to=trini@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox