mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* reset / watchdog on an imx7d soc
@ 2020-06-23 13:45 Giorgio Dal Molin
  2020-06-23 13:53 ` Fabio Estevam
  0 siblings, 1 reply; 20+ messages in thread
From: Giorgio Dal Molin @ 2020-06-23 13:45 UTC (permalink / raw)
  To: barebox

Hi,

I'm having problems with the reset command on an imx7d soc.

As far as I understand it, to reboot barebox on an imx7 the 'reset' command
invokes the watchdog1, forcing it to do its job:

in drivers/watchdog/imxwd.c:
static void imx21_soc_reset(struct imx_wd *priv)
...
		val |= IMX21_WDOG_WCR_WDA; /* do not assert ext-reset */

	imxwd_write(priv, IMX21_WDOG_WCR, val);
...


What I see is that shortly after the imxwd_write() call the soc hangs but it
doesn't reboot.

Can anyone confirm that the current barebox is able to restart an imx7 soc without
using external signals ?

Do I need to enable / configure some other soc controller ?

Currently I just enable the wdog1 in my device tree:

...
&wdog1 {
	status = "okay";
};
...

giorgio

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2020-07-07  5:53 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-23 13:45 reset / watchdog on an imx7d soc Giorgio Dal Molin
2020-06-23 13:53 ` Fabio Estevam
2020-06-23 15:11   ` Giorgio Dal Molin
2020-06-29  8:44     ` Ahmad Fatoum
2020-06-29 10:53       ` Giorgio Dal Molin
2020-06-29 13:30         ` Ahmad Fatoum
2020-06-29 15:30           ` Giorgio Dal Molin
2020-06-29 15:35             ` Ahmad Fatoum
2020-06-29 16:03               ` Giorgio Dal Molin
2020-06-29 16:11                 ` Ahmad Fatoum
2020-06-29 16:33                   ` Giorgio Dal Molin
2020-06-29 16:39                     ` Fabio Estevam
2020-07-01  9:52                       ` Giorgio Dal Molin
2020-07-02  9:25                         ` Ahmad Fatoum
2020-07-02 14:51                           ` Giorgio Dal Molin
2020-07-02 15:28                           ` Giorgio Dal Molin
2020-07-02 16:05                             ` Lucas Stach
2020-07-03 14:13                               ` Giorgio Dal Molin
2020-07-02 16:24                             ` Fabio Estevam
2020-07-07  5:52                               ` Giorgio Dal Molin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox