Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-27 Thread Russell King - ARM Linux
On Fri, Jun 27, 2014 at 02:09:58AM -0700, Laura Abbott wrote: > On 6/26/2014 8:06 PM, Tushar Behera wrote: >> arm_add_memory is getting called before this is being set, resulting in >> none of the memory banks getting added[1]. >> >> setup_machine_fdt -> early_init_dt_scan -> early_init_dt_scan_mem

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-27 Thread Laura Abbott
On 6/26/2014 8:06 PM, Tushar Behera wrote: On 06/27/2014 01:12 AM, Laura Abbott wrote: +static unsigned int bank_cnt; +static unsigned int max_cnt; + int __init arm_add_memory(u64 start, u64 size) { u64 aligned_start; /* +* Some buggy bootloaders rely on the old me

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-26 Thread Tushar Behera
On 06/26/2014 10:34 PM, Andreas Färber wrote: > Hi Kevin and Tushar, > > Am 26.06.2014 16:59, schrieb Kevin Hilman: >>> IMO, the bug is in u-boot and we should fix that. >> >> I agree that the u-boot bug needs to be fixed, and FWIW, I updated my >> u-boot and haven't seen the boot failure yet afte

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-26 Thread Tushar Behera
On 06/27/2014 01:12 AM, Laura Abbott wrote: > > +static unsigned int bank_cnt; > +static unsigned int max_cnt; > + > int __init arm_add_memory(u64 start, u64 size) > { > u64 aligned_start; > > /* > + * Some buggy bootloaders rely on the old meminfo behavior of not adding > +

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-26 Thread Laura Abbott
On 6/26/2014 8:17 AM, Russell King - ARM Linux wrote: > On Thu, Jun 26, 2014 at 07:59:19AM -0700, Kevin Hilman wrote: >> I agree that the u-boot bug needs to be fixed, and FWIW, I updated my >> u-boot and haven't seen the boot failure yet after several boots with >> next-20140625. >> >> That being

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-26 Thread Andreas Färber
Hi Kevin and Tushar, Am 26.06.2014 16:59, schrieb Kevin Hilman: >> IMO, the bug is in u-boot and we should fix that. > > I agree that the u-boot bug needs to be fixed, and FWIW, I updated my > u-boot and haven't seen the boot failure yet after several boots with > next-20140625. Could you clarif

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-26 Thread Russell King - ARM Linux
On Thu, Jun 26, 2014 at 07:59:19AM -0700, Kevin Hilman wrote: > I agree that the u-boot bug needs to be fixed, and FWIW, I updated my > u-boot and haven't seen the boot failure yet after several boots with > next-20140625. > > That being said, since it's not always feasible/practical to update > u

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-26 Thread Kevin Hilman
Hi Tushar, > Here is my assessment of the current situation. Thanks for digging into this and the detailed diagnosis. > *Bug in the u-boot* > Current u-boot for Arndale-octa board has defined NR_BANKS as 12 and the > core uses a global structure (gd->bd) to maintain the start and size of > indiv

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-25 Thread Tushar Behera
On 06/26/2014 03:27 AM, Laura Abbott wrote: > On 6/25/2014 5:13 AM, Tushar Behera wrote: >> On 06/25/2014 03:59 AM, Laura Abbott wrote: >>> On 6/24/2014 10:47 AM, Laura Abbott wrote: On 6/23/2014 11:32 AM, Kevin Hilman wrote: > On Sun, Jun 22, 2014 at 8:56 PM, Tushar Behera wrote: >>

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-25 Thread Laura Abbott
On 6/25/2014 5:13 AM, Tushar Behera wrote: > On 06/25/2014 03:59 AM, Laura Abbott wrote: >> On 6/24/2014 10:47 AM, Laura Abbott wrote: >>> On 6/23/2014 11:32 AM, Kevin Hilman wrote: On Sun, Jun 22, 2014 at 8:56 PM, Tushar Behera wrote: > Adding linux-samsung-soc and linux-arm-kernel ML fo

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-25 Thread Tushar Behera
On 06/25/2014 03:59 AM, Laura Abbott wrote: > On 6/24/2014 10:47 AM, Laura Abbott wrote: >> On 6/23/2014 11:32 AM, Kevin Hilman wrote: >>> On Sun, Jun 22, 2014 at 8:56 PM, Tushar Behera wrote: Adding linux-samsung-soc and linux-arm-kernel ML for wider audience. On 06/19/2014 04:12 P

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-24 Thread Andreas Färber
Am 23.06.2014 20:32, schrieb Kevin Hilman: > On Sun, Jun 22, 2014 at 8:56 PM, Tushar Behera wrote: >> Adding linux-samsung-soc and linux-arm-kernel ML for wider audience. >> >> On 06/19/2014 04:12 PM, Tushar Behera wrote: >>> On 06/19/2014 03:02 PM, Tushar Behera wrote: On 06/18/2014 09:22 AM

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-24 Thread Laura Abbott
On 6/24/2014 10:47 AM, Laura Abbott wrote: > On 6/23/2014 11:32 AM, Kevin Hilman wrote: >> On Sun, Jun 22, 2014 at 8:56 PM, Tushar Behera wrote: >>> Adding linux-samsung-soc and linux-arm-kernel ML for wider audience. >>> >>> On 06/19/2014 04:12 PM, Tushar Behera wrote: On 06/19/2014 03:02 PM

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-24 Thread Laura Abbott
On 6/23/2014 11:32 AM, Kevin Hilman wrote: > On Sun, Jun 22, 2014 at 8:56 PM, Tushar Behera wrote: >> Adding linux-samsung-soc and linux-arm-kernel ML for wider audience. >> >> On 06/19/2014 04:12 PM, Tushar Behera wrote: >>> On 06/19/2014 03:02 PM, Tushar Behera wrote: On 06/18/2014 09:22 AM

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-23 Thread Kevin Hilman
On Sun, Jun 22, 2014 at 8:56 PM, Tushar Behera wrote: > Adding linux-samsung-soc and linux-arm-kernel ML for wider audience. > > On 06/19/2014 04:12 PM, Tushar Behera wrote: >> On 06/19/2014 03:02 PM, Tushar Behera wrote: >>> On 06/18/2014 09:22 AM, Kevin Hilman wrote: On Tue, Jun 17, 2014 at

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-22 Thread Tushar Behera
Adding linux-samsung-soc and linux-arm-kernel ML for wider audience. On 06/19/2014 04:12 PM, Tushar Behera wrote: > On 06/19/2014 03:02 PM, Tushar Behera wrote: >> On 06/18/2014 09:22 AM, Kevin Hilman wrote: >>> On Tue, Jun 17, 2014 at 8:26 PM, Tushar Behera wrote: On 06/17/2014 10:23 PM, Ke