From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 31 Dec 2010 10:55:25 +0100 Subject: [U-Boot] [PATCH v3 7/8] imximage: Add MX53 boot image support In-Reply-To: <20101231081245.5D0A04F1@gemini.denx.de> References: <1293626967-18740-1-git-send-email-r64343@freescale.com> <4D1C7F08.1010400@denx.de> <20101231081245.5D0A04F1@gemini.denx.de> Message-ID: <4D1DA88D.1070709@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/31/2010 09:12 AM, Wolfgang Denk wrote: > Dear Jason Liu, > > In message 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 =====================================================================