[EXT] [PATCH] mtd: spi-nor-core: call WATCHDOG_RESET() in spi_nor_ready()
Kuldeep Singh
kuldeep.singh at nxp.com
Thu Mar 19 15:52:18 CET 2020
Hi Vignesh,
> -----Original Message-----
> From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Rasmus
> Villemoes
> Sent: Tuesday, March 17, 2020 1:49 AM
> To: u-boot at lists.denx.de
> Cc: Jagan Teki <jagan at amarulasolutions.com>; Vignesh R
> <vigneshr at ti.com>; Rasmus Villemoes <rasmus.villemoes at prevas.dk>
> Subject: [EXT] [PATCH] mtd: spi-nor-core: call WATCHDOG_RESET() in
> spi_nor_ready()
>
> Caution: EXT Email
>
> I have a board for which doing "sf erase 0x100000 0x80000"
> consistently causes the external watchdog circuit to reset the board. Make
> sure to pet the watchdog during slow operations such as erasing or writing
> large areas of a spi nor flash.
I also stumbled with the same problem of board resetting but it was in order of MBs and not in KBs.
Board gets reset while performing burst erase/write(for 48M erase, resets at 16M~) and read operation on 16M+.
I provided fix [1] in driver itself(add 1us delay) assuming it to be soc specific which solves problem for me and able to perform complete flash size operations.
Thanks
Kuldeep
[1] https://patchwork.ozlabs.org/patch/1243005/
More information about the U-Boot
mailing list