public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing
Date: Thu, 3 Dec 2015 08:06:29 -0800	[thread overview]
Message-ID: <56606885.7060705@freescale.com> (raw)
In-Reply-To: <BN3PR0301MB0867746C9352B9CF7C16223DFE0D0@BN3PR0301MB0867.namprd03.prod.outlook.com>



On 12/03/2015 01:49 AM, Wang Huan-B18965 wrote:

<snip>

>>
>> The actual command which results in a watchdog reset is 'sf read
>> 0x81040000 0x200000 0x400000'. Please note that this uses an external
>> watchdog which is enabled by default and resets after ~1.5s. The command
>> itself takes about 2s (taken from my watch).
>>
> [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.
> 
> U-Boot 2015.10-00273-g7ee52af (Dec 03 2015 - 17:32:24 +0800)
> 
> CPU:   Freescale LayerScape LS1021E, Version: 2.0, (0x87081120)
> Clock Configuration:
>        CPU0(ARMV7):1000 MHz,
>        Bus:300  MHz, DDR:800  MHz (1600 MT/s data rate),
> Reset Configuration Word (RCW):
>        00000000: 0608000a 00000000 00000000 00000000
>        00000010: 30000000 00007900 40025a00 21046000
>        00000020: 00000000 00000000 00000000 20000000
>        00000030: 20024800 881b7540 00000000 00000000
> Model: LS1021A TWR Board
> Board: LS1021ATWR
> I2C:   ready
> DRAM:  1 GiB
> Using SERDES1 Protocol: 48 (0x30)
> MMC:   FSL_SDHC: 0
> SF: Detected N25Q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
> EEPROM: NXID v1
> PCIe1: Root Complex no link, regs @ 0x3400000
> PCIe2: disabled
> In:    serial
> Out:   serial
> Err:   serial
> SEC: RNG instantiated
> SATA link 0 timeout.
> AHCI 0001.0300 1 slots 1 ports ? Gbps 0x1 impl SATA mode
> flags: 64bit ncq pm clo only pmp fbss pio slum part ccc
> Found 0 device(s).
> SCSI:  Net:   eTSEC1 is in sgmii mode.
> eTSEC2 is in sgmii mode.
> eTSEC1, eTSEC2, eTSEC3 [PRIME]
> => => sf probe
> SF: Detected N25Q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
> => sf read 0x81040000 0x200000 0x400000
> device 0 offset 0x200000, size 0x400000
> SF: 4194304 bytes @ 0x200000 Read: OK
> =>

Alison and Alexander,

My concerns are

Is the watchdog triggered reasonably?
How long does it take to load the file?
Is SPI running at reasonable speed?
Is there other similar situations such as loading large file off NOR flash?


York

  parent reply	other threads:[~2015-12-03 16:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-04  8:19 [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing Alexander Stein
2015-11-23 18:51 ` York Sun
2015-11-24  7:19   ` Alexander Stein
2015-11-24 20:44     ` York Sun
2015-11-25  2:20       ` Huan Wang
2015-11-25  9:33         ` Alexander Stein
2015-12-03  9:49           ` Huan Wang
2015-12-03 10:04             ` Alexander Stein
2015-12-04  1:38               ` Huan Wang
2015-12-03 16:06             ` York Sun [this message]
2015-12-04  1:56               ` Huan Wang
2015-12-04 20:10                 ` York Sun
2015-12-07  6:39                   ` Alexander Stein
2015-12-02 17:49         ` York Sun
2015-12-04 20:54 ` Fabio Estevam
2015-12-04 21:00   ` York Sun
2015-12-07  6:35   ` Alexander Stein
2015-12-15  1:06 ` York Sun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56606885.7060705@freescale.com \
    --to=yorksun@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox