Re: [U-Boot] [PATCH 1/2] arm: use $loadaddr as the standalone entry point

2017-08-18 Thread Tom Rini
On Tue, Aug 15, 2017 at 03:21:15PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20170815113952.GE20467@bill-the-cat> you wrote: > > > > What CONFIG_STANDALONE_LOAD_ADDR is, is the location that we want > > hello_world, or other example stand alone applications loaded into > > memory

Re: [U-Boot] [PATCH 1/2] arm: use $loadaddr as the standalone entry point

2017-08-15 Thread Wolfgang Denk
Dear Max, In message <1502799746.3076.16.ca...@gmail.com> you wrote: > > Wolfgang says that a board needs to decide on what image type to > use for the standalone application and then from that set an No, I did not say this. On contrary, this is not up to the "board" to decide. This is a

Re: [U-Boot] [PATCH 1/2] arm: use $loadaddr as the standalone entry point

2017-08-15 Thread Wolfgang Denk
Dear Tom, In message <20170815113952.GE20467@bill-the-cat> you wrote: > > What CONFIG_STANDALONE_LOAD_ADDR is, is the location that we want > hello_world, or other example stand alone applications loaded into > memory at. CONFIG_LOADADDR is the safe default location to load things > into memory

Re: [U-Boot] [PATCH 1/2] arm: use $loadaddr as the standalone entry point

2017-08-15 Thread Max Krummenacher
Hello all Am Dienstag, den 15.08.2017, 07:39 -0400 schrieb Tom Rini: > On Tue, Aug 15, 2017 at 09:32:30AM +0200, Wolfgang Denk wrote: > > > > Dear Tom, > > > > In message <20170814211300.GM20467@bill-the-cat> you wrote: > > > > > > > > > But we're talking about CONFIG_STANDALONE_LOAD_ADDR not

Re: [U-Boot] [PATCH 1/2] arm: use $loadaddr as the standalone entry point

2017-08-15 Thread Tom Rini
On Tue, Aug 15, 2017 at 09:32:30AM +0200, Wolfgang Denk wrote: > 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

Re: [U-Boot] [PATCH 1/2] arm: use $loadaddr as the standalone entry point

2017-08-15 Thread Wolfgang Denk
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

Re: [U-Boot] [PATCH 1/2] arm: use $loadaddr as the standalone entry point

2017-08-14 Thread Tom Rini
On Mon, Aug 14, 2017 at 09:36:35PM +0200, Wolfgang Denk wrote: > Dear Max, > > In message <1502572898.17070.11.ca...@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

Re: [U-Boot] [PATCH 1/2] arm: use $loadaddr as the standalone entry point

2017-08-14 Thread Wolfgang Denk
Dear Max, In message <1502572898.17070.11.ca...@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 -

Re: [U-Boot] [PATCH 1/2] arm: use $loadaddr as the standalone entry point

2017-08-12 Thread Max Krummenacher
Dear Wolfgang Am Samstag, den 12.08.2017, 20:29 +0200 schrieb Wolfgang Denk: > Dear Max, > > In message <20170812090346.7887-2-max.krummenac...@toradex.com> you wrote: > > > > Different SoCs have different RAM layouts, so providing > > $(CONFIG_LOADADDR) instead of the constant 0xc10 for >

Re: [U-Boot] [PATCH 1/2] arm: use $loadaddr as the standalone entry point

2017-08-12 Thread Wolfgang Denk
Dear Max, In message <20170812090346.7887-2-max.krummenac...@toradex.com> you wrote: > Different SoCs have different RAM layouts, so providing > $(CONFIG_LOADADDR) instead of the constant 0xc10 for > CONFIG_STANDALONE_LOAD_ADDR is probably more appropriate. At least the wording of the