Hello all,
After the board locked up, I am now working exclusively from within u-boot. Occasionally, gbit will work well. At other times, it will appear to work well but the kernel won't boot. And sometimes, downloading a kernel will just time-out. A reset is often enough to get a behavior change. In my earlier post, I noted that it's hard for me now to get broken gbit: I've since then also had spurs where five resets in a row did not work. On 03/17/2016 11:52 AM, Hans de Goede wrote: > There are 3 things which would be interesting to save and compare > with a boot which does have the problem: > > ./mmio-dump 0x1c20164 > > I have used the u-boot 'md' command here. Between a completely broken (timeouts) and working (at least a finished download), there is no change: Working: => md 0x1c20164 01c20164: 00000c06 00000000 00000000 00000000 ................ Broken: md 0x1c20164 01c20164: 00000c06 00000000 00000000 00000000 ................ > > 2) The pmic settings for various ldo-s, etc. as root run: > > i2cdump -f -y 0 0x34 > > I used the i2c md command here to get several dumps: Working 1: => i2c md 0x34 0 0xff 0000: c1 10 00 41 00 00 00 00 00 00 00 00 00 00 00 00 ...A............ 0010: 01 00 17 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0020: 00 00 00 1c 00 00 00 16 cf 54 00 00 00 00 00 00 .........T...... 0030: 60 03 42 c9 45 22 9d 08 a5 1f 68 5f fc 16 00 00 `.B.E"....h_.... 0040: 00 00 00 00 00 00 00 00 40 40 00 00 00 00 00 00 ........@@...... 0050: 09 0a 00 00 00 00 00 00 00 00 00 00 00 00 6d 0f ..............m. 0060: db 07 3e 08 00 00 00 00 00 00 00 00 00 00 00 00 ..>............. 0070: 00 00 00 00 00 00 00 00 1a 03 00 00 00 00 db 08 ................ 0080: e0 fd 83 80 32 00 ff 00 00 00 00 00 00 00 00 21 ....2..........! 0090: 07 a5 07 07 00 02 00 00 00 00 00 00 00 00 00 00 ................ 00a0: 00 00 00 00 00 00 00 00 08 00 00 00 00 00 db 06 ................ 00b0: 00 00 00 00 00 00 00 00 00 7f 00 ba 00 00 00 00 ................ 00c0: 01 01 02 04 07 0d 10 1a 24 2e 35 3d 49 54 5c 63 ........$.5=IT\c 00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00f0: 41 00 80 03 00 00 00 00 00 00 00 00 00 00 00 A.............. Working 2: => i2c md 0x34 0 0xff 0000: c1 10 00 41 00 00 00 00 00 00 00 00 00 00 00 00 ...A............ 0010: 01 00 17 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0020: 00 00 00 1c 00 00 00 16 cf 54 00 00 00 00 00 00 .........T...... 0030: 60 03 42 c9 45 22 9d 08 a5 1f 68 5f fc 16 00 00 `.B.E"....h_.... 0040: 00 00 00 00 00 00 00 00 40 40 00 00 00 00 00 00 ........@@...... 0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6d 0f ..............m. 0060: db 0c 3e 08 00 00 00 00 00 00 00 00 00 00 00 00 ..>............. 0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 db 08 ................ 0080: e0 fd 83 80 32 00 ff 00 00 00 00 00 00 00 00 21 ....2..........! 0090: 07 a5 07 07 00 02 00 00 00 00 00 00 00 00 00 00 ................ 00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dc 00 ................ 00b0: 00 00 00 00 00 00 00 00 00 7f 00 ba 00 00 00 00 ................ 00c0: 01 01 02 04 07 0d 10 1a 24 2e 35 3d 49 54 5c 63 ........$.5=IT\c 00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00f0: 41 00 80 03 00 00 00 00 00 00 00 00 00 00 00 A.............. Broken 1: => i2c md 0x34 0 0xff 0000: c1 10 00 41 00 00 00 00 00 00 00 00 00 00 00 00 ...A............ 0010: 01 00 17 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0020: 00 00 00 1c 00 00 00 16 cf 54 00 00 00 00 00 00 .........T...... 0030: 60 03 42 c9 45 22 9d 08 a5 1f 68 5f fc 16 00 00 `.B.E"....h_.... 0040: 00 00 00 00 00 00 00 00 40 40 00 00 00 00 00 00 ........@@...... 0050: 22 06 00 00 00 00 00 00 00 00 00 00 00 00 6e 04 ".............n. 0060: db 0a 3e 08 00 00 00 00 00 00 00 00 00 00 00 00 ..>............. 0070: 00 00 00 00 00 00 00 00 03 08 00 00 00 00 db 08 ................ 0080: e0 fd 83 80 32 00 ff 00 00 00 00 00 00 00 00 21 ....2..........! 0090: 07 a5 07 07 00 02 00 00 00 00 00 00 00 00 00 00 ................ 00a0: 00 00 00 00 00 00 00 00 20 08 00 00 00 00 db 09 ........ ....... 00b0: 00 00 00 00 00 00 00 00 00 7f 00 ba 00 00 00 00 ................ 00c0: 01 01 02 04 07 0d 10 1a 24 2e 35 3d 49 54 5c 63 ........$.5=IT\c 00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00f0: 41 00 80 03 00 00 00 00 00 00 00 00 00 00 00 A.............. Broken 2: => i2c md 0x34 0 0xff 0000: c1 10 00 41 00 00 00 00 00 00 00 00 00 00 00 00 ...A............ 0010: 01 00 17 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0020: 00 00 00 1c 00 00 00 16 cf 54 00 00 00 00 00 00 .........T...... 0030: 60 03 42 c9 45 22 9d 08 a5 1f 68 5f fc 16 00 00 `.B.E"....h_.... 0040: 00 00 00 00 00 00 00 00 40 40 00 00 00 00 00 00 ........@@...... 0050: 1d 08 00 00 00 00 00 00 00 00 00 00 00 00 6d 0b ..............m. 0060: db 07 3e 08 00 00 00 00 00 00 00 00 00 00 00 00 ..>............. 0070: 00 00 00 00 00 00 00 00 15 04 00 00 00 00 db 06 ................ 0080: e0 fd 83 80 32 00 ff 00 00 00 00 00 00 00 00 21 ....2..........! 0090: 07 a5 07 07 00 02 00 00 00 00 00 00 00 00 00 00 ................ 00a0: 00 00 00 00 00 00 00 00 1b 08 00 00 00 00 db 06 ................ 00b0: 00 00 00 00 00 00 00 00 00 7f 00 ba 00 00 00 00 ................ 00c0: 01 01 02 04 07 0d 10 1a 24 2e 35 3d 49 54 5c 63 ........$.5=IT\c 00d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00f0: 41 00 80 03 00 00 00 00 00 00 00 00 00 00 00 A.............. Some bits seem to differ, but apparently none of the regular enable bits (if I'm reading the data sheet correctly). > > 3) The phy settings, unfortunately I do not know of > a way to dump these, so lets just forget about these > and focus on the other 2. > > Regards, > > Hans > >> >> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot