Re: [PATCH v1] x86: tangier: Find proper memory region for relocation

2020-12-15 Thread Bin Meng
On Wed, Dec 16, 2020 at 11:32 AM Bin Meng wrote: > > On Fri, Nov 27, 2020 at 8:40 PM Andy Shevchenko > wrote: > > > > It appears that U-Boot works by luck on Intel Edison board because the > > amount > > of RAM is less than 1 GB and standard way of calculating the top of it work > > for this con

Re: [PATCH v1] x86: tangier: Find proper memory region for relocation

2020-12-15 Thread Bin Meng
On Fri, Nov 27, 2020 at 8:40 PM Andy Shevchenko wrote: > > It appears that U-Boot works by luck on Intel Edison board because the amount > of RAM is less than 1 GB and standard way of calculating the top of it work > for this configuration. However, this won't work if the amount of RAM is > differ

Re: [PATCH v1] x86: tangier: Find proper memory region for relocation

2020-12-15 Thread Bin Meng
Hi Andy, On Tue, Dec 15, 2020 at 6:04 PM Andy Shevchenko wrote: > > On Mon, Nov 30, 2020 at 01:12:17PM -0700, Simon Glass wrote: > > On Fri, 27 Nov 2020 at 05:40, Andy Shevchenko > > wrote: > > > > > > It appears that U-Boot works by luck on Intel Edison board because the > > > amount > > > of

Re: [PATCH v1] x86: tangier: Find proper memory region for relocation

2020-12-15 Thread Andy Shevchenko
On Mon, Nov 30, 2020 at 01:12:17PM -0700, Simon Glass wrote: > On Fri, 27 Nov 2020 at 05:40, Andy Shevchenko > wrote: > > > > It appears that U-Boot works by luck on Intel Edison board because the > > amount > > of RAM is less than 1 GB and standard way of calculating the top of it work > > for t

Re: [PATCH v1] x86: tangier: Find proper memory region for relocation

2020-11-30 Thread Simon Glass
On Fri, 27 Nov 2020 at 05:40, Andy Shevchenko wrote: > > It appears that U-Boot works by luck on Intel Edison board because the amount > of RAM is less than 1 GB and standard way of calculating the top of it work > for this configuration. However, this won't work if the amount of RAM is > differen

[PATCH v1] x86: tangier: Find proper memory region for relocation

2020-11-27 Thread Andy Shevchenko
It appears that U-Boot works by luck on Intel Edison board because the amount of RAM is less than 1 GB and standard way of calculating the top of it work for this configuration. However, this won't work if the amount of RAM is different and split differently in address space. We have to fine the su