[U-Boot] arm: ti: SF commands raise watchdog reset
Daniel Gorsulowski
daniel.gorsulowski at esd.eu
Thu Jun 2 10:19:41 CEST 2016
Hello,
I have an issue with sf commands. If a command takes longer than the
defined HW Watchdog timeout, the board resets.
My Platform is:
Board: Custom
CPU: Sitara AM3357ZCZ
Flash: Micron N25Q256A13E1240F Serial NOR Flash
U-Boot: repoduced on 2016.01 and 2016.03
Commands to reproduce the problem:
=> sf probe
SF: Detected N25Q256 with page size 256 Bytes, erase size 4 KiB, total
32 MiB
=> sf erase 0 2000000
>>> board resets after 1 minute <<<
If I do
#undef CONFIG_HW_WATCHDOG
in my board config, the board runs stable.
The Watchdog ist set to 60 seconds. See drivers/watchdog/omap_wdt.c:
...
#define WDT_HW_TIMEOUT 60
...
void hw_watchdog_init(void)
{
...
omap_wdt_set_timeout(WDT_HW_TIMEOUT);
...
}
I have no idea how to fix this, so I ask you.
I guess, nobody has similar hardware to reproduce this. But maybe
someone has an idea and can tell me what I could try out.
Maybe the issue is related to
http://lists.denx.de/pipermail/u-boot/2015-November/232844.html
Kind regards
Daniel
More information about the U-Boot
mailing list