From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from vsmx012.vodafonemail.xion.oxcs.net ([153.92.174.90]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jprPe-0001Rg-0G for barebox@lists.infradead.org; Mon, 29 Jun 2020 10:53:22 +0000 Date: Mon, 29 Jun 2020 12:53:07 +0200 (CEST) From: Giorgio Dal Molin Message-ID: <517310923.70062.1593427992397@mail.vodafone.de> In-Reply-To: References: <925732743.424285.1592919941556@mail.vodafone.de> <245646662.425432.1592925096458@mail.vodafone.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: reset / watchdog on an imx7d soc To: Ahmad Fatoum , Fabio Estevam Cc: Barebox List Hi, > On June 29, 2020 at 10:44 AM Ahmad Fatoum wrote: > > > Hello Giorgio, > > On 6/23/20 5:11 PM, Giorgio Dal Molin wrote: > > Hi Fabio, > > > > thank you for your quick reply. > > > > I've already found the errata you linked in your mail but I had no success > > applying the suggestion there; maybe I'm doing it wrong. > > Let's take the Option 3 there: > > Does reset within Linux (with say the imx_v6_v7_defconfg) work? No. I see the same behavior also with the kernel: after a 'shutdown -r' the system 'goes down' but doesn't reboot, it just hang: ~ # shutdown -r system is going down for reboot NOW ... [ 46.248222] 000: ci_hdrc ci_hdrc.0: remove, state 1 [ 46.248253] 000: usb usb1: USB disconnect, device number 1 [ 46.248263] 000: usb 1-1: USB disconnect, device number 2 The same happens if I kill the 'watchdog' process: after ~2 seconds the system just hangs. I'm sure there must be a solution because the original u-boot bootloader for the cpu module I'm using reboots the system as expected, through the wdog1; unfortunately it's not so trivial to find what makes the difference. giorgio > > -- > Pengutronix e.K. | | > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox