From: Wolfgang Denk Date: Mon, 14 Aug 2017 21:36:35 +0200 Subject: [U-Boot] [PATCH 1/2] arm: use $loadaddr as the standalone entry point In-Reply-To: <1502572898.17070.11.camel@gmail.com> References: <20170812090346.7887-1-max.krummenacher@toradex.com> <20170812182951.D4D52120203@gemini.denx.de> <1502572898.17070.11.camel@gmail.com> Message-ID: <20170814193635.82A43120217@gemini.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 Dear Max, In message <1502572898.17070.11.camel@gmail.com> you wrote: > > Ok, will do. The issue is that linking the standalone application > to have its text segment at a hardcoded address is less > likely to work than using an address provided by the board This may (or may not) be the case - but no matter how youlook at it, chosing CONFIG_LOADADDR is definitely the wrong approach, as the LOAD address has nothing to do with the ENTRY point address, so it must in no case ever play a role when linking an image. > configuration as a possible load address. You are confused in your wording, and I'm afraid in your thinking, too. load address != entry point. 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: wd at denx.de In any group of employed individuals the only naturally early riser is _always_ the office manager, who will _always_ leave reproachful little notes ... on the desks of their subordinates. - Terry Pratchett, _Lords and Ladies_