Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-14 Thread York Sun
On 11/04/2015 04:19 PM, Alexander Stein wrote: > When reading a large blob. e.g. a linux kernel (several MiBs) a watchdog > timeout might occur meanwhile. So pet the watchdog while operating on > the flash. > > Signed-off-by: Alexander Stein > --- Applied to fsl-qoriq master. Awaiting upstream

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-07 Thread Alexander Stein
Hi Fabio, On Friday 04 December 2015 18:54:15, Fabio Estevam wrote: > On Wed, Nov 4, 2015 at 6:19 AM, Alexander Stein > wrote: > > When reading a large blob. e.g. a linux kernel (several MiBs) a watchdog > > timeout might occur meanwhile. So pet the watchdog while operating on > > the flash. > >

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-07 Thread Alexander Stein
On Friday 04 December 2015 12:10:47, York Sun wrote: > > On 12/03/2015 05:56 PM, Wang Huan-B18965 wrote: > >> On 12/03/2015 01:49 AM, Wang Huan-B18965 wrote: > >> > >> > >> > > The actual command which results in a watchdog reset is 'sf read > 0x8104 0x20 0x40'. Please

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-04 Thread York Sun
On 12/04/2015 12:54 PM, Fabio Estevam wrote: > On Wed, Nov 4, 2015 at 6:19 AM, Alexander Stein > wrote: >> When reading a large blob. e.g. a linux kernel (several MiBs) a watchdog >> timeout might occur meanwhile. So pet the watchdog while operating on >> the flash. > > I guess the same problem

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-04 Thread Fabio Estevam
On Wed, Nov 4, 2015 at 6:19 AM, Alexander Stein wrote: > When reading a large blob. e.g. a linux kernel (several MiBs) a watchdog > timeout might occur meanwhile. So pet the watchdog while operating on > the flash. I guess the same problem would occur when you do long file transfers via TFTP, via

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-04 Thread York Sun
On 12/03/2015 05:56 PM, Wang Huan-B18965 wrote: >> On 12/03/2015 01:49 AM, Wang Huan-B18965 wrote: >> >> >> The actual command which results in a watchdog reset is 'sf read 0x8104 0x20 0x40'. Please note that this uses an external watchdog which is enabled by defa

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-03 Thread Huan Wang
> On 12/03/2015 01:49 AM, Wang Huan-B18965 wrote: > > > > >> > >> The actual command which results in a watchdog reset is 'sf read > >> 0x8104 0x20 0x40'. Please note that this uses an external > >> watchdog which is enabled by default and resets after ~1.5s. The > >> command itself

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-03 Thread Huan Wang
> On Thursday 03 December 2015 09:49:40, Huan Wang wrote: > > [Alison Wang] I could not reproduce the issue. Maybe I don't have the > > external watchdog which will reset after ~1.5s as Alexander mentioned. > > Could you try to set the internal watchdog to 1s timeout? This should be > more or less

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-03 Thread York Sun
On 12/03/2015 01:49 AM, Wang Huan-B18965 wrote: >> >> The actual command which results in a watchdog reset is 'sf read >> 0x8104 0x20 0x40'. Please note that this uses an external >> watchdog which is enabled by default and resets after ~1.5s. The command >> itself takes about 2s (

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-03 Thread Alexander Stein
Hi, On Thursday 03 December 2015 09:49:40, Huan Wang wrote: > [Alison Wang] I could not reproduce the issue. Maybe I don't have the > external watchdog which will reset after ~1.5s as Alexander mentioned. Could you try to set the internal watchdog to 1s timeout? This should be more or less the s

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-03 Thread Huan Wang
Hi, York, > On Wednesday 25 November 2015 02:20:53, Huan Wang wrote: > > [Alison Wang] I didn't meet any issue when using sf commands to write > > and read the serial flash. > > > > Hi, Alexander, > > > > Could you show me the detail commands and process when you meet > such > > issue? Then I

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-12-02 Thread York Sun
On 11/24/2015 06:20 PM, Wang Huan-B18965 wrote: >> On 11/23/2015 11:19 PM, Alexander Stein wrote: >>> On Monday 23 November 2015 10:51:49, York Sun wrote: On 11/04/2015 12:19 AM, Alexander Stein wrote: > When reading a large blob. e.g. a linux kernel (several MiBs) a > watchdog timeo

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-11-25 Thread Alexander Stein
On Wednesday 25 November 2015 02:20:53, Huan Wang wrote: > [Alison Wang] I didn't meet any issue when using sf commands to write and > read the serial flash. > > Hi, Alexander, > > Could you show me the detail commands and process when you meet > such issue? Then I can try to reproduce on m

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-11-24 Thread Huan Wang
> On 11/23/2015 11:19 PM, Alexander Stein wrote: > > On Monday 23 November 2015 10:51:49, York Sun wrote: > >> On 11/04/2015 12:19 AM, Alexander Stein wrote: > >>> When reading a large blob. e.g. a linux kernel (several MiBs) a > >>> watchdog timeout might occur meanwhile. So pet the watchdog while

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-11-24 Thread York Sun
On 11/23/2015 11:19 PM, Alexander Stein wrote: > On Monday 23 November 2015 10:51:49, York Sun wrote: >> On 11/04/2015 12:19 AM, Alexander Stein wrote: >>> When reading a large blob. e.g. a linux kernel (several MiBs) a watchdog >>> timeout might occur meanwhile. So pet the watchdog while operati

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-11-24 Thread Alexander Stein
On Monday 23 November 2015 10:51:49, York Sun wrote: > On 11/04/2015 12:19 AM, Alexander Stein wrote: > > When reading a large blob. e.g. a linux kernel (several MiBs) a watchdog > > timeout might occur meanwhile. So pet the watchdog while operating on > > the flash. > > Alexander, > > On which p

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-11-23 Thread York Sun
On 11/04/2015 12:19 AM, Alexander Stein wrote: > When reading a large blob. e.g. a linux kernel (several MiBs) a watchdog > timeout might occur meanwhile. So pet the watchdog while operating on > the flash. Alexander, On which platform was this watchdog issue found? > > Signed-off-by: Alexand

[U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-11-04 Thread Alexander Stein
When reading a large blob. e.g. a linux kernel (several MiBs) a watchdog timeout might occur meanwhile. So pet the watchdog while operating on the flash. Signed-off-by: Alexander Stein --- drivers/spi/fsl_qspi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/spi/fsl_qspi.c b/dr