On 12/31/2010 09:12 AM, Wolfgang Denk wrote: > Dear Jason Liu, > > In message <[email protected]> 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: [email protected] ===================================================================== _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

