Dear Aneesh V, In message <[email protected]> you wrote: > Embed the u-boot flash image size at a known offset from the > start of u-boot so that SPL can use it while loading u-boot > from a non-XIP media.
I don't think this is a good idea. What you are doing here is defining an image format. Such an image format must be good enough not only for OMAP4 and for loading U-Boot as second stage, but for all other architectures and use cases as well. We therefore should be very careful not to oversimplify things here. I suggest NOT to pot this information into the image itself, but rather to prepend it (for example, using the mkimage tool), so the actual payload image needs not to be modified. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Anyone who knows history, particularly the history of Europe, will, I think, recognize that the domination of education or of government by any one particular religious faith is never a happy arrangement for the people. - Eleanor Roosevelt _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

