Re: [U-Boot] [RFC] ARM: Start using fdt_high for relocation

2013-12-06 Thread Stephen Warren
On 12/06/2013 02:04 PM, Tom Rini wrote: ... > There's two problems here. The first problem is that we have > between 256MiB and 1GiB of DDR on the platform, but we could just > design for the smallest case. The second problem is, what's big > enough? You've got 32MiB (tegra30) which I would hope

Re: [U-Boot] [RFC] ARM: Start using fdt_high for relocation

2013-12-06 Thread Tom Rini
On Fri, Dec 06, 2013 at 01:44:22PM -0700, Stephen Warren wrote: > On 12/06/2013 01:31 PM, Tom Rini wrote: > > On Fri, Dec 06, 2013 at 08:28:04PM +0100, Albert ARIBAUD wrote: > >> Hi Tom, > >> > >> On Fri, 6 Dec 2013 12:18:13 -0500, Tom Rini wrote: > >> > >>> On Fri, Dec 06, 2013 at 05:59:37PM +010

Re: [U-Boot] [RFC] ARM: Start using fdt_high for relocation

2013-12-06 Thread Stephen Warren
On 12/06/2013 01:31 PM, Tom Rini wrote: > On Fri, Dec 06, 2013 at 08:28:04PM +0100, Albert ARIBAUD wrote: >> Hi Tom, >> >> On Fri, 6 Dec 2013 12:18:13 -0500, Tom Rini wrote: >> >>> On Fri, Dec 06, 2013 at 05:59:37PM +0100, Albert ARIBAUD wrote: Hi Tom, On Fri, 6 Dec 2013 10:48:50 -0

Re: [U-Boot] [RFC] ARM: Start using fdt_high for relocation

2013-12-06 Thread Tom Rini
On Fri, Dec 06, 2013 at 08:28:04PM +0100, Albert ARIBAUD wrote: > Hi Tom, > > On Fri, 6 Dec 2013 12:18:13 -0500, Tom Rini wrote: > > > On Fri, Dec 06, 2013 at 05:59:37PM +0100, Albert ARIBAUD wrote: > > > Hi Tom, > > > > > > On Fri, 6 Dec 2013 10:48:50 -0500, Tom Rini wrote: > > > > > > > Hey

Re: [U-Boot] [RFC] ARM: Start using fdt_high for relocation

2013-12-06 Thread Wolfgang Denk
Dear Tom, In message <20131206154850.GW420@bill-the-cat> you wrote: > > I've been thinking. We've had a thread on i.MX platforms about fdt > being overwritten and needing to be moved to another address. And I've > also had an internal problem about fdt being overwritten. So, how about > as a r

Re: [U-Boot] [RFC] ARM: Start using fdt_high for relocation

2013-12-06 Thread Albert ARIBAUD
Hi Tom, On Fri, 6 Dec 2013 12:18:13 -0500, Tom Rini wrote: > On Fri, Dec 06, 2013 at 05:59:37PM +0100, Albert ARIBAUD wrote: > > Hi Tom, > > > > On Fri, 6 Dec 2013 10:48:50 -0500, Tom Rini wrote: > > > > > Hey all, > > > > > > I've been thinking. We've had a thread on i.MX platforms about f

Re: [U-Boot] [RFC] ARM: Start using fdt_high for relocation

2013-12-06 Thread Tom Rini
On Fri, Dec 06, 2013 at 05:59:37PM +0100, Albert ARIBAUD wrote: > Hi Tom, > > On Fri, 6 Dec 2013 10:48:50 -0500, Tom Rini wrote: > > > Hey all, > > > > I've been thinking. We've had a thread on i.MX platforms about fdt > > being overwritten and needing to be moved to another address. And I've

Re: [U-Boot] [RFC] ARM: Start using fdt_high for relocation

2013-12-06 Thread Albert ARIBAUD
Hi Tom, On Fri, 6 Dec 2013 10:48:50 -0500, Tom Rini wrote: > Hey all, > > I've been thinking. We've had a thread on i.MX platforms about fdt > being overwritten and needing to be moved to another address. And I've > also had an internal problem about fdt being overwritten. So, how about > as

[U-Boot] [RFC] ARM: Start using fdt_high for relocation

2013-12-06 Thread Tom Rini
Hey all, I've been thinking. We've had a thread on i.MX platforms about fdt being overwritten and needing to be moved to another address. And I've also had an internal problem about fdt being overwritten. So, how about as a rule of thumb we start setting fdt_high (in configs) to memory-start +