Dear Tom, In message <20170814211300.GM20467@bill-the-cat> you wrote: > > But we're talking about CONFIG_STANDALONE_LOAD_ADDR not > CONFIG_STANDALONE_ENTRY_POINT. What we've been doing in > arch/arm/config.mk has been on my to fix list for a long time, because > it's been wrong for so many boards. Setting this to CONFIG_LOADADDR is > a reasonable default value.
No, it is not. It is fundamentally broken. If you need a default for the entry point address, then define one. CONFIG_LOADADDR means where the image gets loaded to, and almost all image formats have a header in front of the payuload, so the entry point is somewhere else. And even if you load raw binary images, there is no guarantee that the entry point is right at the start of the image, Mixing things that are defined for different purposes (loading image versus start address of the code) is a really bad idea. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de The faster I go, the behinder I get. -- Lewis Carroll _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot