[U-Boot] Problem with stand-alone apps

Tom Rini trini at ti.com
Wed Aug 28 17:22:03 CEST 2013


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>


More information about the U-Boot mailing list