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: off...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot