[PATCH 3/6] ARM: dts: imx25: substitute NO_PAD_CTL by the respective reset value

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Thu Jul 14 11:34:42 PDT 2016


Hello Fabio,

On Thu, Jul 14, 2016 at 02:04:14PM -0300, Fabio Estevam wrote:
> On Wed, Jul 13, 2016 at 3:25 AM, Uwe Kleine-König
> <u.kleine-koenig at pengutronix.de> wrote:
> 
> > Which U-Boot did you test? Mainline or the vendor variant?

I assume the vendor variant, because your patch doesn't match what I saw
in U-Boot mainline.

> > Can you provide the output of
> >
> >         md 0x43fac000+0x584
> 
> Here it goes:
> => md.l 0x43fac584 1
> 43fac584: 00000000                               ....

I guess your tool (U-Boot?) would generate the output I want with:

	md.l 0x43fac000 353

(i.e. 353 32bit words, that are all the iomux registers)

> > in U-Boot (which for sure has a different syntax that I don't know) and
> > from Linux
> >
> >         memtool md 0x43fac000+0x584
> 
> The memtool utility version I have is broken for mx25, so I can't dump
> this register easily in Linux.

Which version do you have? How is it broken? Did you configure AIPS to
allow non-privileged access to the peripherals? Our internal
documentation tells you have to set (in the boot loader) the following
registers to 0:

	0x43f00020 0x43f00024 0x43f00028 0x43f0002c
	0x43f00040 0x43f00044 0x43f00048 0x43f0004c 0x43f00050

After that memtool works fine for me in Linux.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list