Re: [PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-07-18 Thread Andre Przywara
On Thu, 30 Jun 2022 01:26:39 +0200 Markus Hoffrogge wrote: Hi, > The sunxi nand SPL loader was broken at least for SUN4I, > SUN5I and SUN7I SOCs since the implementation change > from DMA to PIO usage - commit 6ddbb1e. > > Root cause for this issue is the NFC control flag NFC_CTL_RAM_METHOD > b

Re: [PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-07-01 Thread Markus Hoffrogge
Am Fr., 1. Juli 2022 um 11:57 Uhr schrieb Andre Przywara < andre.przyw...@arm.com>: Hi Andre, > On Thu, 30 Jun 2022 23:30:50 +0200 > Markus Hoffrogge wrote: > > Hi Markus, > > > as this patch has been delegated to you, > > thanks for sending the patch, and for the heads up, looks > like we should

Re: [PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-07-01 Thread Markus Hoffrogge
Hi Andre, as this patch has been delegated to you, I would like to mention, that this patch is superseding the patch https://patchwork.ozlabs.org/project/uboot/patch/20220330204543.3790-1-macroalph...@gmail.com/ raised by Chris Morgan. It should solve the issue in general and does not require t

Re: [PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-07-01 Thread Andre Przywara
On Thu, 30 Jun 2022 23:30:50 +0200 Markus Hoffrogge wrote: Hi Markus, > as this patch has been delegated to you, thanks for sending the patch, and for the heads up, looks like we should add that file somewhere into MAINTAINERS. (And please keep people on CC:, to not split up the thread on the l

Re: [PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-06-30 Thread Markus Hoffrogge
Am Do., 30. Juni 2022 um 16:01 Uhr schrieb andrés ramírez : > > Hi. Markus. > > > "Markus" == Markus Hoffrogge writes: > > Markus> Hi Miquel, hi Maxime, could you probably run a test on a newer > Allwinner SOC - like e.g. > Markus> SUNI8, SUNI9, SUNI50 or newer, since I can test it on

Re: [PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-06-30 Thread andrés ramírez
Hi. Markus. > "Markus" == Markus Hoffrogge writes: Markus> Hi Miquel, hi Maxime, could you probably run a test on a newer Allwinner SOC - like e.g. Markus> SUNI8, SUNI9, SUNI50 or newer, since I can test it on a SUNI7 (A20) board only? I have a topwise A721 tablet which is sun4i (

Re: [PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-06-30 Thread Michael Nazzareno Trimarchi
Hi On Thu, Jun 30, 2022 at 9:31 AM Maxime Ripard wrote: > > On Thu, Jun 30, 2022 at 09:13:22AM +0200, Miquel Raynal wrote: > > Hi Markus, > > > > + Maxime, for the record :) > > > > mhoffro...@gmail.com wrote on Thu, 30 Jun 2022 01:26:39 +0200: > > > > > The sunxi nand SPL loader was broken at le

Re: [PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-06-30 Thread Markus Hoffrogge
Hi Miquel, hi Maxime, could you probably run a test on a newer Allwinner SOC - like e.g. SUNI8, SUNI9, SUNI50 or newer, since I can test it on a SUNI7 (A20) board only? The only aspect that makes me wonder is, that it did work on your hardware before at all. Maybe this is, since that NFC_CTL_RAM

[PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-06-30 Thread Markus Hoffrogge
The sunxi nand SPL loader was broken at least for SUN4I, SUN5I and SUN7I SOCs since the implementation change from DMA to PIO usage - commit 6ddbb1e. Root cause for this issue is the NFC control flag NFC_CTL_RAM_METHOD being set by method nand_apply_config. This flag controls the bus being used f

Re: [PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-06-30 Thread Maxime Ripard
On Thu, Jun 30, 2022 at 10:04:31AM +0200, Markus Hoffrogge wrote: > Hi Miquel, hi Maxime, > > could you probably run a test on a newer Allwinner SOC - like e.g. > SUNI8, SUNI9, SUNI50 or newer, since I can test it on a SUNI7 (A20) > board only? > > The only aspect that makes me wonder is, that it

Re: [PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-06-30 Thread Maxime Ripard
On Thu, Jun 30, 2022 at 09:13:22AM +0200, Miquel Raynal wrote: > Hi Markus, > > + Maxime, for the record :) > > mhoffro...@gmail.com wrote on Thu, 30 Jun 2022 01:26:39 +0200: > > > The sunxi nand SPL loader was broken at least for SUN4I, > > SUN5I and SUN7I SOCs since the implementation change >

Re: [PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-06-30 Thread Miquel Raynal
Hi Markus, + Maxime, for the record :) mhoffro...@gmail.com wrote on Thu, 30 Jun 2022 01:26:39 +0200: > The sunxi nand SPL loader was broken at least for SUN4I, > SUN5I and SUN7I SOCs since the implementation change > from DMA to PIO usage - commit 6ddbb1e. > > Root cause for this issue is the