i.MX7 support

Sascha Hauer s.hauer at pengutronix.de
Thu Jan 19 01:14:03 PST 2017


On Wed, Jan 18, 2017 at 07:36:57AM -0200, Fabio Estevam wrote:
> On Wed, Jan 18, 2017 at 5:07 AM, Sascha Hauer <s.hauer at pengutronix.de> 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 |



More information about the barebox mailing list