Re: CHIPPro NAND issue with 4.12 rc1

2017-05-24 Thread Angus Ainslie
On 2017-05-24 00:34, Maxime Ripard wrote: On Tue, May 23, 2017 at 10:05:14PM -0600, Angus Ainslie wrote: On 2017-05-23 13:52, Maxime Ripard wrote: > > Ok, good. > > If you unrevert those patches, and add clk_ignore_unused to the kernel > command line, is it still broken? > > Maxime If I use th

Re: CHIPPro NAND issue with 4.12 rc1

2017-05-23 Thread Maxime Ripard
On Tue, May 23, 2017 at 10:05:14PM -0600, Angus Ainslie wrote: > On 2017-05-23 13:52, Maxime Ripard wrote: > > > > Ok, good. > > > > If you unrevert those patches, and add clk_ignore_unused to the kernel > > command line, is it still broken? > > > > Maxime > > > If I use the clk_ignore_unused

Re: CHIPPro NAND issue with 4.12 rc1

2017-05-23 Thread Angus Ainslie
On 2017-05-23 13:52, Maxime Ripard wrote: Ok, good. If you unrevert those patches, and add clk_ignore_unused to the kernel command line, is it still broken? Maxime If I use the clk_ignore_unused flag with the patches below then the kernel can boot and mount the nand. diff --git a/drivers

Re: CHIPPro NAND issue with 4.12 rc1

2017-05-23 Thread Angus Ainslie
On 2017-05-23 13:52, Maxime Ripard wrote: On Mon, May 22, 2017 at 10:32:42AM -0600, Angus Ainslie wrote: Hi Maxime On 2017-05-22 01:01, Maxime Ripard wrote: > > This just made me realise, this is also the time where the clocks are > disabled, and we changed our clock implementation in 4.11. > >

Re: CHIPPro NAND issue with 4.12 rc1

2017-05-23 Thread Maxime Ripard
On Mon, May 22, 2017 at 10:32:42AM -0600, Angus Ainslie wrote: > Hi Maxime > > On 2017-05-22 01:01, Maxime Ripard wrote: > > > > This just made me realise, this is also the time where the clocks are > > disabled, and we changed our clock implementation in 4.11. > > > > And using the 4.4 DT will

Re: CHIPPro NAND issue with 4.12 rc1

2017-05-22 Thread Angus Ainslie
Hi Maxime On 2017-05-22 01:01, Maxime Ripard wrote: This just made me realise, this is also the time where the clocks are disabled, and we changed our clock implementation in 4.11. And using the 4.4 DT will keep the old driver... Did you test in 4.11? If it's also broken, could you try to rev

Re: CHIPPro NAND issue with 4.12 rc1

2017-05-22 Thread Maxime Ripard
Hi, On Sun, May 21, 2017 at 07:45:35AM +0200, Boris Brezillon wrote: > > >> [7.13] ubi0: scanning is finished > > >> [7.15] ubi0: attached mtd4 (name "rootfs", size 496 MiB) > > >> [7.16] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: > > >> 258048 > > >> bytes > > >> [

Re: CHIPPro NAND issue with 4.12 rc1

2017-05-21 Thread Angus Ainslie
On 2017-05-20 23:45, Boris Brezillon wrote: Le Sat, 20 May 2017 15:24:06 -0600, Angus Ainslie a écrit : On 2017-05-20 09:14, Boris Brezillon wrote: > Le Sat, 20 May 2017 08:49:04 -0600, > Angus Ainslie a écrit : > >> Hi All, >> >> I'm trying to boot a CHIPPro with the stock 4.12 rc1 kernel. I

Re: CHIPPro NAND issue with 4.12 rc1

2017-05-20 Thread Boris Brezillon
Le Sat, 20 May 2017 15:24:06 -0600, Angus Ainslie a écrit : > On 2017-05-20 09:14, Boris Brezillon wrote: > > Le Sat, 20 May 2017 08:49:04 -0600, > > Angus Ainslie a écrit : > > > >> Hi All, > >> > >> I'm trying to boot a CHIPPro with the stock 4.12 rc1 kernel. If I make > >> no modification

Re: CHIPPro NAND issue with 4.12 rc1

2017-05-20 Thread Angus Ainslie
On 2017-05-20 09:14, Boris Brezillon wrote: Le Sat, 20 May 2017 08:49:04 -0600, Angus Ainslie a écrit : Hi All, I'm trying to boot a CHIPPro with the stock 4.12 rc1 kernel. If I make no modifications to the sun5i-gr8-chip-pro.dtb the kernel boots but can't find the root partition. So I added

Re: CHIPPro NAND issue with 4.12 rc1

2017-05-20 Thread Boris Brezillon
Le Sat, 20 May 2017 08:49:04 -0600, Angus Ainslie a écrit : > Hi All, > > I'm trying to boot a CHIPPro with the stock 4.12 rc1 kernel. If I make > no modifications to the sun5i-gr8-chip-pro.dtb the kernel boots but > can't find the root partition. > > So I added the partitions to the dts file

CHIPPro NAND issue with 4.12 rc1

2017-05-20 Thread Angus Ainslie
Hi All, I'm trying to boot a CHIPPro with the stock 4.12 rc1 kernel. If I make no modifications to the sun5i-gr8-chip-pro.dtb the kernel boots but can't find the root partition. So I added the partitions to the dts file diff --git a/arch/arm/boot/dts/sun5i-gr8-chip-pro.dts b/arch/arm/boot/d