From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cU8nZ-0007UI-9l for barebox@lists.infradead.org; Thu, 19 Jan 2017 09:14:25 +0000 Date: Thu, 19 Jan 2017 10:14:03 +0100 From: Sascha Hauer Message-ID: <20170119091403.fapqdjnd2xpnylep@pengutronix.de> References: <20170116105108.13617-1-s.hauer@pengutronix.de> <20170116125820.dx7cxtwhnz5rwrw5@pengutronix.de> <20170118070738.g5a7rdahunjes4jl@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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: i.MX7 support To: Fabio Estevam Cc: Barebox List On Wed, Jan 18, 2017 at 07:36:57AM -0200, Fabio Estevam wrote: > On Wed, Jan 18, 2017 at 5:07 AM, Sascha Hauer wrote: > > > I have a rev 2.0 board here. > > Does the 'reboot' command in Linux work? Ok, found it. The i.MX7 has two iomux controllers, the regular one and the LPSR iomux controller. In the warp7 and other dts files the LPSR pins are attached to the regular controller, not the LPSR controller. I just sent out a series fixing this, you are on Cc. With U-Boot this problem does not occur since U-Boot uses it's own code to correctly configure the iomux_lpsr controller which is then not touched again from Linux. With this fix reset works in barebox and also reboot under Linux. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 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