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] [PATCH v3 7/8] imximage: Add MX53 boot image support
Date: Fri, 31 Dec 2010 10:55:25 +0100	[thread overview]
Message-ID: <4D1DA88D.1070709@denx.de> (raw)
In-Reply-To: <20101231081245.5D0A04F1@gemini.denx.de>

On 12/31/2010 09:12 AM, Wolfgang Denk wrote:
> Dear Jason Liu,
> 
> In message <AANLkTimcHbOvNNTW9EnqaFrp3WvW3epgB7S7cvtKs0vH@mail.gmail.com> you wrote:
>>
>>> Not change the mx51evk file. The code should take VERSION=1 as default,
>>> and we do not need to change the actual boards.
>>
>> Do you mean that if can't find the VERSION command in the cfg file, it
>> will be treated
>> as V1, right?
> 
> No. You must not rely on variable setting from the config file. You
> must be able to recognize existing images by reading their headers
> without access to any specific board config.

Agree, but I think Jason is speaking here about the generation of the
imx image and not its detection. To make things clearer:

- to check the validity of an imximage file, mkimage must rely only on
the header, without any supplied configuration file, if any.

- to generate the imximage, I agree for compatibility reasons that the
default version should be V1. In other words, if the version is not
supplied in the file, the image is generated for an MX35/MX51 processor.

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
=====================================================================

  reply	other threads:[~2010-12-31  9:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-29 12:49 [U-Boot] [PATCH v3 7/8] imximage: Add MX53 boot image support Jason Liu
2010-12-30 12:46 ` Stefano Babic
2010-12-31  3:29   ` Jason Liu
2010-12-31  6:06     ` Jason Liu
2010-12-31  8:14       ` Wolfgang Denk
2010-12-31  8:36         ` Jason Liu
2010-12-31  8:50           ` Wolfgang Denk
2010-12-31  9:25             ` Jason Liu
2010-12-31 10:03               ` Stefano Babic
2010-12-31 11:37               ` Wolfgang Denk
2010-12-31  9:48       ` Stefano Babic
2010-12-31  8:12     ` Wolfgang Denk
2010-12-31  9:55       ` Stefano Babic [this message]
2010-12-31  8:10   ` Wolfgang Denk
2010-12-31  9:35     ` Stefano Babic
2010-12-31 11:39       ` Wolfgang Denk
2010-12-31 12:47         ` Stefano Babic

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=4D1DA88D.1070709@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