Re: [U-Boot] [PATCH] Fix unreliable detection of DRAM size on Orange Pi 3

2019-08-30 Thread Ondřej Jirman
Hi André, On Fri, Aug 30, 2019 at 05:19:02PM +0100, Andre Przywara wrote: > > OTOH, let's visualize it: > > > > CPU address DRAM address > > --- > > [w ] SDRAM_BASE 0 > >

Re: [U-Boot] [PATCH] Fix unreliable detection of DRAM size on Orange Pi 3

2019-08-30 Thread Andre Przywara
On Fri, 30 Aug 2019 12:56:28 +0200 Ondřej Jirman wrote: Hi Ondřej, > Hello, > > On Fri, Aug 30, 2019 at 01:44:34AM +0100, André Przywara wrote: > > On 25/08/2019 15:41, Siarhei Siamashka wrote: > > > On Sat, 24 Aug 2019 22:07:43 +0200 > > > Ondřej Jirman wrote: > > > > Hi, > > > > >> Hi

Re: [U-Boot] [PATCH] Fix unreliable detection of DRAM size on Orange Pi 3

2019-08-30 Thread Ondřej Jirman
Hello, On Fri, Aug 30, 2019 at 01:44:34AM +0100, André Przywara wrote: > On 25/08/2019 15:41, Siarhei Siamashka wrote: > > On Sat, 24 Aug 2019 22:07:43 +0200 > > Ondřej Jirman wrote: > > Hi, > > >> Hi Jagan, > >> > >> can you please apply this patch to the sunxi tree, so that it > >> doesn't

Re: [U-Boot] [PATCH] Fix unreliable detection of DRAM size on Orange Pi 3

2019-08-29 Thread André Przywara
On 25/08/2019 15:41, Siarhei Siamashka wrote: > On Sat, 24 Aug 2019 22:07:43 +0200 > Ondřej Jirman wrote: Hi, >> Hi Jagan, >> >> can you please apply this patch to the sunxi tree, so that it >> doesn't get lost. >> >> thank you, >> Ondrej >> >> On Mon, Jul 29, 2019 at 01:39:42AM +0200,

Re: [U-Boot] [PATCH] Fix unreliable detection of DRAM size on Orange Pi 3

2019-08-25 Thread Siarhei Siamashka
On Sun, 25 Aug 2019 18:12:22 +0200 Ondřej Jirman wrote: > Hello, > > On Sun, Aug 25, 2019 at 05:41:55PM +0300, Siarhei Siamashka wrote: > > On Sat, 24 Aug 2019 22:07:43 +0200 > > Ondřej Jirman wrote: > > > > > Hi Jagan, > > > > > > can you please apply this patch to the sunxi tree, so that

Re: [U-Boot] [PATCH] Fix unreliable detection of DRAM size on Orange Pi 3

2019-08-25 Thread Ondřej Jirman
Hello, On Sun, Aug 25, 2019 at 05:41:55PM +0300, Siarhei Siamashka wrote: > On Sat, 24 Aug 2019 22:07:43 +0200 > Ondřej Jirman wrote: > > > Hi Jagan, > > > > can you please apply this patch to the sunxi tree, so that it > > doesn't get lost. > > > > thank you, > > Ondrej > > > > On Mon,

Re: [U-Boot] [PATCH] Fix unreliable detection of DRAM size on Orange Pi 3

2019-08-25 Thread Siarhei Siamashka
On Sat, 24 Aug 2019 22:07:43 +0200 Ondřej Jirman wrote: > Hi Jagan, > > can you please apply this patch to the sunxi tree, so that it > doesn't get lost. > > thank you, > Ondrej > > On Mon, Jul 29, 2019 at 01:39:42AM +0200, megous hlavni wrote: > > From: Ondrej Jirman > > > > Orange

Re: [U-Boot] [PATCH] Fix unreliable detection of DRAM size on Orange Pi 3

2019-08-24 Thread Ondřej Jirman
Hi Jagan, can you please apply this patch to the sunxi tree, so that it doesn't get lost. thank you, Ondrej On Mon, Jul 29, 2019 at 01:39:42AM +0200, megous hlavni wrote: > From: Ondrej Jirman > > Orange Pi 3 has 2 GiB of DRAM, that sometime get misdetected > as 4 GiB, due to false

[U-Boot] [PATCH] Fix unreliable detection of DRAM size on Orange Pi 3

2019-07-28 Thread megous
From: Ondrej Jirman Orange Pi 3 has 2 GiB of DRAM, that sometime get misdetected as 4 GiB, due to false negative result from mctl_mem_matches() when detecting number of column address bits. This leads to u-boot detecting more address bits than there are and the boot process hangs shortly after.