i.MX7 support

Sascha Hauer s.hauer at pengutronix.de
Thu Jan 19 04:38:49 PST 2017


Hi Fabio,

On Thu, Jan 19, 2017 at 09:54:57AM -0200, Fabio Estevam wrote:
> On Thu, Jan 19, 2017 at 7:14 AM, Sascha Hauer <s.hauer at pengutronix.de> wrote:
> 
> > 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.
> 
> Thanks for the fix!

I have one issue with starting the kernel on i.MX7. The architected
timer does not work. In U-Boot I found arch/arm/imx-common/syscounter.c
in which the system counter is initialized. I just copied the code and
it works, but I wonder what I am doing here. I can't find any
documentation in the Reference Manual and also the 8MHz tick rate for
the architected timer seems to fall from the sky. Do you have any
additional documentation?

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