[PATCH 3/6] ARM: dts: imx25: substitute NO_PAD_CTL by the respective reset value
Fabio Estevam
festevam at gmail.com
Thu Jul 14 12:16:59 PDT 2016
Hi Uwe,
On Thu, Jul 14, 2016 at 3:34 PM, Uwe Kleine-König
<u.kleine-koenig at pengutronix.de> wrote:
> I assume the vendor variant, because your patch doesn't match what I saw
> in U-Boot mainline.
I am running U-boot 2016.07 from mainline.
> 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)
Here it goes:
=> md.l 0x43fac000 0x161
43fac000: 00000000 00000000 00000000 00000000 ................
43fac010: 00000000 00000015 00000000 00000015 ................
43fac020: 00000000 00000000 00000000 00000000 ................
43fac030: 00000000 00000000 00000000 00000000 ................
43fac040: 00000000 00000000 00000000 00000000 ................
43fac050: 00000000 00000000 00000000 00000000 ................
43fac060: 00000000 00000000 00000000 00000000 ................
43fac070: 00000000 00000000 00000000 00000000 ................
43fac080: 00000000 00000000 00000000 00000000 ................
43fac090: 00000000 00000005 00000000 00000000 ................
43fac0a0: 00000000 00000000 00000000 00000000 ................
43fac0b0: 00000000 00000000 00000000 00000000 ................
43fac0c0: 00000000 00000000 00000000 00000000 ................
43fac0d0: 00000000 00000000 00000000 00000000 ................
43fac0e0: 00000000 00000000 00000000 00000000 ................
43fac0f0: 00000000 00000000 00000000 00000000 ................
43fac100: 00000000 00000000 00000000 00000000 ................
43fac110: 00000000 00000000 00000000 00000000 ................
43fac120: 00000000 00000000 00000000 00000000 ................
43fac130: 00000000 00000000 00000000 00000000 ................
43fac140: 00000000 00000000 00000000 00000000 ................
43fac150: 00000010 00000010 00000000 00000000 ................
43fac160: 00000000 00000000 00000000 00000000 ................
43fac170: 00000010 00000010 00000010 00000010 ................
43fac180: 00000000 00000000 00000000 00000005 ................
43fac190: 00000010 00000010 00000010 00000010 ................
43fac1a0: 00000010 00000010 00000000 00000000 ................
43fac1b0: 00000000 00000000 00000000 00000000 ................
43fac1c0: 00000000 00000000 00000010 00000010 ................
43fac1d0: 00000010 00000010 00000010 00000010 ................
43fac1e0: 00000010 00000010 00000010 00000000 ................
43fac1f0: 00000000 00000000 00000000 00000000 ................
43fac200: 00000000 00000000 00000000 00000000 ................
43fac210: 00000000 00000000 00000000 00000000 ................
43fac220: 00000000 00000000 00000000 00000080 ................
43fac230: 00000080 00000000 00000000 00000000 ................
43fac240: 00000000 00000000 00000000 00000000 ................
43fac250: 00000000 00000000 00000000 00000000 ................
43fac260: 00000000 00002001 00002001 00000001 ..... ... ......
43fac270: 00002080 00000000 00000000 00000080 . ..............
43fac280: 000000a1 000000a1 000000a1 00000000 ................
43fac290: 00000021 000000a1 000000a1 000000a1 !...............
43fac2a0: 00000000 00000000 00000000 00000000 ................
43fac2b0: 00000000 00000000 00000000 00000000 ................
43fac2c0: 00000060 00000060 00000060 00000060 `...`...`...`...
43fac2d0: 00000060 00000060 00000060 00000060 `...`...`...`...
43fac2e0: 00000060 00000160 00000060 00000060 `...`...`...`...
43fac2f0: 00000060 00000060 00000020 00000060 `...`... ...`...
43fac300: 00000060 00000060 00000061 00000060 `...`...a...`...
43fac310: 00000060 000000c0 000000a1 000000a0 `...............
43fac320: 000001a1 000000a0 000000a0 000001a0 ................
43fac330: 000000a0 000000a0 00000061 000000a0 ........a.......
43fac340: 000000a0 000001a0 000000a8 000000a8 ................
43fac350: 000000a0 000000a0 000000e0 000000a0 ................
43fac360: 000000a0 000000a0 000000a0 00000000 ................
43fac370: 00000000 000000e0 000000e0 00000060 ............`...
43fac380: 000000e1 00000060 000000e1 000000d1 ....`...........
43fac390: 000000e1 000000d1 000000d1 000000e1 ................
43fac3a0: 000000a0 000000a0 000000e0 000000e0 ................
43fac3b0: 000000a8 000000a8 000000a8 000000a8 ................
43fac3c0: 00000000 000001f0 00000000 00000000 ................
43fac3d0: 00000000 000000c0 000000c0 000000c0 ................
43fac3e0: 000001c0 00000062 00000002 00000000 ....b...........
43fac3f0: 00000040 000000c0 000000c0 00000020 @........... ...
43fac400: 000000a8 00000020 00000000 00000080 .... ...........
43fac410: 00000080 00000004 00000000 00000000 ................
43fac420: 00000000 00000002 00000000 00000002 ................
43fac430: 00000002 00000000 00000000 00000002 ................
43fac440: 00000000 00000000 00000000 00000000 ................
43fac450: 00000000 00001000 00000000 00000000 ................
43fac460: 00000000 00000000 00000000 00000000 ................
43fac470: 00000000 00000000 00000000 00000000 ................
43fac480: 00000000 00000000 00000000 00000000 ................
43fac490: 00000000 00000000 00000000 00000000 ................
43fac4a0: 00000000 00000000 00000000 00000000 ................
43fac4b0: 00000000 00000000 00000000 00000000 ................
43fac4c0: 00000000 00000000 00000000 00000000 ................
43fac4d0: 00000000 00000000 00000000 00000000 ................
43fac4e0: 00000000 00000000 00000000 00000000 ................
43fac4f0: 00000000 00000000 00000000 00000000 ................
43fac500: 00000000 00000000 00000000 00000000 ................
43fac510: 00000000 00000000 00000000 00000000 ................
43fac520: 00000000 00000000 00000000 00000000 ................
43fac530: 00000000 00000000 00000000 00000000 ................
43fac540: 00000000 00000000 00000000 00000000 ................
43fac550: 00000000 00000000 00000000 00000000 ................
43fac560: 00000000 00000000 00000000 00000000 ................
43fac570: 00000000 00000000 00000000 00000000 ................
43fac580: 00000000
>> 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
The problem is that all IOMUX registers were returning the same
incorrect values with memtool on mx25.
> 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.
I will give this a try, thanks.
More information about the linux-arm-kernel
mailing list