public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] cpu/arm926ejs/start.S question
Date: Fri, 08 Jul 2011 08:13:26 +0200	[thread overview]
Message-ID: <4E16A006.2010604@denx.de> (raw)
In-Reply-To: <4E165B75.1080007@bluewatersys.com>

On 07/08/2011 03:20 AM, Andre Renaud wrote:
> Hi Fabio,
> On 08/07/11 12:54, Fabio Estevam wrote:
>> Just to make sure I understand: you want to boot MX25 from internal
>> mode (from ROM), correct?
> 

Hi Andre,

> Just out of interest, how does the imximage.cfg file work? I can't see
> any reference to that file in any of the build system, so how do you get
> it prepended to the image?

This is exactly the way we use to prepend an header for the i.MX
processors that it is automatically executed before start.S. The i.MX25
uses V1 version of the imximage, as the MX35 and MX51. However, there is
not yet MX25 boards in u-boot using this mechanism.
Of course, it works if (as it should be) the code you want to add has
the goal to write defined values and you cannot add any type of logic.
The syntax is very simple and accepts the format
	 <data wide> <address you want to write> <value>.
You can check the imximage file for mx51/mx53 boards and as reference
the doc/README.imximage, as already stated by Fabio.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  parent reply	other threads:[~2011-07-08  6:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07 21:38 [U-Boot] cpu/arm926ejs/start.S question Andre Renaud
2011-07-07 22:34 ` Simon Glass
2011-07-07 22:40   ` Andre Renaud
2011-07-08  0:54 ` Fabio Estevam
2011-07-08  1:20   ` Andre Renaud
2011-07-08  1:38     ` Fabio Estevam
2011-07-08  1:42       ` Andre Renaud
2011-07-08  6:13     ` Stefano Babic [this message]
2011-07-11  4:59   ` Andre Renaud
2011-07-11 15:00     ` Fabio Estevam

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=4E16A006.2010604@denx.de \
    --to=sbabic@denx.de \
    --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